Networking Forums

Networking Forums > Computer Networking > Linux Networking > tcpdump - dhcp

Reply
Thread Tools Display Modes

tcpdump - dhcp

 
 
Warrick FitzGerald
Guest
Posts: n/a

 
      03-08-2005, 07:02 PM
Hi All,

How does one filter out dhcp traffic only.

The closest I've gotten is:

"tcpdump broadcast"

Thanks
Warrick
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      03-08-2005, 07:22 PM
On 2005-03-08, Warrick FitzGerald <(E-Mail Removed)> wrote:
> How does one filter out dhcp traffic only.


Try filtering only arp packets.
Davide

--
Yo-yo operating system = WinNT: it goes up..., it goes down..., it goes...
-- From a Slashdot.org post
 
Reply With Quote
 
Kimmo Koivisto
Guest
Posts: n/a

 
      03-08-2005, 07:33 PM
Warrick FitzGerald wrote:

> Hi All,
>
> How does one filter out dhcp traffic only.


How about this one:

tcpdump -i eth0 -n port 67 and port 68

Regards
Kimmo Koivisto
 
Reply With Quote
 
Warrick FitzGerald
Guest
Posts: n/a

 
      03-09-2005, 06:13 PM
Kimmo Koivisto wrote:

>Warrick FitzGerald wrote:
>
>
>
>>Hi All,
>>
>>How does one filter out dhcp traffic only.
>>
>>

>
>How about this one:
>
>tcpdump -i eth0 -n port 67 and port 68
>
>Regards
>Kimmo Koivisto
>
>

Wow, thanks Kimmo. Id always thought of DHCP at the same layer as ICMP.
The fact that this works would indicate that it's wrapped in a tcp right?

Thanks again
Warrick
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      03-09-2005, 06:55 PM
Warrick FitzGerald wrote:
> Kimmo Koivisto wrote:
>
>> Warrick FitzGerald wrote:
>>
>>
>>
>>> Hi All,
>>>
>>> How does one filter out dhcp traffic only.
>>>

>>
>>
>> How about this one:
>>
>> tcpdump -i eth0 -n port 67 and port 68
>>
>> Regards
>> Kimmo Koivisto
>>
>>

> Wow, thanks Kimmo. Id always thought of DHCP at the same layer as ICMP.
> The fact that this works would indicate that it's wrapped in a tcp right?
>


No - UDP ports 67 and 68, originally used by BOOTP. DHCP is
an extension to the BOOTP protocol.

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Put Tcpdump on DD-Wrt Router Christopher Thiele Network Routers 0 06-10-2009 07:26 AM
Understanding TCPDUMP Rav Linux Networking 5 11-02-2006 11:47 PM
tcpdump Dan N Linux Networking 1 05-03-2006 10:43 AM
tcpdump and scripting Matt Linux Networking 1 05-28-2005 10:50 PM
tcpdump lekkie.aydot@gmail.com Linux Networking 1 05-20-2005 07:16 AM



1 2 3 4 5 6 7 8 9 10 11