lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 21 Nov 2007 12:54:01 -0800
From:	Ben Greear <greearb@...delatech.com>
To:	Patrick McHardy <kaber@...sh.net>
CC:	Stephen Hemminger <shemminger@...ux-foundation.org>,
	NetDev <netdev@...r.kernel.org>
Subject: Re: Routing tables associated with VLANs dissappear when parent ethX
 down/up

Patrick McHardy wrote:
> Stephen Hemminger wrote:
>> On Wed, 21 Nov 2007 11:51:43 -0800
>> Ben Greear <greearb@...delatech.com> wrote:
>>
>>  
>>> For consideration, this patch seems to work for me.  I'm not sure
>>> why we ever listed to these events.  I've only tested on a NIC that
>>> doesn't support hw-accel at the moment..will test with e1000 later.
>>>
>>> Thanks,
>>> Ben
>>>
>>>     
>>
>> But then if you are doing bonding or bridging of vlan's and you bring 
>> down the root network device, the upper layer is not
>> notified (for failover).
>>   
> 
> operstate should be enough for this I guess. Ben, what does iproute show
> for the vlan device when the lower device is down?

It looks like it knows, assuming M-DOWN is useful information.
Eth2 is un-plugged, by the way.

[root@...forge-33-46 ~]# ifconfig eth2 up
[root@...forge-33-46 ~]# ip link show eth2.2
125: eth2.2@...2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
     link/ether 00:03:2d:08:33:47 brd ff:ff:ff:ff:ff:ff
[root@...forge-33-46 ~]# ifconfig eth2 down
[root@...forge-33-46 ~]# ip link show eth2.2
125: eth2.2@...2: <NO-CARRIER,BROADCAST,MULTICAST,UP,M-DOWN> mtu 1500 qdisc noqueue
     link/ether 00:03:2d:08:33:47 brd ff:ff:ff:ff:ff:ff
[root@...forge-33-46 ~]#

Thanks,
Ben

-- 
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc  http://www.candelatech.com

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

Powered by blists - more mailing lists