RE: Arp undo issue in all 2.4 and 2.6 kernel releases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: Thomas Graf [mailto:tgraf@xxxxxxx] 
> Sent: Friday, December 01, 2006 2:15 PM
> To: Tim Wright
> Cc: David Miller; shemminger@xxxxxxxx; linux-net@xxxxxxxxxxxxxxx
> Subject: Re: Arp undo issue in all 2.4 and 2.6 kernel releases
> 
> * Tim Wright <timw@xxxxxxxxxxxxx> 2006-12-01 11:37
> > [root@nfstest root]# ifconfig eth0:6 10.12.0.22 netmask 
> 255.255.0.0 up
> > SIOCSIFFLAGS: Cannot assign requested address
> 
> You could please also provide a strace -e ioctl so we cann 
> see what ifconfig is trying to do exactly. Address changes 
> are only propagated to the local route table if successful.
> 
> Anyways, in general this interface is deprecated, you should 
> use 'ip addr add/remove ...] instead of interface aliases.
> 

Hi Thomas,
Here is the strace output.

[root@nfstest root]# strace -e ioctl ifconfig eth0:5 10.12.0.22 netmask
255.255.0.0 up
ioctl(4, 0x8916, 0xbfb15440)            = 0
ioctl(4, 0x8913, 0xbfb15370)            = 0
ioctl(4, 0x8914, 0xbfb15370)            = 0
ioctl(4, 0x891c, 0xbfb15440)            = 0
ioctl(4, 0x8913, 0xbfb15370)            = 0
ioctl(4, 0x8914, 0xbfb15370)            = 0
[root@nfstest root]# strace -e ioctl ifconfig eth0:6 10.12.0.22 netmask
255.255.0.0 up
ioctl(4, 0x8916, 0xbfc835b0)            = 0
ioctl(4, 0x8913, 0xbfc834e0)            = 0
ioctl(4, 0x8914, 0xbfc834e0)            = 0
ioctl(4, 0x891c, 0xbfc835b0)            = 0
ioctl(4, 0x8913, 0xbfc834e0)            = 0
ioctl(4, 0x8914, 0xbfc834e0)            = -1 EADDRNOTAVAIL (Cannot
assign requested address)
SIOCSIFFLAGS: Cannot assign requested address

I am grabbing the ifconfig source to try to see exactly what they are
doing.

Thanks,

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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux