View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-25-2010, 02:57 PM   #1
Registered: Feb 2010
Distribution: CentOS,openSUSE
Posts: 30

Rep: Reputation: 16
DHCP lease IP on eBox from openSUSE

I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with

dhclient eth0 -s

and get a response

openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.

The server reports

eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 ( via eth0
eBox141 dhcpd: DHCPOFFER on to 00:0c:29:3e:57:a3 ( via eth0

I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks.

Can someone tell me what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?
Old 03-26-2010, 08:32 AM   #2
LQ Newbie
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
what does you eBox dhcp config look like for this subnet? also what does the output of ifconfig look like on openSUSE11232CL1 pre to the run of dhclient?

Last edited by joe.beard; 03-26-2010 at 08:34 AM.
Old 03-26-2010, 10:33 AM   #3
Registered: Feb 2010
Distribution: CentOS,openSUSE
Posts: 30

Original Poster
Rep: Reputation: 16

cat /etc/dhcp3/dhcpd.conf
on eBox shows:

# DHCP server is authoritative for all networks

# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;

ddns-update-style none;

option domain-name-servers;

default-lease-time 1800;
max-lease-time 7200;

shared-network eth0 {

subnet netmask {

option routers;
option domain-name "";
option domain-name-servers;
default-lease-time 1800;
max-lease-time 7200;



and ifconfig on client is below. The client does not pick up IP from the eBox but does pick up IP from a Windows DHCP that we have on the network

eth0 Link encap:Ethernet HWaddr 00:0C:29:3E:57:A3
inet addr: Bcast: Mask:
inet6 addr: fe80::20c:29ff:fe3e:57a3/64 Scope:Link
RX packets:1275876 errors:0 dropped:0 overruns:0 frame:0
TX packets:66612 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:163412487 (155.8 Mb) TX bytes:18911261 (18.0 Mb)

lo Link encap:Local Loopback
inet addr: Mask:
inet6 addr: ::1/128 Scope:Host
RX packets:55701 errors:0 dropped:0 overruns:0 frame:0
TX packets:55701 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18537222 (17.6 Mb) TX bytes:18537222 (17.6 Mb)



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using expired DHCP lease phyzazz Linux - Newbie 1 06-05-2008 02:34 PM
DHCP lease same IP prashanlk Linux - Networking 2 01-31-2008 03:22 AM
Force DHCP To Refuse Clients A DHCP Lease Depending On Client MAC Address blackfish Linux - Server 3 08-17-2007 12:54 AM
Requesting a new DHCP lease raypen Linux - Networking 2 06-07-2006 09:19 PM
Wireless doesn't get DHCP lease novice_iii Mandriva 1 04-17-2006 07:55 AM

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration