WEBVTT

1
00:00.000 --> 00:08.220
So the next thing we want to do is test reachability out to the internet from

2
00:08.220 --> 00:10.280
subnet 10.

3
00:10.280 --> 00:14.320
We're going to do this simply by sourcing the same pings and such that we

4
00:14.320 --> 00:15.140
already did,

5
00:15.140 --> 00:19.880
but this time sourcing them from the gigabit 2 interface on the router.

6
00:19.880 --> 00:24.350
Now this may seem like a very simple thing to do, but you might find yourself a

7
00:24.350 --> 00:24.560
little

8
00:24.560 --> 00:26.840
bit surprised by the results.

9
00:26.840 --> 00:27.840
Maybe not.

10
00:27.840 --> 00:31.320
Let's jump in and find out.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

10
00:27.840 --> 00:31.320
Let's jump in and find out.

11
00:31.320 --> 00:37.600
So just as a reminder of where we are, let's do a ping of 8.8.8.8.

12
00:37.600 --> 00:41.330
And if you remember correctly from the previous video, we had no problem p

13
00:41.330 --> 00:42.440
inging this address

14
00:42.440 --> 00:43.600
at all.

15
00:43.600 --> 00:48.820
However, if we were to do the same ping and this time source it from our gig

16
00:48.820 --> 00:50.360
abit 2 interface,

17
00:50.360 --> 00:56.000
which is subnet 10, we'll find that this is not functioning.

18
00:56.000 --> 00:59.160
And the reason for this is fairly straightforward.

19
00:59.160 --> 01:03.900
The internet gateway that we're going out to the internet through will only gn
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

19
00:59.160 --> 01:03.900
The internet gateway that we're going out to the internet through will only gn

20
01:03.900 --> 01:04.360
at for

21
01:04.360 --> 01:08.260
packets that arrive on the correct subnet.

22
01:08.260 --> 01:15.240
So when we have a packet coming from subnet 10 being routed by AWS R1 here that

23
01:15.240 --> 01:15.920
's then

24
01:15.920 --> 01:21.740
arriving on subnet 1 at the internet gateway, the internet gateway is not going

25
01:21.740 --> 01:22.320
to gnat

26
01:22.320 --> 01:23.840
that address.

27
01:23.840 --> 01:29.230
Therefore, if we want this to function correctly, we're going to have the first

28
01:29.230 --> 01:30.060
gnat here on
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

28
01:29.230 --> 01:30.060
gnat here on

29
01:30.060 --> 01:31.640
router one.

30
01:31.640 --> 01:34.320
So let's go ahead and configure that.

31
01:34.320 --> 01:37.480
The first thing we're going to need is an access list.

32
01:37.480 --> 01:39.240
And we'll just do a standard access list.

33
01:39.240 --> 01:41.880
We'll call it ACL underscore net.

34
01:41.880 --> 01:45.960
And we'll simply permit 10 dot 20 dot 10 dot zero.

35
01:45.960 --> 01:50.840
And we'll use a slash 24 based wild card mask.

36
01:50.840 --> 01:54.960
The next thing, of course, we're going to need is our gnat statement.

37
01:54.960 --> 01:57.240
So we'll do an IP net.

38
01:57.240 --> 02:00.460
Of course, we're not in the inside addresses.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

38
01:57.240 --> 02:00.460
Of course, we're not in the inside addresses.

39
02:00.460 --> 02:03.000
And we're not in the source address.

40
02:03.000 --> 02:05.720
We're going to do this based on the list we just wrote.

41
02:05.720 --> 02:08.360
So ACL underscore net.

42
02:08.360 --> 02:14.520
We're going to overload on the interface gigabit one.

43
02:14.520 --> 02:17.680
Of course, we have to configure our interfaces.

44
02:17.680 --> 02:25.280
So interface gigabit one is IP net outside interface gigabit two.

45
02:25.280 --> 02:29.520
I pin that inside exit configuration.

46
02:29.520 --> 02:31.880
And let's try our ping again.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

46
02:29.520 --> 02:31.880
And let's try our ping again.

47
02:31.880 --> 02:35.160
Notice this time it's successful.

48
02:35.160 --> 02:39.430
And if we do a show IP net translation, we can see that we natted our inside

49
02:39.430 --> 02:40.360
local address

50
02:40.360 --> 02:47.940
of 10 dot 20 dot 10 dot 254 behind the inside global address of 10 dot 20 dot

51
02:47.940 --> 02:50.400
one dot 254.

52
02:50.400 --> 02:52.160
And that's why this is working.

53
02:52.160 --> 02:55.440
Now that we have not enabled on router one.

54
02:55.440 --> 03:01.380
So now that this is working, let's actually bring up some machines on subnet 10
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

54
02:55.440 --> 03:01.380
So now that this is working, let's actually bring up some machines on subnet 10

55
03:01.380 --> 03:01.800
and make

56
03:01.800 --> 03:06.210
sure that those machines can also get out to the internet and that our net and

57
03:06.210 --> 03:07.000
everything

58
03:07.000 --> 03:09.120
with the routing is working properly.
