error: DHCPdiscover on eth1 no dhcp offers
sundar mahadevan
sundarmahadevan82 at gmail.com
Thu Apr 9 15:28:42 UTC 2009
I configured my /etc/dhcp3/dhcpd.conf as follows:
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1;
option domain-name "ezhome.com";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
/etc/init.d/dhcp3 start still fails with the same error: no subnet
declaration for wlan0 ....no subnet declaration for eth1....not
configured to listen on any interfaces
On Thu, Apr 9, 2009 at 10:55 AM, sundar mahadevan
<sundarmahadevan82 at gmail.com> wrote:
> Hi,
>
> My setup: 2 ubuntu systems
> wlan0 (wireless linksys WUSB54GC) on system 1 which gets me internet
> (me and my landlord share internet and the router is out of my reach)
> eth1 on system 1 and system 2 connected with crossover cable.
>
> I'm trying to setup internet for system 2
>
> /etc/network/interfaces for wlan0 read
>
> auto wlan0
> iface wlan0 inet dhcp
>
> /etc/network/interfaces for eth1 on both systems read
>
> auto eth1
> iface eth1 inet dhcp
>
> I receive DHCPdiscover error on eth1 on both ubuntu systems. No dhcp offers.
>
> So far i have tried firestarter (my first try, system crashed on
> restart) and bridge utils with no avail. I have searched all forums
> and all possible options to setup internet on system 2 for the past 2
> days but nothing seems to work. Presently i just want to try
> firestarter with all dhcp ips and now i get this error.
>
> So who is supposed to assign the dhcp ip: the dhcp3-server on system
> 1(i have dhcp3-client, dhcp3-common and dhcp3-server installed on
> system but when i start /etc/init.d/dhcp3 start, it fails with error:
> no subnet declaration for wlan0 ....no subnet declaration for
> eth1....not configured to listen on any interfaces or is the router
> supposed to assign the dhcp (i'm totally confused)
>
> Any help is greatly appreciated. Newbie. No shortforms pls. Thanks a
> ton in advance.
>
More information about the ubuntu-users
mailing list