1
00:00:00,930 --> 00:00:06,450
In the real world you would never plug a hub between two switches because it'll degrade your network

2
00:00:06,450 --> 00:00:07,800
dramatically.

3
00:00:07,830 --> 00:00:12,420
In the example we've only got the hub in the typologies so that we can capture traffic using wireshark

4
00:00:13,020 --> 00:00:18,930
you would generally have a direct link between the two switches as shown here in out apology have shut

5
00:00:18,960 --> 00:00:25,470
that port down to force all traffic to go via the hub so that we can see what's taking place.

6
00:00:25,680 --> 00:00:31,970
If I unable to port spending tree will block one of these ports so we won't be able to see the traffic.

7
00:00:32,000 --> 00:00:32,910
So at the moment.

8
00:00:33,000 --> 00:00:39,140
PC 1 keeping PC 3 pc 2 can ping PC 4 but they can't ping each other.

9
00:00:39,210 --> 00:00:44,970
So let's set up switch one as all into the land router.

10
00:00:44,970 --> 00:00:53,880
So on switch one show IP interface brief at the moment we have an IP address configured on VLAN 1 in

11
00:00:53,890 --> 00:00:57,950
violent to now wrote a one and router.

12
00:00:58,140 --> 00:01:05,900
Three are still using the IP addressing of a land one which is bad practice.

13
00:01:05,980 --> 00:01:13,530
We can see that so on Rato one show opting to face brief notice the IP address of the device is 10 1

14
00:01:13,530 --> 00:01:15,930
1 1 so I'll change that.

15
00:01:15,930 --> 00:01:25,380
To put it into Villani leavens IP address tendered wonder 11 did one just good practice you could keep

16
00:01:25,380 --> 00:01:31,990
those IP addresses but it will get confusing when you set up a management villaine.

17
00:01:32,100 --> 00:01:37,550
So I'll just configure it correctly at this point on rodder 3.

18
00:01:37,610 --> 00:01:44,800
Currently the IP address is 10 to 1 to 1 2 3 so I'll change that to $10.

19
00:01:44,800 --> 00:01:53,730
One of the 11. three and set up the default gateway tendered one of the 11 to 4 4.

20
00:01:54,180 --> 00:02:02,340
And then we need to configure the Villani 11 on switch 1 interface Villani 11 IP address tendered one

21
00:02:02,890 --> 00:02:06,300
to 11 to 2 for full.

22
00:02:06,600 --> 00:02:12,970
Make sure that that is vi has switched virtual interfaces up which it is.

23
00:02:13,210 --> 00:02:18,480
So can one ping Rato three just two on tests.

24
00:02:18,520 --> 00:02:26,100
So paying 10 1 11 3 yes it can.

25
00:02:26,290 --> 00:02:30,890
Can it ping it to write a TOS using this IP address 10 1 to 2.

26
00:02:31,280 --> 00:02:37,760
Yes it can Kennet ping router for acting as PC too.

27
00:02:37,970 --> 00:02:39,770
So thats 2.4

28
00:02:43,690 --> 00:02:49,700
thats just to some troubleshooting So first thing to confirm is check the interface

29
00:02:52,740 --> 00:02:54,200
that interface looks right.

30
00:02:56,230 --> 00:02:59,540
It's pinging 11 one.

31
00:02:59,670 --> 00:03:01,710
Why is the ping not working.

32
00:03:01,710 --> 00:03:08,110
It's probably because I haven't set up a default gateway on a full Let's confirm that show IP Robert

33
00:03:09,430 --> 00:03:12,140
you know default gateway is configured Saltoun of operating

34
00:03:16,060 --> 00:03:20,680
before I configured the default gateway Let me show you a test that we can do to prove what's happening

35
00:03:21,650 --> 00:03:24,210
on Route 1 on pinging right of 4.

36
00:03:24,580 --> 00:03:31,120
And this debug debug IP ICMP shows us that the traffic hits Rotto 4 but is not getting back.

37
00:03:31,330 --> 00:03:37,960
So we can see that the traffic traverses the network gets here but doesn't get back again and that allows

38
00:03:37,960 --> 00:03:42,030
me to see that it's because my default gateway is not configured.

39
00:03:42,250 --> 00:03:49,810
So IP default gateway tended one to 2 to fight for on route of four because it's in land too.

40
00:03:49,810 --> 00:03:57,170
So once again this device is in Villani Levan devices in Villani Levan.

41
00:03:57,450 --> 00:04:00,190
These two devices on the land too.

42
00:04:00,310 --> 00:04:02,520
So can one ping wrote a.

43
00:04:02,700 --> 00:04:04,360
Yes it can.

44
00:04:04,400 --> 00:04:05,350
So let's have a look.

45
00:04:05,360 --> 00:04:13,730
Actually the editor of one keyframes S. He's brought up one pinging brought a for.

46
00:04:13,930 --> 00:04:15,560
And let's look at the ICMP

47
00:04:19,190 --> 00:04:28,190
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

48
00:04:28,700 --> 00:04:32,390
the return traffic is being sent on the land to.

49
00:04:32,530 --> 00:04:39,860
And that's because the traffic is being sent from Route 1 to switch one and switch one is already doing

50
00:04:39,860 --> 00:04:47,810
that into via routing and then forwarding the traffic to switch to on the violent too.

51
00:04:47,810 --> 00:04:55,510
So it's really changing the Villani information to be villaine to when forwarding it to the other switch

52
00:04:57,330 --> 00:05:01,280
when the traffic goes from Radio 4 to 1.

53
00:05:01,290 --> 00:05:08,430
The traffic gets sent here is an untagged frame and then here it's tagged as violent too when it hits

54
00:05:08,550 --> 00:05:10,990
the switch which is acting as the default gateway.

55
00:05:11,070 --> 00:05:16,980
It does that interval and routing and then forwards it out of this port because it's in Villani Levan

56
00:05:17,550 --> 00:05:21,060
and the traffic is going to a device in Villani Levan.

57
00:05:21,060 --> 00:05:31,770
So hence here we don't actually see the tagged frames but we can see that by adding a Rato on a stick

58
00:05:32,220 --> 00:05:34,050
to do the interview LAN routing.

59
00:05:34,440 --> 00:05:40,770
So what I'll do is remove the interval and riding on switch 1 and configure this device as the routing

60
00:05:40,770 --> 00:05:43,890
device in the topology.

61
00:05:43,890 --> 00:05:51,900
And then what we should see is we should see the tagged frames hit those router and then the tagging

62
00:05:51,990 --> 00:05:53,100
will be changed.
