1 |
On 6/27/2007 1:12 AM Alan McKinnon said the following: |
2 |
|
3 |
>On Wednesday 27 June 2007, Randy Barlow wrote: |
4 |
> |
5 |
> |
6 |
>>Drew Tomlinson wrote: |
7 |
>> |
8 |
>> |
9 |
>>>I ran tcpdump on eth1 and no packets are leaving the interface. |
10 |
>>>Thus I assume that's why I'm not getting an address. |
11 |
>>> |
12 |
>>> |
13 |
>>I don't know how to solve your problem, but I don't think DHCP is at |
14 |
>>the TCP layer of your network, and so you shouldn't see packets for |
15 |
>>DHCP there. DHCP is a special protocol if I recall... |
16 |
>> |
17 |
>> |
18 |
> |
19 |
>That's correct, dhcp is an ethernet protocol, and tcp/ip are one layer |
20 |
>above it. |
21 |
> |
22 |
>Drew should be able to see the packets with the 'proto ether' |
23 |
>expression. |
24 |
>man tcpdump for more info |
25 |
> |
26 |
>alan |
27 |
> |
28 |
> |
29 |
|
30 |
Thank you both for your ideas. I've tested and it seems that I should |
31 |
be able to see the packets without any special expressions. I've run |
32 |
tcpdump on my DHCP server and can see packets from other nodes on my |
33 |
network: |
34 |
|
35 |
Client IP: bigdaddy |
36 |
Client Ethernet Address: 00:50:8d:d7:8d:89 (oui Unknown) [|bootp] |
37 |
15:39:48.229850 IP (tos 0x0, ttl 128, id 25950, offset 0, flags [none], |
38 |
proto: UDP (17), length: 328) bigdaddy.bootpc > 255.255.255.255.bootps: |
39 |
BOOTP/DHCP, Request from 00:50:8d:d7:8d:89 (oui Unknown), length: 300, |
40 |
xid:0x7707a3b2, secs:768, flags: [none] |
41 |
|
42 |
When I run 'tcpdump -i eth1' on the laptop, I see no traffic |
43 |
whatsoever. I read the man page for tcpdump regarding the 'proto ether' |
44 |
expression Alan mentions. While it is true that this expression will |
45 |
limit the traffic captured, not specifying any expression will show all |
46 |
traffic. Plus DHCP works by sending UDP packets and thus 'proto ether' |
47 |
does not seem to be appropriate. |
48 |
|
49 |
Thanks, |
50 |
|
51 |
Drew |
52 |
|
53 |
-- |
54 |
Be a Great Magician! |
55 |
Visit The Alchemist's Warehouse |
56 |
|
57 |
http://www.alchemistswarehouse.com |
58 |
|
59 |
|
60 |
-- |
61 |
gentoo-user@g.o mailing list |