I want to set up two IP addresses on my system for access through LAN. This is my config on my other system.
Desktop Installation
My desktop installation runs with multiple IPs added through Network Manager both through LAN and wifi.
Server Installation
On my server install I've edited /etc/network/interfaces
to the following:
auto eth0
auto eth0:1
# IP-1
iface eth0 inet static
address 172.16.35.35
network 172.16.34.1
netmask 255.255.254.0
broadcast 172.16.35.255
dns-nameservers 172.16.100.221 8.8.8.8
# IP-2
iface eth0:1 inet static
address 172.16.34.34
network 172.16.34.1
netmask 255.255.254.0
gateway 172.16.34.1
broadcast 172.16.35.255
After restarting through /etc/init.d/networking restart
I receive
Failed to bring up eth0:1
What am I doing wrong?
network 172.16.34.1
benetwork 172.16.34.0
? – carestad Oct 24 '12 at 23:47