I want to set up two IP addresses on my system for access through LAN. This is my config on my other system.
My desktop installation runs with multiple IPs added through Network Manager both through LAN and wifi.
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 188.8.131.52 # 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?