Hello everybody I'm working with GNS3 and PPP encapsulation I put the simple example the PPP encapsulation. This is the desing of the network This is the basic configuration is: R1
R2
So when I try to capture the information with Wireshark I get the following information. This is the specifications of my platform:
Running the command wireshark -v
I can see nothing. Someone could tell me why does this happen and how to fix it? According with this: http://wiki.wireshark.org/CaptureSetup/PPP, it’s possible but I don’t kwow how. asked 08 Jun ‘14, 07:53 cristianchap… edited 08 Jun ‘14, 18:42 Guy Harris ♦♦ |
One Answer:
Your problem is that you're using GNS3's default L2 protocol for packet captures (HDLC) instead of specifying PPP. When you right-click to "Start Capture" on an interface in GNS3, click the drop-down and specify PPP specifically. Wireshark needs to be given a context (what L2 protocol is in use) in order to know how to decode the packets correctly. GNS3 doesn't know what L2 protocol you're going to configure on that router's serial interface, so it default to HDLC and gives you the option to specify the L2 encapsulation to use. answered 08 Jun '14, 18:19 Quadratic edited 08 Jun '14, 18:27 That awkward I am, thanks for your answer. (08 Jun '14, 18:37) cristianchap... No problem. :) (08 Jun '14, 20:14) Quadratic |
So what are machines R1 and R2, and is the Linux box on which you ran Wireshark one of those two machines or some third machine plugged into the connection between R1 and R2?
I don’t understand your question. R1 and R2 are routers, and I use vpcs, virtual machines to connect to it. Remember it is a LAB with GNS3. I run GNS3 on Linux machine.
Just to clarify Guy, GNS3 is virualization software that allows you to run Cisco/Juniper routers, and even clients/servers (Virtual Box hosts), in one big virtual network sandbox.
Within that environment, GNS3 supports exporting packets between the virtual systems into Wireshark. The problem here is that he’s using GNS3’s default L2 protocol for serial interfaces (HDLC) for generating the packet capture so Wireshark will decode it that way, while he’s manually configured PPP on the routers themselves.