Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For the routing table given below, please determine the next hop for the IP addr

ID: 3739284 • Letter: F

Question

For the routing table given below, please determine the next hop for the IP addresses a) to i) - show your reasoning. Note the mask for

128.96.168.0

255.255.252.0

   Is equivalent to 128.96.168.0/22   etc.

a) 128.96.171.92

b) 128.96.167.151

c) 128.96.163.151

d)128.96.169.9

e)128.96.165.121

f) 128.96.168.17

g) 128.96.166.160

h) 128.96.166.126

i) 128.96.168.27

Routing Table

SubnetNumber

SubnetMask

NextHop

128.96.170.0

255.255.254.0      /23

Interface 0

128.96.168.0

255.255.254.0      /23

Interface 1

128.96.166.0

255.255.254.0      /23

R2

128.96.160.0

255.255.240.0      /20

R3

128.96.168.16

255.255.255.240      /28

R4

128.96.166.0

255.255.255.192      /25

R5

128.96.166.128

255.255.255.248      /29

R6

128.96.166.64

255.255.255.192      /26

R7

128.96.166.8

255.255.255.248      /29

R8

0.0.0.0

0.0.0.0

R9

a) 128.96.171.92

b) 128.96.167.151

c) 128.96.163.151

d) 128.96.169.9

e) 128.96.165.121

f) 128.96.168.17

g) 128.96.166.160

h) 128.96.166.126

i) 128.96.168.27

128.96.168.0

255.255.252.0

Explanation / Answer

IP Routing Principle steps:

Note - If there are more than one matches found then take the one having longest prefix match (Where the mask has more number of 1 bit)

a) 128.96.171.92

SubnetNumber

SubnetMask

Network address of 128.96.171.92 (Ipaddress & mask)

128.96.170.0

255.255.254.0      /23

128.96.168.0

255.255.254.0      /23

128.96.166.0

255.255.254.0      /23

128.96.171.92

128.96.160.0

255.255.240.0      /20

128.96.160.0

128.96.168.16

255.255.255.240      /28

128.96.171.80

128.96.166.0

255.255.255.192      /26

128.96.171.64

128.96.166.128

255.255.255.248      /29

128.96.171.88

128.96.166.64

255.255.255.192      /26

128.96.171.64

128.96.166.8

255.255.255.248      /29

128.96.171.88

0.0.0.0

Two matches found 128.96.170.0 and 128.96.160.0 and 0.0.0.0 But the longest prefix match is 128.96.170.0

so the next hop would be interface0

b)

128.96.167.151

SubnetNumber

SubnetMask

Network address of 128.96.167.151 (Ipaddress & mask)

128.96.170.0

255.255.254.0      /23

128.96.168.0

255.255.254.0      /23

128.96.166.0

255.255.254.0      /23

128.96.166.0

128.96.160.0

255.255.240.0      /20

128.96.160.0

128.96.168.16

255.255.255.240      /28

128.96.167.144

128.96.166.0

255.255.255.192      /26

128.96.167.128

128.96.166.128

255.255.255.248      /29

128.96.167.144

128.96.166.64

255.255.255.192      /26

128.96.167.128

128.96.166.8

255.255.255.248      /29

128.96.167.144

0.0.0.0

Two matches found 128.96.166.0 and 128.96.160.0 and 0.0.0.0 But the longest prefix match is 128.96.166.0

so the next hop would be R5

c)

128.96.163.151

SubnetNumber

SubnetMask

Network address of 128.96.163.151 (Ipaddress & mask)

128.96.170.0

255.255.254.0      /23

128.96.168.0

255.255.254.0      /23

128.96.166.0

255.255.254.0      /23

128.96.162.0

128.96.160.0

255.255.240.0      /20

128.96.160.0

128.96.168.16

255.255.255.240      /28

128.96.163.144

128.96.166.0

255.255.255.192      /26

128.96.163.128

128.96.166.128

255.255.255.248      /29

128.96.163.144

128.96.166.64

255.255.255.192      /26

128.96.163.128

128.96.166.8

255.255.255.248      /29

128.96.163.144

0.0.0.0

Two matches found 0.0.0.0 and 128.96.160.0 But the longest prefix match is 128.96.160.0

so the next hop would be R3

d)

128.96.169.9

SubnetNumber

SubnetMask

Network address of 128.96.169.9 (Ipaddress & mask)

128.96.170.0

255.255.254.0      /23

128.96.168.0

255.255.254.0      /23

128.96.166.0

255.255.254.0      /23

128.96.168.0

128.96.160.0

255.255.240.0      /20

128.96.160.0

128.96.168.16

255.255.255.240      /28

128.96.169.0

128.96.166.0

255.255.255.192      /25

128.96.169.0

128.96.166.128

255.255.255.248      /29

128.96.169.8

128.96.166.64

255.255.255.192      /26

128.96.169.0

128.96.166.8

255.255.255.248      /29

128.96.169.8

0.0.0.0

Two matches found 128.96.168.0 and 128.96.160.0 and 0.0.0.0 But the longest prefix match is 128.96.168.0

so the next hop would be interface1

SubnetNumber

SubnetMask

Network address of 128.96.171.92 (Ipaddress & mask)

128.96.170.0

255.255.254.0      /23

128.96.170.0

128.96.168.0

255.255.254.0      /23

128.96.170.0

128.96.166.0

255.255.254.0      /23

128.96.171.92

128.96.160.0

255.255.240.0      /20

128.96.160.0

128.96.168.16

255.255.255.240      /28

128.96.171.80

128.96.166.0

255.255.255.192      /26

128.96.171.64

128.96.166.128

255.255.255.248      /29

128.96.171.88

128.96.166.64

255.255.255.192      /26

128.96.171.64

128.96.166.8

255.255.255.248      /29

128.96.171.88

0.0.0.0

0.0.0.0 0.0.0.0
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote