00:04
the next topic of discussion is I p routing teary.
00:09
if you remember, I said routing is a layer three function.
00:13
A network layer function. Rowdy is the process of going from one broadcast domain to another broadcast. A mean one layer three broadcast. You mean to another layer three broadcast to me.
00:26
So, as you see in this diagram, we have host one and a hostess simply a device with an i P address on it. So we have host one
00:35
on network 10 10 10 0 with the i P. Address. 10 10 10.1. You guys should get used to looking at network diagrams like this. I mean, if they're drawn on video, that will look better than this. But
00:49
the network addresses usually put separately. And then each host has its address, just the last denoted next to it. So 10 10 10.1 is the I. P. Address assigned to host one.
01:00
Now, once again, is there a switch between host one and Router one off course there is, But this is a logical diagram, and I've left. The switch is out of the picture
01:10
now. Router one on fast eating at 00
01:14
interface on It's fascinating that 00 interface has the I. P address. 10 10 10 to 54
01:21
So this is one broadcast domain.
01:23
Then you have a second broadcast domain with the network address 2020 20 0 and host to sitting here with the I P address. 2020 22.
01:36
Router two's Fascinating as you know, slash one interface has the I. P address 2020 22 54
01:44
router one and two are connected to each other with 1/3 broadcast domain with the network address. 202 102 100 0 router ones. Serial 000 Interface being 202 102 101 and router to serial 000 interface being 200. 202 100.
02:08
wants to playing host to host one. For some reason. Always wants to play host.
02:13
Most one should quit
02:16
So Host one wants to paying host, too.
02:21
Host One creates an I C and B
02:25
Internet control messaging protocol that Pain works with
02:30
with a source I P. Address off 10 10 10 1 and a destination. I p address off 2020 22
02:40
Then host one needs to create an Internet framed for transmission on the local data link. Remember later, too
02:51
controls transmissions on the local data link. Hence it's called the Datalink. Clear the local data link being the link between Host one and Router one. Host one and F 00 off rather one.
03:05
So Host one needs to create an Internet friend. Host one is trying to paying 2020 22.
03:14
Host one has its own Mac address. Let's again presume that it is a a A. A.
03:23
However, Hosts one does not have the Mac address that belongs to 2020 22 which is host to and whose two's Mac, we'll say, is B B B B.
03:34
So since Host one does not have host to smack address, Host one sends an ARP request, which remember, it's a broadcast sent to the address to 55255255255 The all post broadcast address.
03:50
So Host one sends an art request request requesting the Mac address of the device. 2020 22.
03:58
Now, since this our request is a broadcast and broadcast cannot transfers a router by default.
04:05
This art request reaches router one
04:10
router. One sees that 2020 20 0 is not directly connected to it.
04:16
So Router one doesn't know where. 2020 20 0 it's It's a remote destination. So this our request reaches router lon F 00
04:30
knows that this is not a locally connected network
04:34
router, one replies back to host one
04:41
with the Mac address residing on F 00
04:45
This is because all routers
04:47
by default run a protocol called proxy proxy are on the Internet interfaces.
04:56
So basically what rather one does it proxies for host to and returns its own Mac address? Or the Mac address reciting on F 00 to host one.
05:08
At this point, Host one can create the Internet frame with the source. Mac Address A and the destination Mac Address being the Mac address off Roader one interface F 00
05:20
So Host one creates the Internet frame, encapsulate
05:27
the original ICMP echo packet inside of the data portion of the frame and sends the frame over to our one
05:34
are one at this point. Receives the frame and matches the destination i p. Destination Mac Address in the frame with the Mac address on F 00
05:45
Rather, one sees that this Mac address matches. So Router one discards the frame or Dean capitalist the frame and extracts the packet.
05:55
Now, inside of each router, there is a table. Call the I P routing table or the routing table
06:05
which has a listing off all the remote destinations that are available to the router and how to get to them
06:14
or what interface to send traffic out off the words that remote destination.
06:19
So rather one extracts the original packet
06:24
and matches or compares
06:26
the destination network address in the packet or the destination I p address in that packet
06:31
with a listing off all available networks available to that router or all networks available to that router.
06:39
Rather, one finds out that network 2020 20 0 is available
06:46
out bound off serial 000
06:53
So at this point rounder, one needs to create another frame
06:58
for transmission on the local data link between router one and router. To
07:01
now, as we saw, the default encapsulation type on a serial interface is HDL see and This is a serial link denoted by the thunderbolt.
07:13
So Router one encapsulate it's the original echo. Pack it in and HDL see frame and pushes it out. Serial 000 And remember, serial 000 doesn't have a Mac address, and it makes sense. Serial interface is don't have Mac addresses
07:30
because once you push something out of a serial interface,
07:32
there's only one device at the other end.
07:36
Router two is always going to get the information that router one pushes out of cereal 000 So new address ING scheme is required because this is not a monthly access network
07:48
in a multi access network, you have several devices that could be connected at the other end. So to differentiate them from each other, you need an address ing scheme like Mac addresses. But on a point to point link, if Ra one pushes out any data out of cereal 000
08:05
the only person sitting at the other end is router to,
08:09
and it's going to receive it.
08:11
So once again, Router one
08:13
creates a knish. TLC frame,
08:16
encapsulates the original echo packet inside of the SCLC frame and pushes it out serial 000 because rather one discovered looking at its I p routing table that network 2020 20 0 slash 30 is available out Serial 000
08:35
So that's the door I have to take.
08:37
You get to Network 2020 20 0
08:41
router to receive this SCLC frame d encapsulate sit or discards it and extracts the original packet.
08:50
The original Echo packet with source address. 10 10 10 1 and destination address. 2020 22
08:58
router to then compares the Destination I P address
09:03
in the original Echo packet against this I p Routing table again
09:07
and router to discovers that Hey, Network 2020 20 0 is directly connected on Fast Ethernet zero slash one
09:16
router to at this point, once again needs to create anything that frame for transmission on the local data link between router to at 01 and host, too.
09:26
Now, if router to Does not know, Host two's Mac address, which is B B B B router to sends out an art broadcast looking for the Mac address that belongs to I P 2020 22
09:41
host who receives the our broadcasts and unique *** back a reply.
09:48
Are two at this point. Has host Who's Mac address, which is B B B B
09:54
are two at this point. Creates the Internet frame with sore smack, the being the Mac address off the F zero slash one interface and the destination Mac being B B B B
10:07
rotter to pushes the frame out
10:16
and host to receives the frame and matches the destination. Mac address in the frame with its own map
10:22
sense. It matches host to will discard the frame or D encapsulate the frame and extract the original packet
10:31
host to will then match the destination i p. Address in the packet with its own I P, which is 2020 22. And since it matches host to will send back an echo reply
10:46
I'd be routing to re lecture. Now a few things to keep in mind
10:54
what would be the Destiny destination Mac address on the return frame from host to
11:01
your answer should be the destination. Mac would be the Mac address off the f zero slash one interface on router to
11:11
If you were asked how many times the packet was encapsulated between host one and host to your answer. Should be one encapsulation here
11:20
into Ethernet then d encapsulated than one encapsulation hair into h d l C and d encapsulated than another encapsulation here on Internet. So total of three encapsulation.
11:33
If you were asked, what is the destination Mac address in the frame as it leaves Router one s 000 You answer should be There is no Mac address in that frame.
11:43
This concludes the I P Routing theory lecture.