Internet Working Addressing and Routing Updated

75
Slide 1 of 3 2 Internetworking, Addressing and Routing

Transcript of Internet Working Addressing and Routing Updated

Page 1: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 1/75

Slide 1 of 32

Internetworking, Addressing and

Routing

Page 2: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 2/75

Slide 2 of 32

Topic & Structure of the lesson

� Internetworks

� Addressing

� Routing

Page 3: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 3/75

Slide 3 of 32

Learning Outcomes

� At the end of this session you should be

able to:-

 ± Understand the concept of interworking andthe need for the network layer in an

internetwork.

 ± Understand the type of switching used in the

Internet.

Page 4: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 4/75

Slide 4 of 32

Position of network layer 

Page 5: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 5/75

Slide 5 of 32

Network layer duties

Page 6: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 6/75

Slide 6 of 32

InternetworksInternetworks

Need For Network Layer 

Internet As A Packet-Switched Network 

Internet As A Connectionless Network 

Page 7: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 7/75

Slide 7 of 32

Fig1 Internetwork

Page 8: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 8/75

Slide 8 of 32

Fig2 Links in an internetwork

Page 9: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 9/75

Slide 9 of 32

Fig3 Network layer in an internetwork

Page 10: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 10/75

Slide 10 of 32

Fig4 Network layer at the source

Page 11: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 11/75

Slide 11 of 32

Fig5 Network layer at a router 

Page 12: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 12/75

Slide 12 of 32

Fig6 Network layer at the destination

Page 13: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 13/75

Slide 13 of 32

Fig7 Switching

Page 14: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 14/75

Slide 14 of 32

Fig8 Datagram approach

Page 15: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 15/75

Slide 15 of 32

 Switching at the network layer in the

 Internet is done using the datagram

approach to packet switching.

NoteNote::

Page 16: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 16/75

Slide 16 of 32

C ommunication at the network layer 

in the Internet is connectionless.

NoteNote::

Page 17: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 17/75

Slide 17 of 32

AddressingAddressing

Internet Address

Classful Addressing 

Supernetting 

Subnetting 

Classless Addressing 

Dynamic Address Configuration

Network Address Translation

Page 18: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 18/75

Slide 18 of 32

 An IP address is a 32-bit address.

NoteNote::

Page 19: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 19/75

Slide 19 of 32

T he IP addresses are unique

and universal.

NoteNote::

Page 20: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 20/75

Slide 20 of 32

Fig9 Dotted-decimal notation

Page 21: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 21/75

Slide 21 of 32

T he binary, decimal, and hexadecimal 

number systems are reviewed in

 A ppendix B.

NoteNote::

Page 22: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 22/75

Slide 22 of 32

 E  xample 1 E  xample 1

Change the following IP addresses from binary notation to dotted-

decimal notation.

a. 10000001 00001011 00001011 11101111

 b. 11111001 10011011 11111011 00001111

 Solution Solution

We replace each group of 8 bits with its equivalent decimal

number (see Appendix B) and add dots for separation:

a. 129.11.11.239

b. 249.155.251.15

Page 23: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 23/75

Slide 23 of 32

 E  xample 2 E  xample 2

Change the following IP addresses from dotted-decimal notation to

 binary notation.

a. 111.56.45.78

 b. 75.45.34.78

 Solution Solution

We replace each decimal number with its binary equivalent

(see Appendix B):

a. 01101111 00111000 00101101 01001110

b. 01001011 00101101 00100010 01001110

Page 24: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 24/75

Slide 24 of 32

 In classful addressing, the address

space is divided into five classes:  A , B,C  , D, and  E  .

NoteNote::

Page 25: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 25/75

Slide 25 of 32

Fig10 Finding the class in binary notation

Page 26: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 26/75

Slide 26 of 32

Fig11 Finding the address class

Page 27: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 27/75

Slide 27 of 32

 E  xample 3 E  xample 3

Find the class of each address:

a. 000000001 00001011 00001011 11101111 b. 111111110011 10011011 11111011 00001111

 Solution Solution

See the procedure in Figure 19.11.

a. The first bit is 0; this is a class A address.

b. The first 4 bits are 1s; this is a class E address.

Page 28: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 28/75

Slide 28 of 32

Fig12 Finding the class in decimal notation

Page 29: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 29/75

Slide 29 of 32

 E  xample 4 E  xample 4

Find the class of each address:

a. 227.12.14.87

 b. 252.5.15.111

c. 134.11.78.56

 Solution Solutiona. The first byte is 227 (between 224 and 239); the class is D.

