Ifconfig alias removal with netmask

2013-09-04 Thread Wiesław Kielas
Hi misc@, Lets say I have a 192.168.0.1/24 alias on an interface. When I run ifconfig with the delete or -alias parameters and specify 192.168.0.1/32 as the address, the 192.168.0.1/24 alias gets removed. Is this desired behavior? Shouldn't ifconfig report an error because the mask doesn't

Re: Ifconfig alias removal with netmask

2013-09-04 Thread Janne Johansson
I only add /32 aliases. I believe in only having one ip with the wide mask, and just having the rest being single-ip aliases for the same reason as not having multiple ethernet interfaces with the wide mask on the same ethernet segment, since it screws up my knowledge on which IF will be used for