21 Ekim 2010 Perşembe

Bonding with more devices + vlan

Onemli 2 nokta.





1) modprobe.conf daki eth larin sirasi onemli yani yukardan-asagiya alias eth0 bnx2 - alias eth1 bnx2 gibi gitmeli Sacma !



2) Switch portunu resetle konfigurasyondan sonra. Duzgun conf yapmis bile olsan sapitabiliiyo .



Sw portu resetleyince switchden duzeliyor.



(modprobe bonding mode=balance-alb miimon=100)




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



## mode=0 (round robin) mode=1 (active-backup) ##



# DO NOT USE # options bond0 miimon=100 mode=1 primary=eth0 max_bonds=2



alias bond0 bonding



alias bond1 bonding



options bonding max_bonds=2



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++





[root@xxxx network-scripts]# cat ifcfg-*



# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet



DEVICE=bond0



BOOTPROTO=static



ONBOOT=yes



USERCTL=no



BONDING_OPTS="miimon=100 mode=1 primary=eth0"



# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet



DEVICE=bond0.10



BOOTPROTO=static



IPADDR=10.10.10.101



NETMASK=255.255.255.0



ONBOOT=yes



VLAN=yes



# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet



DEVICE=bond1



BOOTPROTO=static



ONBOOT=yes



USERCTL=no



BONDING_OPTS="miimon=100 mode=1 primary=eth2"



# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet



DEVICE=bond1.551



BOOTPROTO=static



IPADDR=192.168.251.101



NETMASK=255.255.255.0



ONBOOT=yes



VLAN=yes



# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet



DEVICE=eth0



BOOTPROTO=none



HWADDR=D8:D3:85:A3:83:F4



ONBOOT=yes



MASTER=bond0



SLAVE=yes



USERCTL=no



# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet



DEVICE=eth1



MASTER=bond0



SLAVE=yes



ONBOOT=yes



USERCTL=no



BOOTPROTO=none



# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet



DEVICE=eth2



HWADDR=D8:D3:85:A3:83:F8



ONBOOT=yes



MASTER=bond1



SLAVE=yes



BOOTPROTO=none



# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet



DEVICE=eth3



HWADDR=D8:D3:85:A3:83:FA



ONBOOT=yes



HOTPLUG=no



MASTER=bond1



SLAVE=yes



BOOTPROTO=none



# Intel Corporation 82571EB Gigabit Ethernet Controller (Copper)



DEVICE=eth4



BOOTPROTO=static



#HWADDR=00:23:7D:FB:57:8D



ONBOOT=yes



HOTPLUG=no



IPADDR=10.18.11.2



NETMASK=255.255.255.252



# Intel Corporation 82571EB Gigabit Ethernet Controller (Copper)



DEVICE=eth5



#HWADDR=00:23:7D:FB:57:8C



BOOTPROTO=static



ONBOOT=yes



HOTPLUG=no



IPADDR=10.18.11.6



NETMASK=255.255.255.252



DEVICE=lo



IPADDR=127.0.0.1



NETMASK=255.0.0.0



NETWORK=127.0.0.0



# If you're having problems with gated making 127.0.0.0/8 a martian,



# you can change this to something else (255.255.255.255, for example)



BROADCAST=127.255.255.255



ONBOOT=yes



NAME=loopback





USEFUL LINKS



------------------------



Hiç yorum yok:

Yorum Gönder