You can run
ip addr sh eth0
to see if it is on that interface on your system but not labeled so that
ifconfig would show it. But if you try to ping it from another system
on your network, do you get any response? I don't see anything off hand
wrong in your interfaces config below.
Joe
Tom Potwin wrote:
Hi all
I've been trying to track down a problem I'm having assigning IP address. I
have one DOMU with a Ubuntu web server running on it. I have two NIC's eth0
and eth1. The assigned IP for the DOMU on eth0 is 192.168.31.202, and I need
to add more IP's to it. I add them to my /etc/network/interfaces like this:
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.31.202
gateway 192.168.31.1
netmask 255.255.255.0
network 192.168.31.0
broadcast 192.168.31.255
dns-nameservers 71.243.0.12 71.250.0.12
dns-search tlthost.net
auto eth0:0
iface eth0:0 inet static
address 192.168.31.203
netmask 255.255.255.0
network 192.168.31.0
auto eth0:1
iface eth0:1 inet static
address 192.168.31.204
netmask 255.255.255.0
network 192.168.31.0
# The secondary network interface connected by a crossover cable on the
other server
auto eth1
iface eth1 inet static
address 192.168.0.202
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
When I do a network restart I get:
* Reconfiguring network interfaces...
SIOCSIFADDR: File exists
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
Failed to bring up eth0:1.
It acts like the address are assigned already, but the only one that shows
when I do a ifconfig is the eth0:0 .203 address. Is there another way to
find if these addresses are being assigned somewhere else?
Thanks, Tom
--
This message has been scanned for viruses by Colocube's AV Scanner