Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-21-2004, 09:30 PM   #1
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Rep: Reputation: 30
XP Box won't take DHCP information or an IP from Linux gateway

My XP machine doesn't seem to want to take a DHCP lease from my linux gateway/firewall.... It worked for approx 1 day, almost to the hour, and then stopped.

This is sort of a clarification from this post:

Is there some reason my XP machine won't connect?

Apologies for the double post if it's considered thus, I'm looking at it now from a different angle.

When I disconnect it from the plug on the wall, and plug it into the linux box, it gets a funny IP, certainly not the 192.168.x.x it should, and refuses to connect to the lgateway. Request timed out, or DHCP server not available.
Old 10-22-2004, 03:40 PM   #2
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
there is some special code you have to put in the dhcp conf file, but i forgot where i found it and am working though the same problem

do a google search
Old 10-22-2004, 06:47 PM   #3
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
2:/etc# cat dhcpd.conf
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')

# Global options
default-lease-time 3600;        # 24h
max-lease-time 86400;           # 24h

subnet netmask {

        range;    #obviously the range of ips to use

        option subnet-mask;     #subnet mask to give to dhcp client
        option broadcast-address;    #broadcast address to give client

        option routers;        #this is your router (eth1 if you configure it like above)
         option domain-name-servers;       #uncomment this and add your isp's dns server
        #option domain-name-servers;       #unless your like me and have your own or have a second one
        option domain-name "";         #this is the domainname that will be given out
ddns-update-style none;

This is what is in my dhcp right now. fairly close anyway. you should try this and see how it works out for you.


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
VPN gateway with linux BOX jobbe314 Linux - Networking 5 08-02-2005 10:43 PM
Linux box as a gateway/router dooda5555 Linux - Networking 2 04-29-2005 02:06 PM
Linux DHCP information for DNS tisource Linux - Networking 5 10-31-2004 07:47 PM
Hwo do I log as much information as possible about connections made to Linux Box? jdruin Linux - Security 6 11-10-2003 02:12 PM
linux gateway and DHCP weazy Linux - Networking 3 03-19-2003 05:30 PM

All times are GMT -5. The time now is 07:25 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