Tracking down IP address problem

From: Tom Potwin <wxman2#gmail.com>
Date: Thu, 9 Jul 2009 10:52:02 -0400


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:

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   Received on 2009/07/09 16:52

This archive was generated by hypermail 2.2.0 : 2009/07/09 17:00 CEST