LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-21-2012, 10:31 PM   #1
nsit_poison
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
DHCP client issue


'm working on 2.6.15 kernel running on a cisco IPTV. When the box is coming up, the DHCP client hangs up. The reason for this is that the DHCP client does not get fetch the broadcasted DHCP offer message.

When I read /proc/net/dev file, it shows that ethernet device (eth0) has not received any packet. I then ran tcpdump on the box and it also shows that no packet is been received on the ethernet interface.

Then I ran wireshark on the test PC (on which DHCP server is running), it shows that a DHCP offer message is broadcasted by the DHCP server.

This DHCP client and server are working fine with other boxes so there are less chances that these programs have any issues. There must be an issue in the ethernet drivers.

I'm really confused. How should I proceed to this problem. Please help me.
 
Old 02-22-2012, 04:22 AM   #2
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 365

Rep: Reputation: 34
Use the ifconfig command. Do man ifconfig in a terminal. KDE has several good graphical network tools too.
 
Old 02-22-2012, 11:18 PM   #3
nsit_poison
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
I have used ifconfig command to give a static IP to the ethernet interface. Thena I created appropriate route so that I can ping to the box but still it is not pinging.

What else can I try ?
 
Old 02-22-2012, 11:33 PM   #4
makbul
LQ Newbie
 
Registered: Nov 2010
Location: india,kerala
Posts: 5
Blog Entries: 2

Rep: Reputation: 0
Is there any activation in TCP wrappers, or firewall issues,
 
Old 02-23-2012, 01:04 AM   #5
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 365

Rep: Reputation: 34
hidden or not?

Quote:
Originally Posted by nsit_poison View Post
I have used ifconfig command to give a static IP to the ethernet interface. Thena I created appropriate route so that I can ping to the box but still it is not pinging.

What else can I try ?
Make sure that the client broadcasts and answers pings and has no MAC filters on or any other security or SE-Linux issues. Once you connect, you can re-hide the client later. Check out cables NICs etc to make sure the hardware is good. Ditto for routers or switches.
 
Old 02-23-2012, 11:21 PM   #6
nsit_poison
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
Wink

I have disabled all the security checks, firewalls and MAC filters. I have used cross cable to connect PC and box. The cross cable is ok.

But the good thing is that I'm able to resolve this issue. The problem was in the VLAN configuration of Marvell switch. I had the data sheet for 88E6061 but box have 88E6063. I have corrected it and it is working fine now.

But thanks for your help guys.
 
Old 02-24-2012, 03:25 AM   #7
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 365

Rep: Reputation: 34
No problem. Vlans are "interesting". The devil is in the details. I figured it was some switch or router or something.
 
  


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
DHCP CLIENT Issue w/ ISP DHCP Server itsecx@gmail.com Linux - Networking 1 08-26-2010 09:27 AM
Linux DHCP client unsuccessful on a windows DHCP served network tom1080 Linux - Newbie 1 12-16-2009 11:37 AM
Force DHCP To Refuse Clients A DHCP Lease Depending On Client MAC Address blackfish Linux - Server 3 08-17-2007 12:54 AM
SIOCSIFFLAGS: a DHCP client issue? WindsorKnot Linux - Networking 3 07-05-2007 10:07 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM


All times are GMT -5. The time now is 07:58 AM.

Main Menu
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