Red Hat Bugzilla – Bug 97333
Downing an interface alias downs another interface with same subnet, network and broadcast address
Last modified: 2015-03-04 20:12:29 EST
Description of problem: Downing an interface alias with different IP but same
network, broadcast and subnet addresses, downs another interface alias with
with the same network, broadcast and subnet addresses
Version-Release number of selected component (if applicable): net-tools-1.60-12
Steps to Reproduce:
1. Create two interface aliases
2. Let the network, broadcast and subnet addresses be the same for both the
interfaces (but different IP addresses)
3. The IP subnet begins at 220.127.116.11. Issue "ifconfig eth1:2 down" and it will
also down eth1:1
Actual results: "ifconfig eth1:2 down" downs interface eth1:1 as well.
Expected results: Downing eth1:2 should not down eth1:1
I think thats to be expected: The alias interfaces actually refere to the same
physical interface, so if you put that down all aliased interfaces go down, too.
Also i think this is not a problem of the tool but of the kernel (if at all).
Read ya, Phil
Additionally, i just asked on of our kernel developers: The 'old' style aliasing
(which you are using) is actually really handled as separate interfaces, so
ifconfig down of any of those interfaces only shuts down that interface. I just
tested it on our current Beta, but the behaviour was like that since 2.4.0.
So i can't reproduce your problem.
It's different if you use the new aliasing method via the ip tool. There you can
assigne multiple ip addresses to a single interface, and of course if you shut
down that interface all assigned ip addresses will be unreachable.
Read ya, Phil