Hello!

Found something strange today.

Suppose I have eth2 with VLAN 2 (eth2.2) associated with it.  I
add a routing table that is associated with eth2.2 (table 76 in my case).


Now, I run:
ifconfig eth2 down
ifconfig eth2 up

All of the routes in routing table 76 are now gone!  I can
understand how it might be useful to remove the routes from
the eth2 table (as is also done), but it seems pretty extreme
to muck with the VLAN device's tables as well.


[EMAIL PROTECTED] local]# ip route show table 76
27.1.1.0/24 via 27.1.1.2 dev eth2.2
default via 27.1.1.1 dev eth2.2
[EMAIL PROTECTED] local]# ifconfig eth2.2
eth2.2    Link encap:Ethernet  HWaddr 00:03:2D:08:33:47
          inet addr:27.1.1.2  Bcast:27.1.1.255  Mask:255.255.255.0
          UP 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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[EMAIL PROTECTED] local]# ifconfig eth2 down;ifconfig eth2 up
[EMAIL PROTECTED] local]# ip route show table 76



--
Ben Greear <[EMAIL PROTECTED]>
Candela Technologies Inc  http://www.candelatech.com

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to