[ofa-general] RE: IPoIB bonding document ?
Tang, Changqing
changquing.tang at hp.com
Thu Apr 19 08:22:58 PDT 2007
OK, that clear my question. Thank you very much. --CQ
> -----Original Message-----
> From: Moni Shoua [mailto:monis at voltaire.com]
> Sent: Thursday, April 19, 2007 10:15 AM
> To: Tang, Changqing
> Cc: Or Gerlitz; OpenFabrics General
> Subject: Re: IPoIB bonding document ?
>
> >
> > But before I run ib-bond command, there should be two IP address on
> > the two IPoIB interface, after I run ib-bond and specify a bond-IP
> > address, the two IPoIB adresses are disappeared ?
>
> Maybe this output will clear things
>
> ib0 and ib1 exist but are not UP and RUNNING
>
> dodly2:/tmp # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:04:23:B3:26:8C
> inet addr:172.25.3.232 Bcast:172.25.255.255
> Mask:255.255.0.0
> inet6 addr: fe80::204:23ff:feb3:268c/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:4300276 errors:0 dropped:0 overruns:0 frame:0
> TX packets:130132 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:502482422 (479.2 Mb) TX bytes:19146376 (18.2 Mb)
> Base address:0xdc00 Memory:deda0000-dedc0000
>
> 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:11933 errors:0 dropped:0 overruns:0 frame:0
> TX packets:11933 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1251975 (1.1 Mb) TX bytes:1251975 (1.1 Mb)
>
> dodly2:/tmp # ifconfig -a
> eth0 Link encap:Ethernet HWaddr 00:04:23:B3:26:8C
> inet addr:172.25.3.232 Bcast:172.25.255.255
> Mask:255.255.0.0
> inet6 addr: fe80::204:23ff:feb3:268c/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:4300312 errors:0 dropped:0 overruns:0 frame:0
> TX packets:130145 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:502485726 (479.2 Mb) TX bytes:19148966 (18.2 Mb)
> Base address:0xdc00 Memory:deda0000-dedc0000
>
> eth2 Link encap:Ethernet HWaddr 00:04:23:B3:26:8D
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0xdc80 Memory:dede0000-dee00000
>
> ib0 Link encap:UNSPEC HWaddr
> 80-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:13 errors:0 dropped:0 overruns:0 frame:0
> TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:128
> RX bytes:920 (920.0 b) TX bytes:1900 (1.8 Kb)
>
> ib1 Link encap:UNSPEC HWaddr
> 80-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:16 errors:0 dropped:0 overruns:0 frame:0
> TX packets:7 errors:0 dropped:1 overruns:0 carrier:0
> collisions:0 txqueuelen:128
> RX bytes:1216 (1.1 Kb) TX bytes:516 (516.0 b)
>
> 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:11933 errors:0 dropped:0 overruns:0 frame:0
> TX packets:11933 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1251975 (1.1 Mb) TX bytes:1251975 (1.1 Mb)
>
> sit0 Link encap:IPv6-in-IPv4
> NOARP MTU:1480 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> dodly2:/tmp # ib-bond --bond-ip 10.10.10.1 --slaves ib0,ib1
>
> Now ib0 and ib1 are UP and RUNNING but without IP. They are
> used by bond0 which has an IP
>
> dodly2:/tmp # ifconfig
> bond0 Link encap:UNSPEC HWaddr
> 80-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00
> inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
> inet6 addr: fe80::202:c901:a31:b3f2/64 Scope:Link
> UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
> RX packets:31 errors:0 dropped:0 overruns:0 frame:0
> TX packets:37 errors:0 dropped:1 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:2312 (2.2 Kb) TX bytes:2796 (2.7 Kb)
>
> eth0 Link encap:Ethernet HWaddr 00:04:23:B3:26:8C
> inet addr:172.25.3.232 Bcast:172.25.255.255
> Mask:255.255.0.0
> inet6 addr: fe80::204:23ff:feb3:268c/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:4300498 errors:0 dropped:0 overruns:0 frame:0
> TX packets:130173 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:502501178 (479.2 Mb) TX bytes:19155374 (18.2 Mb)
> Base address:0xdc00 Memory:deda0000-dedc0000
>
> ib0 Link encap:UNSPEC HWaddr
> 80-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00
> inet6 addr: fe80::202:c901:a31:b3f1/64 Scope:Link
> UP BROADCAST RUNNING NOARP SLAVE MULTICAST
> MTU:1500 Metric:1
> RX packets:14 errors:0 dropped:0 overruns:0 frame:0
> TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:128
> RX bytes:1008 (1008.0 b) TX bytes:2056 (2.0 Kb)
>
> ib1 Link encap:UNSPEC HWaddr
> 80-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00
> inet6 addr: fe80::202:c901:a31:b3f2/64 Scope:Link
> UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
> RX packets:17 errors:0 dropped:0 overruns:0 frame:0
> TX packets:10 errors:0 dropped:1 overruns:0 carrier:0
> collisions:0 txqueuelen:128
> RX bytes:1304 (1.2 Kb) TX bytes:740 (740.0 b)
>
> 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:11933 errors:0 dropped:0 overruns:0 frame:0
> TX packets:11933 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1251975 (1.1 Mb) TX bytes:1251975 (1.1 Mb)
>
>
>
>
More information about the general
mailing list