PDA

View Full Version : [ubuntu] Setting up Second IP address



giedrius_lt
September 9th, 2008, 07:56 AM
Hello all
i am trying setting up second ip address by falowing
sudo vi /etc/network/interfaces

auto eth0:1
iface eth0:1 inet static
address 192.168.1.60
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x

and then sudo /etc/init.d/networking restart
i get error
Ignoring unknown interface eth0:1=eth0:1.

whats wrong ?

awe
October 8th, 2009, 05:09 PM
I have exactly the same problem. Help greatly appreciated!

Iowan
October 8th, 2009, 08:54 PM
How is eth0 set up - Network Manager? Might need to set up eth0 in the same file.