any tool to help configure bonding?

ESGLinux esggrupos at gmail.com
Thu Feb 26 08:52:27 UTC 2009


Thanks to all,

Finally with your help I have my test system with bonding configured.

Here is my final configuration for anyone who need it:


#more ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
USERCTL=no
BOOTPROTO=none
HWADDR=00:0C:29:9D:AE:60
TYPE=Ethernet
IPV6INIT=no
MASTER=bond0
SLAVE=yes
USERCTL=no

# more ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
USERCTL=no
BOOTPROTO=none
HWADDR=00:0C:29:9D:AE:6A
TYPE=Ethernet
IPV6INIT=no
MASTER=bond0
SLAVE=yes
USERCTL=no

#more ifcfg-bond0
DEVICE=bond0
IPADDR=192.168.1.193
NETMASK=255.255.255.0
NETWORK=192.168.1.0
NETWORKING_IPV6=no
GATEWAY=192.168.1.1
BROADCAST=192.168.1.255
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet

#more route-bond0
GATEWAY0=192.168.1.1
NETMASK0=255.255.255.0
ADDRESS0=192.168.1.0


#more /etc/modprobe.conf
alias eth0 pcnet32
alias scsi_hostadapter ata_piix
alias eth1 pcnet32
alias bond0 bonding
options bond0 mode=4 miimon=100


An finally the ifconfig:


 ifconfig
bond0     Link encap:Ethernet  HWaddr 00:0C:29:9D:AE:60
          inet addr:192.168.1.193  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe9d:ae60/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:4475 errors:0 dropped:0 overruns:0 frame:0
          TX packets:439 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:320224 (312.7 KiB)  TX bytes:56916 (55.5 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0C:29:9D:AE:60
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:2376 errors:0 dropped:0 overruns:0 frame:0
          TX packets:432 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:168785 (164.8 KiB)  TX bytes:56334 (55.0 KiB)
          Interrupt:169 Base address:0x1080

eth1      Link encap:Ethernet  HWaddr 00:0C:29:9D:AE:60
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:2103 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:151679 (148.1 KiB)  TX bytes:1984 (1.9 KiB)
          Interrupt:177 Base address:0x1400

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1440 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1440 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5616724 (5.3 MiB)  TX bytes:5616724 (5.3 MiB)

With this configuration ALL works fine. Now Im going to test different
configurations,

Thanks again

Greetings

ESG



More information about the redhat-list mailing list