Wednesday, March 9, 2011

ip alias

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.2.2
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.0.255
gateway 192.168.2.1 ##----- ip modem

auto eth0:2
iface eth0:2 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255

No comments: