severity 379138 normal
thanks

On Fri, Jul 21, 2006 at 06:40:51PM +0200, Tore Anderson wrote:
> Package: dhcp3-relay
> Version: 3.0.4-6
> Severity: important
> 
>   I believe the following terminal log tells the full story:
> 
> [EMAIL PROTECTED] :) sudo dhcrelay3 -i eth0 -d 10.0.0.1
> Internet Systems Consortium DHCP Relay Agent V3.0.4
> Copyright 2004-2006 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
> Listening on LPF/eth0/00:50:8d:55:6a:fe
> Sending on   LPF/eth0/00:50:8d:55:6a:fe
> Sending on   Socket/fallback
> ^C
> [EMAIL PROTECTED] :( sudo ip a a 192.168.1.1/24 dev eth0 label eth0foo
> [EMAIL PROTECTED] :) sudo dhcrelay3 -i eth0 -d 10.0.0.1               
> Internet Systems Consortium DHCP Relay Agent V3.0.4
> Copyright 2004-2006 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
> Can't get interface flags for eth0foo: No such device
> 
>   For some reason it assumes «eth0foo» is a device of its own, which is
>  not the case (doesn't show up as a separate interface in /proc/net/dev
>  nor in the output of «ip a s»).
> 
>   It fails like this even when I ask it to listen on another interface
>  which doesn't have labeled addresses, as long as a labeled address
>  exist on a (unrelated) interface.
> 

I think this may fall into the

Patient: "Doctor, it hurts when I do this"
Doctor: "Well don't do that then"

category.

For what it's worth, if I add an IP address to eth0 with a label of eth0foo,
ifconfig also has a hard time dealing with the situation. Try it and see.

I suspect iproute is letting us doing things with the networking that older
tools and methods of querying can't deal with.

I'll try to send this upstream, but I don't know how much success I'll have.

regards

Andrew

Reply via email to