[plug] Multiple IP addresses on Debian?
Nick Bannon
nick at ucc.gu.uwa.edu.au
Tue Oct 3 13:25:57 WST 2000
On Mon, Oct 02, 2000 at 03:28:11PM +0800, Jason wrote:
> I've successfully set up my Debian box. I just have one question:
> How do I set it up to have more than one IP address?
As Christian says, check the HOWTO for the background. In short, though,
compile a kernel which supports aliases, and add an entry to
/etc/network/interfaces, eg ;
# first one
iface eth0 inet static
address 130.95.13.17
network 130.95.13.0
netmask 255.255.255.192
broadcast 130.95.13.63
gateway 130.95.13.3
# WAIX alias
iface eth0:0 inet static
address 172.26.42.17
network 172.26.42.0
netmask 255.255.255.192
broadcast 172.26.42.63
Then, ifup -a/ifdown -a/ifup eth0:0/ifdown eth0:0 .
Nick.
--
Nick Bannon | "I made this letter longer than usual because
nick at it.net.au | I lack the time to make it shorter." - Pascal
More information about the plug
mailing list