Help with content of /etc/network/interfaces file

Jay Ridgley jridgley2 at austin.rr.com
Sun Feb 21 21:53:11 UTC 2010


Folks,

I am attempting to bring up a wireless subnet on a Belkin Wireless Access Point. 
  I have been unable to correctly code the content of the 
/etc/network/interfaces file (copy below).What am I missing???

I have the /etc/dhcp3/dhcpd.conf file specified correctly(at least it seems to 
be correct, because the server is running). Copy also below.

When I enter an ifconfig it shows the three nics, however, eth2 does not have an 
IP address. If I remove the comment flag(#) from the iface line and the auto 
line my network fails to come up. Any examples I have found seem to avoid this 
type of arrangement (two nics doing DHCP one a client (for the internet) and one 
a server (for the Access Point).

interfaces:

auto lo
iface lo inet loopback

iface eth0 inet dhcp

auto eth0

iface eth1 inet static
address 192.168.139.2
netmask 255.255.255.240
gateway 192.168.139.2
broadcast 192.168.139.15

auto eth1


#iface eth2 inet dhcp

# ??? what needs to be here ???

#auto eth2

/etc/network/interfaces (END)

**********************************************

dhcpd.conf:

# DHCP configuration for CDJ Systems Wireless subnet of a Belkin Access Point

ddns-update-style interim;
ignore client-updates;

# DHCP for eth0 - outside world connection via cable modem
#  no entries here

# Static subnet for eth1

subnet 192.168.139.0 netmask 255.255.255.240 {
           option routers 192.168.139.2;
           option subnet-mask 255.255.255.240;
           option domain-name-servers 24.93.41.128, 24.93.41.127;
           option ip-forwarding off;
}

#DHCP subnet a wireless Access Point for eth2

subnet 192.168.139.32 netmask 255.255.255.240 {
     range 192.168.139.35 192.168.139.39;
         option routers 192.168.139.2;
         option subnet-mask 255.255.255.240;
         option broadcast-address 192.168.139.47;
         option domain-name-servers 24.93.41.127, 24.93.41.128;
         option ip-forwarding off;
         default-lease-time 21600;
         max-lease-time 43200;
}
# Include a static ip address for the Access Point (per vendor)

host bear_den {
         hardware ethernet 00:11:50:45:7A:42;
         fixed-address 192.168.139.33;
}

/etc/dhcp3/dhcpd.conf (END)

************************************************

Where else should I be looking for information about what is going on?

Any help would be most appreciated.

Thanks,
Jay
-- 


Jay Ridgley
jridgley2 at austin.rr.com
Registered Linux User ID - 9115
Registered Ubuntu User ID - 23320




More information about the ubuntu-users mailing list