how to configure dhcp client
Hello Linux gurus
I'm trying to configure in fedora 13 a dhcp client that would request IP address on my finished DHCP test server. I've already configured dhcp on eth0 on the client machine, I'm really lost. here is the configuration on my DHCP test server default-lease-time 600; max-lease-time 7200; ddns-update-style none; authoritative; option domain-name "sample.testnet.com"; option broadcast-address 192.168.1.255; subnet 192.168.1.0 netmask 255.255.255.0{ range 192.168.1.6 192.168.1.10; } |
And what exactly appears to be the issue to begin with? Is it failing to get the IP? Have you tried the command dhclient (located in /sbin/) to see if this command is able to make dhcp work. Overall it's hard to diagnose a problem that's symptoms have not actually been stated.
|
Quote:
|
What IP is it taking? This will likely help in diagnosing the problem (if I remember correctly there is usually a default range used in case of failure that shows a failure likely occurred in attempting to DHCP)
|
Quote:
honestly both DHCP server and Client is running in sun virtualbox, I've tried to assign an ip to the client with 192.168.1.6 and when I try to ping the DHCP server it replys |
What type of networking are you running, bridged, private? etc. If you are running Bridged networking are you sure the virtual machine isn't speaking to a router or similar device and dhcping off of that?
|
Quote:
network 1 bridge adapter network 2 host only on my dhcp client network 1 host only |
Given that, I would say it's most likely your issue will be with your DHCP server, not the client... are you sure the DHCP server is running correctly? And not just a "the process appears to be running", after all it could have bound itself to the bridge adapter and not the host network.
|
All times are GMT -5. The time now is 06:40 AM. |