On Wed, Jan 17, 2001 at 06:40:22PM -0500, Jeffrey C. Albro wrote: > > I want eth0 to listen on two ip addresses. The first is normally set up > with /etc/networking/interfaces > > however, neither, > > man interfaces > or > man ifup > > have any information on this. > > Also, even though I got it working with > > ifconfig eth0:0 xxx.xxx.xxx.xxx > > It would be ugly (imo) to add to the start up scripts.
just add something like this to /etc/network/interfaces: iface eth0:0 inet static address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.10 then run either /etc/init.d/networking restart or ifup eth0:0 -- Ethan Benson http://www.alaska.net/~erbenson/
pgp3vjAhZeYGu.pgp
Description: PGP signature