[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

IP aliasing and PCMCIA network cards



What is the "official" way to set up extra IP addresses on a single
PCMICA card?

I can obviously add a line like:
	ifconfig eth0:1 10.2.3.4 netmask 255.0.0.0 up
to /etc/pcmcia/network.opts but:
(a) it would be invoked even in the case of a "network stop"
(b) doesn't remove the interface when the card is removed

Or, I could add "ifconfig ... up" and "ifconfig ... down" lines
to /etc/pcmcia/network, but:
(a) editing the "program" file is inelegant
(b) it will be executed for every PCMCIA network card if I have more
    than one


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: