In the real world you would never plug a hub between two switches because it'll degrade your network
dramatically.
In the example we've only got the hub in the typologies so that we can capture traffic using wireshark
you would generally have a direct link between the two switches as shown here in out apology have shut
that port down to force all traffic to go via the hub so that we can see what's taking place.
If I unable to port spending tree will block one of these ports so we won't be able to see the traffic.
So at the moment.
PC 1 keeping PC 3 pc 2 can ping PC 4 but they can't ping each other.
So let's set up switch one as all into the land router.
So on switch one show IP interface brief at the moment we have an IP address configured on VLAN 1 in
violent to now wrote a one and router.
Three are still using the IP addressing of a land one which is bad practice.
We can see that so on Rato one show opting to face brief notice the IP address of the device is 10 1
1 1 so I'll change that.
To put it into Villani leavens IP address tendered wonder 11 did one just good practice you could keep
those IP addresses but it will get confusing when you set up a management villaine.
So I'll just configure it correctly at this point on rodder 3.
Currently the IP address is 10 to 1 to 1 2 3 so I'll change that to $10.
One of the 11. three and set up the default gateway tendered one of the 11 to 4 4.
And then we need to configure the Villani 11 on switch 1 interface Villani 11 IP address tendered one
to 11 to 2 for full.
Make sure that that is vi has switched virtual interfaces up which it is.
So can one ping Rato three just two on tests.
So paying 10 1 11 3 yes it can.
Can it ping it to write a TOS using this IP address 10 1 to 2.
Yes it can Kennet ping router for acting as PC too.
So thats 2.4
thats just to some troubleshooting So first thing to confirm is check the interface
that interface looks right.
It's pinging 11 one.
Why is the ping not working.
It's probably because I haven't set up a default gateway on a full Let's confirm that show IP Robert
you know default gateway is configured Saltoun of operating
before I configured the default gateway Let me show you a test that we can do to prove what's happening
on Route 1 on pinging right of 4.
And this debug debug IP ICMP shows us that the traffic hits Rotto 4 but is not getting back.
So we can see that the traffic traverses the network gets here but doesn't get back again and that allows
me to see that it's because my default gateway is not configured.
So IP default gateway tended one to 2 to fight for on route of four because it's in land too.
So once again this device is in Villani Levan devices in Villani Levan.
These two devices on the land too.
So can one ping wrote a.
Yes it can.
So let's have a look.
Actually the editor of one keyframes S. He's brought up one pinging brought a for.
And let's look at the ICMP
and what you'll notice is the messages from 10 1 11 1 to 10 1 to 1 are actually being sent on land to
the return traffic is being sent on the land to.
And that's because the traffic is being sent from Route 1 to switch one and switch one is already doing
that into via routing and then forwarding the traffic to switch to on the violent too.
So it's really changing the Villani information to be villaine to when forwarding it to the other switch
when the traffic goes from Radio 4 to 1.
The traffic gets sent here is an untagged frame and then here it's tagged as violent too when it hits
the switch which is acting as the default gateway.
It does that interval and routing and then forwards it out of this port because it's in Villani Levan
and the traffic is going to a device in Villani Levan.
So hence here we don't actually see the tagged frames but we can see that by adding a Rato on a stick
to do the interview LAN routing.
So what I'll do is remove the interval and riding on switch 1 and configure this device as the routing
device in the topology.
And then what we should see is we should see the tagged frames hit those router and then the tagging
will be changed.