ifconfig bug removes aliases
Subsystems (2)
Hello, here is the sequence:
ifconfig eth0:1 10.10.10.1 netmask 255.255.0.0
ifconfig eth0:2 10.10.10.2 netmask 255.255.0.0
ifconfig eth0:1 downAt this point eth0:2 has disappeared also. It appears that the aliases must be on the same subnet for this to occur, and the creation order is also important.
Aron
Hello,
Quoted 9 lines · Aron Griffis
Hello, here is the sequence:
ifconfig eth0:1 10.10.10.1 netmask 255.255.0.0 ifconfig eth0:2 10.10.10.2 netmask 255.255.0.0 ifconfig eth0:1 downAt this point eth0:2 has disappeared also. It appears that the aliases must be on the same subnet for this to occur, and the creation order is also important.
From inet_del_ifa:
/* 1. Deleting primary ifaddr forces deletion all secondaries */
Regards
--
Julian Anastasov <[email protected]>
Julian Anastasov wrote: [Sat Mar 13 2004, 05:07:05AM EST]
Quoted 8 lines · Aron Griffis
Quoted 7 lines
Hello, here is the sequence:
ifconfig eth0:1 10.10.10.1 netmask 255.255.0.0 ifconfig eth0:2 10.10.10.2 netmask 255.255.0.0 ifconfig eth0:1 down
Quoted 7 lines
Quoted 3 lines
At this point eth0:2 has disappeared also. It appears that the aliases must be on the same subnet for this to occur, and the creation order is also important.
From
inet_del_ifa:/* 1. Deleting primary ifaddr forces deletion all secondaries */
Thanks, I am aware of that behavior, but that is not the bug I am describing. In this case it is the deletion of one alias that causes another to be removed as well.
Aron