Visit Jeremy's Blog.
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 06-17-2005, 08:17 AM   #1
Registered: Apr 2005
Location: india
Distribution: Redhat 9
Posts: 66

Rep: Reputation: 15
dhcp client not getting IP from dhcp server

configured dhcp server.

# cat /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;

subnet netmask {

# --- default gateway
option routers;
option subnet-mask;

# option nis-domain "";
# option domain-name "";
# option domain-name-servers;

option time-offset -18000; # Eastern Standard Time
# option ntp-servers;
# option netbios-name-servers;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;

default-lease-time 21600;
max-lease-time 43200;

clinet is also fedora -2 . i used # netconfig to configure dhcp client options . when i use # ifconfig , i donot get a ip from the dhcp server. i get the same old static IP which was earlier configured. why is it so ? how can i get a ip from the dhcp server on the client ? in windows , .....ipconfig /flushdns or ipconfig /renew or is used.
Old 06-17-2005, 08:56 AM   #2
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89

Rep: Reputation: 15
I don't know if this is the only way, but I always use dhcpcd which goes off and finds the dhcp server, and sets the ip and routes by itself without you having to use ifconfig. You would know better than I do where that is in fedora but give dhcpcd a try.
Old 06-17-2005, 09:12 AM   #3
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Rep: Reputation: 15
Do you get an IP via DHCP when the client is rebooted?

After you make the changes with netconfing, try executing:

ifconfig eth0 down
ifconfig eth0 up

to take the interface down, then back up and get an IP address.

You should get an IP address via DHCP when the machine is started up.


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
DHCP server and client trebek Linux - Networking 3 07-25-2005 04:53 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 06:18 AM
how can a DHCP client get the DHCP server IP? AshesOfTime Linux - Networking 3 11-24-2004 07:50 AM
DHCP client and server ?? deepika Linux - Networking 3 10-01-2003 02:20 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 12:24 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:22 PM.

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
Open Source Consulting | Domain Registration