LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 08-07-2009, 02:49 AM   #1
haariseshu
Member
 
Registered: Jan 2008
Location: Noida, India
Distribution: RHEL
Posts: 81

Rep: Reputation: 15
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server


Hi Guys,

In our org.there are two different network. One is 192.168.1.x (where DHCP server exists) and 151.2.1.x (where DHCP relay server exists).

DHCP relay server got connected to both networks.

Now if a client from 151 network is requesting a IP addr. dhcp relay server receives the requests(no logs for that) and from dhcp relay server dhcp server is receiving the request and offering a IP on 151 series.

But client is unable to obtain the IP eventhough dhcp server is offering.

Here is my dhcp server log:

Quote:
Aug 7 12:07:14 SOL-01-03-MKTG dhcpd: DHCPDISCOVER from 00:15:5d:34:07:1a (test-02) via 151.2.1.1
Aug 7 12:07:14 SOL-01-03-MKTG dhcpd: DHCPOFFER on 151.2.1.200 to 00:15:5d:34:07:1a (test-02) via 151.2.1.1
----
--
repeating the same msg as above...

My guess is dhcp server is receiving a request from a dhcprelay server thru 151 series IP which its not able to communicate. So that when its trying to reply to the request on same IP it receives (151.2.1.1) its unable to connect.... This is only my guess...

Is there any way to overcome this problem...
Please help me...
Thanks a lot...
 
Old 08-07-2009, 03:40 AM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,275

Rep: Reputation: 99
I recommend you to post the output of logs of client too. It is /var/log/messages

You can dhclient -r

and then dhclient and post output of
Code:
tail -20 /var/log/messages | grep DHCP
 
Old 08-07-2009, 04:25 AM   #3
haariseshu
Member
 
Registered: Jan 2008
Location: Noida, India
Distribution: RHEL
Posts: 81

Original Poster
Rep: Reputation: 15
Hi..

Thank you for your response...

You are asking for the dhcp client logs or dhcp relay server log??? Actually dhcp client that trying to acquire IP from dhcp server is basically a windows machine...
 
Old 08-08-2009, 09:14 AM   #4
haariseshu
Member
 
Registered: Jan 2008
Location: Noida, India
Distribution: RHEL
Posts: 81

Original Poster
Rep: Reputation: 15
Guys....

Any idea!!!....
 
Old 08-08-2009, 02:00 PM   #5
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,275

Rep: Reputation: 99
Unhappy

Quote:
Originally Posted by haariseshu View Post
Hi..

Thank you for your response...

You are asking for the dhcp client logs or dhcp relay server log??? Actually dhcp client that trying to acquire IP from dhcp server is basically a windows machine...
I was asking about DHCP client logs. Well if it is a window machine, I am useless. No idea about Windows. Sorry.
 
Old 08-10-2009, 02:20 AM   #6
settntrenz
Member
 
Registered: Aug 2009
Location: Orlando, Florida
Distribution: RHEL, Ubuntu
Posts: 49

Rep: Reputation: 19
Quote:
Originally Posted by haariseshu View Post
My guess is dhcp server is receiving a request from a dhcprelay server thru 151 series IP which its not able to communicate. So that when its trying to reply to the request on same IP it receives (151.2.1.1) its unable to connect.... This is only my guess...
It appears that the dhcp server is in fact getting the request (based on the existence of a log entry). That should mean that the relay server can in fact reach the dhcp server. The question is, does the dhcp server know how to reach the relay server?

Can you run a tcpdump on the dhcprelay server to determine if it is getting a reply from the dhcp server? If not, you need to look at the routing in the network. If so, you need to look at the dhcrelay config.

Sorry I don't have a definitive answer for you. Hopefully this will at least help rule some items out.
 
  


Reply


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
How to bypass DHCP of IPCop relay to Windows DHCP Server gclimbo Linux - Software 3 06-08-2008 09:30 PM
REDHAT DHCP SERVER is not able to assign IP addr on a different network daemon8008 Linux - Server 1 03-25-2008 07:31 AM
Configure DHCP server to assign IP using mac addr mayaLinux Linux - Networking 4 12-07-2005 06:00 PM
Redboot gets wrong default server IP-addr from DHCP ? waynix Linux - Networking 4 06-10-2005 01:44 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


All times are GMT -5. The time now is 03:12 AM.

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