b. The first byte is 252 (between 240 and 255); the class is E.

c. The first byte is 134 (between 128 and 191); the class is B.

Page 30: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 30/75

Slide 30 of 32

Fig13 Netid and hostid

Page 31: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 31/75

Slide 31 of 32

Fig14 Blocks in class A

Page 32: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 32/75

Slide 32 of 32

 M illions of class  A addresses are

wasted.

NoteNote::

Page 33: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 33/75

Slide 33 of 32

Fig15 Blocks in class B

Page 34: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 34/75

Slide 34 of 32

 M any class B addresses are wasted.

NoteNote::

Page 35: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 35/75

Slide 35 of 32

T he number of addresses in class C  is

smaller than the needs of most organizations.

NoteNote::

Page 36: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 36/75

Slide 36 of 32

Fig16 Blocks in class C

Page 37: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 37/75

Slide 37 of 32

Fig17 Network address

Page 38: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 38/75

Slide 38 of 32

 In classful addressing, the network 

address is the one that is assigned tothe organization.

NoteNote::

Page 39: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 39/75

Slide 39 of 32

 E  xample 5 E  xample 5

Given the address 23.56.7.91, find the network address.

 Solution Solution

The class is A. Only the first byte defines the netid.We can find the network 

address by replacing the hostid bytes (56.7.91) with 0s. Therefore, the

network address is 23.0.0.0.

Page 40: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 40/75

Slide 40 of 32

 E  xample 6  E  xample 6 

Given the address 132.6.17.85, find the network address.

 Solution Solution

The class is B. The first 2 bytes defines the netid.We can find the network 

address by replacing the hostid bytes (17.85) with 0s. Therefore, the

network address is 132.6.0.0.

Page 41: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 41/75

Slide 41 of 32

 E  xample 7  E  xample 7 

Given the network address 17.0.0.0, find the class.

 Solution SolutionThe class is A because the netid is only 1 byte.

Page 42: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 42/75

Slide 42 of 32

 A network address is different from a

netid.  A network address has both

netid and hostid,

with 0s for the hostid.

NoteNote::

Page 43: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 43/75

Slide 43 of 32

Fig18 Sample internet

Page 44: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 44/75

Slide 44 of 32

 IP addresses are designed with two

levels of hierarchy.

NoteNote::

Page 45: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 45/75

Page 46: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 46/75

Slide 46 of 32

Fig20 A network with three levels of hierarchy (subnetted)

Page 47: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 47/75

Slide 47 of 32

Fig21 Addresses in a network with and without

subnetting

Fi 22 Hi h t i t l h

Page 48: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 48/75

Slide 48 of 32

Fig22 Hierarchy concept in a telephone

number 

Page 49: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 49/75

Slide 49 of 32

Table1 Default masks

Class  In Binary In Dotted-

 Decimal Using Slash

 A  11111111 00000000 00000000 00000000 255.0.0.0 /8

B 11111111 11111111 00000000 00000000 255.255.0.0 /16

C 11111111 111111111 11111111 00000000 255.255.255.0 /24

Page 50: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 50/75

Slide 50 of 32

T he network address can be found 

by applying the default mask to any

address in the block (including itself). It retains the netid of the block and 

sets the hostid to 0s.

NoteNote::

Page 51: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 51/75

Slide 51 of 32

 E  xample 8 E  xample 8A router outside the organization receives a packet with destination

address 190.240.7.91. Show how it finds the network address to

route the packet.

 Solution SolutionThe router follows three steps:

1. The router looks at the first byte of the address to find the

class. It is class B.

2. The default mask for class B is 255.255.0.0. The router ANDsthis mask with the address to get 190.240.0.0.

3. The router looks in its routing table to find out how to route the

 packet to this destination. Later, we will see what happens if 

this destination does not exist.

Page 52: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 52/75

Slide 52 of 32

Fig23 Subnet mask

Page 53: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 53/75

Slide 53 of 32

 E  xample 9 E  xample 9

A router inside the organization receives the same packet with

destination address 190.240.33.91. Show how it finds the

subnetwork address to route the packet.

 Solution Solution

The router follows three steps:

1. The router must know the mask.We assume it is /19, as shown in

Figure 19.23.

2. The router applies the mask to the address, 190.240.33.91. The subnet

address is 190.240.32.0.

3. The router looks in its routing table to find how to route the packet to

this destination. Later, we will see what happens if this destination does

not exist.

Page 54: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 54/75

Slide 54 of 32

� If a company wants to have a subnet 12, thethird byte of all machines on that subnet will be

