[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: enable bonding



Sorry, by Googling I found some options.
Is it correct below?

No, dmesg said this:

tg3.c:v2.9 (March 8, 2004)
eth0: Tigon3 [partno(BCM95704A6) rev 2002 PHY(5704)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:0f:20:7a:ca:1f eth1: Tigon3 [partno(BCM95704A6) rev 2002 PHY(5704)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:0f:20:7a:ca:1e
Ethernet Channel Bonding Driver: v2.6.0 (January 14, 2004)
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link
 failures! see bonding.txt for details.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
bonding: Warning: failed to get speed/duplex from eth0, speed forced to 100Mbps, duplex forced to Full.
bonding: bond0: enslaving eth0 as an active interface with an up link.
bonding: Warning: failed to get speed/duplex from eth1, speed forced to 100Mbps, duplex forced to Full.
bonding: bond0: enslaving eth1 as an active interface with an up link.
tg3: eth1: Link is up at 100 Mbps, half duplex.
tg3: eth1: Flow control is off for TX and off for RX.
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
device bond0 entered promiscuous mode

# apt-get install ifenslave
In /etc/modules i put "bonding miimon=250 mode=1".
In /etc/network/interfaces I put this:
auto bond0
iface bond0 inet static
    address 1.2.3.4
    netmask 1.2.3.4
    gateway 1.2.3.4
    up ifenslave bond0 eth0
    up ifenslave bond0 eth1
    post-down ifconfig eth1 down
    post-down ifconfig eth0 down



Reply to: