Re: [opensuse] shutting down only one alias interface
"Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de> wrote:
Hi,
I have configured some aliases to eth0, so now I have eth0:0 eth0:1 eth0:2, ...
When I now want to shut down e.g. eth0:1 I issued the command: ifconfig eth0:1 down but then all alias interface disappeared. I also tried ifconfig eth0:1 <alias IP> down with the same effect, so also not what I wanted.
I look for a way to shutdown just one of the aliases, without touching the other.
After a bit of testing I observed the following: e.g. do a: ifconfig eth0 10.0.0.3 netmask 255.255.255.0 up ifconfig eth0:0 10.10.10.10 netmask 255.255.255.0 up ifconfig eth0:1 10.10.10.11 netmask 255.255.255.0 up ifconfig eth0:2 10.10.10.12 netmask 255.255.255.0 up ifconfig eth0:3 10.10.10.13 netmask 255.255.255.0 up ifconfig -a shows me all the configured interface. when I do a ifconfig eth0:1 down then only the eth0:1 disappears, but when I do a ifconfig eth0:0 down then all aliases disappear. This behaviour is not bound to the name eth0:0. It is the first configured alias for eth0. When you name the first alias eth0:6 and then create more aliases for that interface, then when removing eth0:6 all other aliases will disappear. I tested this on 10.1, 10.2. 10.3, SLES10SP1, and observed the same behavior on all of them. I'd say it is a bug, but because it is so consitent working for all tested suse version, I wonder whether this is a "feature"? If its a feature, what is the reason behind it, i've no idea? kind regards Sebastian -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Sebastian Reitenbach