LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-02-2008, 06:19 AM   #1
dividingbyzero
Member
 
Registered: May 2008
Location: Earth
Distribution: Slackware 12.2
Posts: 52

Rep: Reputation: 16
dhcp question


Hello.

Just wondering why If I log all in and outgoing traffic on my iptables I see DHCP coming in from isp but I don't see anything going back out from my computer? I thought that DHCP comes in from server on 67 to my port 68 (which I see logged) and then my machine sends back from 68 to the server on 67. Shouldn't I also see outbound traffic for DHCP from my comp to the dhcp server?

Thanks
 
Old 10-02-2008, 07:37 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You should see the DHCP discovery broadcast and then the request, ACK, and any other transaction (set IP, DNS, routers, FQDN, etc).
 
Old 10-02-2008, 01:40 PM   #3
dividingbyzero
Member
 
Registered: May 2008
Location: Earth
Distribution: Slackware 12.2
Posts: 52

Original Poster
Rep: Reputation: 16
Nope. All I see is a bunch of dhcp broadcasts from server to 255.255.255.255 and I don't see my machine respond although I allow everything on the output chain.
 
Old 10-02-2008, 04:16 PM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
I'm not familiar with what socket ports are meant to be used, but if the software continues its business on a different port then you won't log it. Try logging all packets; no other software should be sending packets at this stage anyway.
 
Old 10-02-2008, 09:30 PM   #5
dividingbyzero
Member
 
Registered: May 2008
Location: Earth
Distribution: Slackware 12.2
Posts: 52

Original Poster
Rep: Reputation: 16
I think i got it after reading up on how dhcp works. The logs i see are coming from the DHCP server to 255.255.255.255, not to my computer's address. I think the whole DHCP handshake is being done before my firewall starts under Slackware and all i'm seeing are DHCP broadcasts.
 
  


Reply



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 question wabob Slackware 2 05-02-2007 02:02 PM
DHCP Question Clowncar Linux - Networking 2 10-16-2006 06:47 AM
A DHCP question johnjoe Linux - Networking 1 07-21-2006 08:41 AM
DHCP Question KenGr Linux - Networking 4 01-09-2005 02:44 PM
DHCP question slinkyredfoot Linux - Networking 4 09-08-2003 03:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:42 PM.

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