00001100 (12).

� One byte dedicated to the subnet provides eight

bit positions.� Formula for calculating the maximum no. of  

subnets and the maximum no. of hosts per  

subnets.

� Max. no. of subnets= 2no.Of 1bits in subnet mask - 2

� Max. no. of hosts/subnet= 2no.Of 0bits in subnet mask - 2

Page 55: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 55/75

Slide 55 of 32

� NETWORK ADDRESS:

� 182 . 16 . 52 . 10/19

� SUBNETMASK:

� 11111111.11111111.11100000.00000000

� 255 . 255 . 224 . 0

� No. of subnets = 23 -2= 6

� No. of host/subnet= 213

-2= 8190 hosts per subnet.

� 1s in the third byte represent # of subnets.

� 0s represent # of hosts.

Page 56: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 56/75

Slide 56 of 32

� Q1: If you have a Class C Network with

a 6 bit Subnet mask, how many subnets

and how many hosts do you have?

� Q2: If you have a 19 bit subnet mask,how many subnets and hosts do have?

Page 57: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 57/75

Slide 57 of 32

� Ans1: Class C: Net . Net . Net . Node

� 11111111 .11111111 . 11111111.

11111100

� # of subnets= 26 - 2 =62� # of hosts = 22 - 2= 2

� Ans2:

� 11111111.11111111.11111111.11100000

� subnets = 219 - 2= 524288

� hosts = 25 - 2 = 30.

Page 58: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 58/75

Slide 58 of 32

� Q3: You have a network ID of  172.16.0.0 and you need to divide it

into multiple subnets. You need 600

host Ids for each subnet. Which subnet

mask should you assign that will allow

for growth?

� A. 255.255.224.0

� B. 255.255.240.0

� C. 255.255.248.0

� D. 255.255.252.0

Page 59: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 59/75

Slide 59 of 32

� It¶s a Class-B address:

� 2n -2 > 600

� n=10 210-2 > 600 therefore 10 bits

for hosts.� Remaining bits = 6 for subnets.

� 26 - 2 = 64 - 2 = 62

� 11111111.11111111.11111100.00000000

� Ans is D: 255.255.252.0

Page 60: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 60/75

Slide 60 of 32

Fig24 DHCP transition diagram

Page 61: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 61/75

Slide 61 of 32

Table2 Default masks

 Range T otal 

10.0.0.0 to 10.255.255.255 224

172.16.0.0 to 172.31.255.255 220

192.168.0.0 to 192.168.255.255 216

Page 62: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 62/75

Slide 62 of 32

Fig25 NAT

Page 63: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 63/75

Slide 63 of 32

Fig26 Address translation

Page 64: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 64/75

Slide 64 of 32

Fig27 Translation

Page 65: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 65/75

Slide 65 of 32

Table 3 Five-column translation table

 Private

 Address

 Private

 Port 

 External 

 Address

 External 

 Port 

Transport 

 Protocol 

172.18.3.1 1400 25.8.3.2 80 TCP

172.18.3.2 1401 25.8.3.2 80 TCP

... ... ... ... ...

Page 66: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 66/75

Slide 66 of 32

RoutingRouting

R outing Techniques

Static Versus Dynamic R outing 

R outing Table for Classful Addressing 

R outing Table for Classless Addressing 

Page 67: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 67/75

Slide 67 of 32

Fig28 Next-hop routing

Page 68: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 68/75

Slide 68 of 32

Fig29 Network-specific routing

Page 69: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 69/75

Slide 69 of 32

Fig30 Host-specific routing

Page 70: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 70/75

Slide 70 of 32

Fig31 Default routing

Page 71: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 71/75

Slide 71 of 32

Fig32 Classful addressing routing table

Page 72: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 72/75

Slide 72 of 32

 E  xample 10 E  xample 10

Using the table in Figure 19.32, the router receives a packet for 

destination 192.16.7.1. For each row, the mask is applied to the

destination address until a match with the destination address is

found. In this example, the router sends the packet through

interface m0 (host specific).

Page 73: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 73/75

Page 74: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 74/75

Slide 74 of 32

 E  xample 12 E  xample 12

Using the table in Figure 19.32, the router receives a packet for 

destination 200.34.12.34. For each row, the mask is applied to the

destination address, but no match is found. In this example, the

router sends the packet through the default interface m0.

Page 75: Internet Working Addressing and Routing Updated

8/7/2019 Internet Working Addressing and Routing Updated

http://slidepdf.com/reader/full/internet-working-addressing-and-routing-updated 75/75

Q & A

Question and Answer Session