(theatrical music)
- In this particular video,
I'd like to show you how to use Wireshark
in your GNS3 topology so you can actually use this
to do packet captures and learn more about how various
protocols work and things like that
so let's take a look at this.
Now, when you've initially downloaded GNS3,
you're presented with a box that a whole bunch
of applications that were built into it and hopefully,
you allowed it to also download Wireshark
as part of its download process.
If you did, using Wireshark in here is super easy.
Just select a device that you wish.
For example, I'm gonna do this router right here,
and right click and you can see here in your options
under right click the capture option.
So now when I select capture,
it's gonna ask me which interface on this device
do I wish to start capturing packets
and I'm gonna select the serial interface
because I wanna learn a little bit more about frame relay
and see what frame relay headers look like
and I wanna see what EIGRP is doing across
this frame relay connection.
So as soon as I click this, Wireshark is gonna start up
and let's hit OK
and it's gonna start collecting packets.
There it goes.
Now while it's doing that,
let's go ahead and bring up router two
who has an EIGRP neighbor
and here we can see the EIGRP process happening.
So you can see it's very useful.
So from here, because Wireshark has been built into GNS3,
we can use it to capture things on any interface.
And where this becomes really powerful is that
let's say that you had your own home-based lab,
a rack right next to you.
Well, certainly if you had a hub or something,
you could use plug a hub in between two routers
or a router and a switch and then plug your laptop
into that hub and use Wireshark on your laptop
to capture stuff going across that Ethernet interface.
Pretty simple, but what if you wanted to capture traffic
on a WAN interface like a serial interface?
You wanted to see your frame relay headers
or maybe you're doing PPP
and you wanna see what all the PPP,
the Point-to-Point Protocol, looks like.
Kinda hard to do that with real equipment,
but you can see here
because Wireshark is built into this virtual environment,
it's super easy to just right click on any router
and select any interface you want on that router
so you can see all the layer-2 headers and everything.
So that concludes this discussion on using Wireshark
within the context of GNS3.
(theatrical music)