eth0:1 did not come up automatically
Asif Iqbal
vadud3 at gmail.com
Wed Apr 18 20:17:18 UTC 2012
I have the following config for interfaces
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto eth0 eth0:1 eth0:2 eth0:3 eth0:4
auto eth0 eth0:1 eth0:2
iface eth0 inet static
address 192.168.0.84
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.3.65 192.168.2.65
dns-search example.net
iface eth0:1 inet static
address 192.168.0.80
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
iface eth0:2 inet static
address 192.168.0.249
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
However eth0:1 did not come up by itself. I had to up it manually, but
it also output some odd error messages
# ifup eth0:1
Interface 'eth0:1' not existent.
run-parts: /etc/network/if-up.d/ifmetric exited with return code 1
ssh stop/waiting
ssh start/running, process 3182
Obviously it is not true about eth0:1. Now I have the eth0:1 interface up.
I am running Ubuntu 10.04.4 LTS 64bit
what gives?
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the ubuntu-server
mailing list