Traceroute using Virtual NIC (bond0:0) over bonded interfaces (bond0) fails. Any ideas why?

Anu Matthew anu.matthew at bms.com
Mon Aug 15 18:52:57 UTC 2005


I've two NICs bonded together as bond0.  I can do traceroutes using 
bond0 as the interface. But when I configure a virtual IP over bond0 
(virtual i/f bond0:0), I cannot do traceroutes using bond0:0

Its RHEL AS 3.0 (update 5) btw..

Any ideas?


[root at plinux12 root]# ifconfig bond0
bond0     Link encap:Ethernet  HWaddr 00:0E:0C:6D:60:A9
          inet addr:A.B.C.30  Bcast:A.B.C.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:204934735 errors:0 dropped:0 overruns:0 frame:0
          TX packets:157330806 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3717085046 (3544.8 Mb)  TX bytes:1706013707 (1626.9 Mb)

Traceroutes using bond0 to any other hosts works:

[root at plinux12 root]# traceroute plinux11 -i bond0
traceroute to plinux11.net.bms.com (A.B.C.29), 30 hops max, 38 byte packets
 1  plinux11 (A.B.C.29)  0.305 ms  0.190 ms  0.238 ms

Now, here the virtual nic bond0:0.

[root at plinux12 root]# ifconfig bond0:0
bond0:0   Link encap:Ethernet  HWaddr 00:0E:0C:6D:60:A9
          inet addr:A.B.C.9  Bcast:A.B.C.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1

[root at plinux12 root]# traceroute plinux11 -i bond0:0
setsockopt: No such device
unable to bind to device: 
bond0:0                                           <----------- It fails. 
bond0:0 -- unable to bind..????

I am able to ping bond0:0 from other hosts.

Is there a limitation that, bonded nic is already a virtual interface 
(well kind of), and one cannot create a virtual nic over a bonded interface?

Many thanks in advance.

--AM







More information about the redhat-list mailing list