Computing.Net > Forums > Linux > XP not getting DHCP address from Li

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

XP not getting DHCP address from Li

Reply to Message Icon

Name: Jesse Schultz
Date: August 29, 2002 at 13:57:16 Pacific
Comment:

Help Please!
I have Windows XP Pro installed on a Laptop. This machine is configured to use DHCP and does not use any static IP settings for DNS, etc. I have a second machine running Redhat Linux 7.3. The connection between the two machines is good, if I place a static IP address on the laptop, I can ping the Linux box. On the Linux box I have created an empty dhclpd.leases file in var/lib/dhcp. Also have created etc/dhcpd.conf with the following contents:
subnet 10.10.10.0 netmask 255.255.255.0 {
option routers 10.10.10.1;
option subnet-mask 255.255.255.0;
option time-offset -5;
range 10.10.10.10 10.10.10.100;
}

The firewall is turned off from what I can tell. When I run "ps ax | grep dhcp" it shows an entry so I think DHCP server is running.

I have loaded Q313896 hotfix from Microsoft on the Laptop that deals with XP not getting DHCP assigned address correctly. It did not help.

Not really sure the statements in the DHCP config file are all needed.

Any help, any help at all is GREATLY appreciated.

Thanks,
Jesse



Sponsored Link
Ads by Google

Response Number 1
Name: D
Date: September 22, 2002 at 02:58:02 Pacific
Reply:

The /etc/dhcpd.conf isn't right, your missing:
default-lease-time time in seconds;
max-lease-time time in seconds;
you might want to add:
option domain-name-servers address;


After that type /etc/init.d/dhcpd stop
Then of course /etc/init.d/dhcpd start
just to ensure that it is stopped and restarted

Good luck
D


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: XP not getting DHCP address from Li

Re: Lan from windows to linux www.computing.net/answers/linux/re-lan-from-windows-to-linux/24507.html

Do not get signal from keyboard www.computing.net/answers/linux/do-not-get-signal-from-keyboard/15705.html

dhcp www.computing.net/answers/linux/dhcp/15352.html