Hi,
What is the reason of removeing alias interface after shutting it down. In
2.0.x (tested with 2.0.38) kernel it was possible to set it up again
root# ifconfig eth0:1 1.2.3.4 -broadcast
root# ifconfig eth0:1 down
root# ifconfig eth0:1 up
In 2.2.x (tested with 2.2.12, 2.2.14, 2.2.15) it doesn't work
root# ifconfig eth0:1 1.2.3.4 -broadcast
root# ifconfig eth0:1 down
root# ifconfig eth0:1 up
SIOCSIFFLAGS: Cannot assign requested address
But that's not a problem.. The real problem is here
root# ifconfig eth0:1 1.2.3.4 -broadcast
root# ifconfig eth0:2 1.2.3.5 -broadcast
root# ifconfig eth0:3 1.2.3.6 -broadcast
root# ifconfig eth0:1 down
root# ifconfig
root# ifconfig eth0:2 down
SIOCSIFFLAGS: Cannot assign requested address
root# ifconfig eth0:3 down
SIOCSIFFLAGS: Cannot assign requested address
And you see that eth0:2 and eth0:3 as well are disappeared after
shutting down eth0:1. Trying set eth0:3 or eth0:2 to down state if
eth0:1 is up, works fine. After shut down the alias created at first, all
other aliases disappear also. This is bug..
--- Cougar- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:14 EST