5,825 views
3 votes
3 votes

A router has the following (CIDR) entries in its routing table:
 

 Address/Mask Next hop
135.46.56.0/22 Interface 0
135.46.60.0/22 Interface 1
192.53.40.0/23 Router 1
default Router 2

For each of the following IP addresses, what does the router do if a packet with that
address arrives?
(a) 135.46.63.10
(b) 135.46.57.14
(c) 135.46.52.2
(d) 192.53.40.7
(e) 192.53.56.7

1 Answer

4 votes
4 votes

here longest Prefix Match will be done for forwarding

Entries in Router's table

10000111.00101110.00111000.00000000/22:  Interface 0

10000111.00101110.00111100.00000000/22:  Interface 1

11000000.00110101.00101000.00000000/23:  Router 1

Default:  Router 2

a. 10000111.00101110.00111111.00001010 it goes to interface 1

b. 10000111.00101110.00111001.00001110 it goes to interface 0

c. 10000111.00101110.00110100.00000010  it goes to router 2

d. 11000000.00110101.00101000.00000111 it goes to router 1

e. 11000000.00110101.00111000.00000111 it goes to router 2

Related questions

3.0k
views
1 answers
0 votes
ajaysoni1924 asked Mar 18, 2019
2,971 views
The set of IP addresses from 29.18.0.0 to 19.18.128.255 has been aggregated to29.18.0.0/17. However, there is a gap of 1024 unassigned addresses from ... table, and then see if any reaggregation is possible? If not,what can be done instead?
4.7k
views
1 answers
0 votes
ajaysoni1924 asked Mar 18, 2019
4,667 views
A router has just received the following new IP addresses: 57.6.96.0/21,57.6.104.0/21, 57.6.112.0/21, and 57.6.120.0/21. If all of them use the same outgoingline, can they be aggregated? If so, to what? If not, why not?
16.3k
views
2 answers
1 votes
ajaysoni1924 asked Mar 18, 2019
16,255 views
A large number of consecutive IP addresses are available starting at 198.16.0.0. Supposethat four organizations, A, B, C, and D, request 4000, 2000, 4000, and 8000 ... ,the last IP address assigned, and the mask in the w.x.y.z/s notation.
599
views
0 answers
0 votes
ajaysoni1924 asked Mar 18, 2019
599 views
While IP addresses are tried to specific networks, Ethernet addresses are not. Can youthink of a good reason why they are not?