I have a dsl modem connected directly to my PC. I want to trace few details of the packets passing through my PC with the help of Wireshark. Using Capture-->Interfaces I can see the only card with the IP = 10.0.0.1(probably because its a pppoe connection). Can someone direct me where exactly this address should be found in the packet(I guise somewher in the lower levels of the protocol stack)? Thanks in advance I. Lesher asked 23 Jul '12, 22:37 triplebit |
One Answer:
If it's really PPPoE you should see this packet structure:
The address you mentioned would be in the IP layer in the field "Source:". As you usually get a internet routeable address from your provider with PPPoE (not sure about all regions of the world), this could also be a PPPoA connection, due to your IP address (10.0.0.1). The default IP address of a lot PPPoA modems is 10.0.0.138 and the Modem hands out IP addresses in that IP range (DHCP).
PPPoA would look totally different in Wireshark. Look for the IP layer directly and then for the Source field. Regards answered 24 Jul '12, 01:07 Kurt Knochner ♦ edited 24 Jul '12, 01:31 |
Thnaks Kurt I followed carefully your answer and saw that the structure is exactly how you wrote, i.e Frame -> Ethernet -> PPP-over-Ethernet -> Point-to-Point Protocol -> IP -> TCP/UDP/ICMP/etc. but the address "10.0.0.1" is not in the IP protocol. Instead the IP layer contains the routable addresses of the source and the destination.here is a paste from the Wireshark of an ip layer of a single packet: "Internet Protocol, Src: 85.250.119.39 (85.250.119.39), Dst: 212.235.98.161 (212.235.98.161)" Can you further advise please? Regards I. Lesher
O.K. so you do get a "internet routeable" address from your provider, as expected from PPPoE.
We just need to figure out, why Wireshark shows 10.0.0.1 in the interface list.
What is the output of the following commands:
dumpcap is in the Wireshark install directory.
Thanks Kurt Here is the respond for dumpcap -D -M
Here is the respond for ipconfig /all Actually I cut the answer since it continues with a list of Tunnel adapters which I beleive don't contribute here. Regards I. Lesher
The interface with your “external” IP address is a ppp adapter. You cannot sniff on those adapters on systems >= Win XP.
I guess that's the reason why WinPcap does not show the ppp interface.