Quote:
Originally posted by jaraju
I replaced the Realtek NIC with another VT6105 NIC hoping that there wont be any incompatibility issue.
But i still cant get the 2 NICs to be slaves. I'll try your suggestion simonsez.
Thanks.
|
well when you look at ifconfig -a you should see all your interfaces. so for example mine shows bond0, eth0, eth1 and sit0. when you get bonding working eth0 and eth1 will have no ip address defined and will show a status of "up broadcast running salve". for example here's my eth0 and eth1:
eth0 Link encap:Ethernet HWaddr 00:04:23:AF:3E:5A
inet6 addr: fe80::204:23ff:feaf:3e5a/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:3428 errors:0 dropped:0 overruns:0 frame:0
TX packets:43311 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:557234 (544.1 Kb) TX bytes:5096051 (4.8 Mb)
Base address:0xcc00 Memory:dff80000-dffa0000
eth1 Link encap:Ethernet HWaddr 00:04:23:AF:3E:5A
inet6 addr: fe80::204:23ff:feaf:3e5a/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:77351 errors:0 dropped:0 overruns:0 frame:0
TX packets:43311 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13080945 (12.4 Mb) TX bytes:5057316 (4.8 Mb)
Base address:0xd000 Memory:dffa0000-dffc0000
and my bond0:
bond0 Link encap:Ethernet HWaddr 00:04:23:AF:3E:5A
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:xxx.xxx.xxx.xxx
inet6 addr: fe80::204:23ff:feaf:3e5a/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:80779 errors:0 dropped:0 overruns:0 frame:0
TX packets:86622 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13638179 (13.0 Mb) TX bytes:10153367 (9.6 Mb)
notice the "up broadcast running master"?
i just rebooted so the RX/TX isin't too impressive. i looked at your earlier post and it's pretty wierd that your eth0 and eth1 don't show up. make sure your cards work before you attempt getting bonding configured like i said you should be able to see all your cards before when you do an 'ifconfig -a'. if you can't something else may be wrong, like the right module may not be loaded.
the trick that seemed to fix my problem getting the cards to auto enslave when bond0 came up was this in modules.conf:
#- Network Card Setup ----------------------------------------------------------
alias bond0 bonding
probeall bond0 eth0 eth1 bonding
#-------------------------------------------------------------------------------
additionally i also have this in modprobe.preload:
bonding
my /etc/sysconfig/network has:
HOSTNAME=myhostname
NETWORKING=yes
GATEWAY=xxx.xxx.xxx.xxx
GATEWAYDEV=bond0 <-- don't forget this
my /etc/sysconfig/network-scripts/ifcfg-bond0:
DEVICE=bond0
IPADDR=xxx.xxx.xxx.xxx
NETMASK=xxx.xxx.xxx.xxx
NETWORK=xxx.xxx.xxx.xxx
BROADCAST=xxx.xxx.xxx.xxx
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
oe of my etc/sysconfig/network-scripts/ifcfg-eth0 scripts:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
thats about it. works beautifully on two systems for both of which are Mandrake 10.1 community. one has an Intel PRO/1000 Dual adapter (sweet card), and the other system has an onboard elcheapo SIS900 adapter and a 3c59x. previously i also bonded a DFE530TX four port 10/100 ethernet card on Mandrake 9.2 with no problems.
let us know how you make out.