(a)135.46.63.10
Find network address using bit mask 255.255.252.0 (22 bit bit massk)
| 135.46.63.10 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | . | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | . | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | . | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
| 255.255.252.0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | . | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | . | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | . | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | . | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | . | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | . | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
network address =135.46.60.0
So longest matching network address with same bit mask in routing table is 135.46.60.0
So 135.46.63.10 is forwarded to interface 1
(b) 135.46.57.14
Find network address using bit mask 255.255.252.0 (22 bit bit massk)
| 135.46.57.14 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | . | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | . | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | . | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 |
| 255.255.252.0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
| 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
network address =135.46.56.0
So longest matching network address with same bit mask in routing table is 135.46.56.0
So 135.46.57.14 is forwarded to interface 0
(c)135.46.52.2
Find network address using bit mask 255.255.252.0 (22 bit bit massk)
| 135.46.52.2 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | . | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | . | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | . | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
| 255.255.252.0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | . | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | . | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | . | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | . | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | . | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | . | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
network address =135.45.52.0. It dose not matche the network addresses of the first three rows in routing table. The packet will be forwarded to default gateway Router 2.
(d). 192.53.40.7
By finding network address using bit mask 255.255.254.0 (23 bit bit
massk),we get network address as 192.53.40.0. It matches the
network address of the third row. The packet will be forwarded to
Router 1.
(e)192.53.56.7
By finding network address using bit mask 255.255.254.0 (23 bit bit massk),we get network address as 192.53.40.0. t dose not matche the network addresses of the first three rows in routing table. The packet will be forwarded to default gateway Router 2.
1. (IP Forwarding) A router has the following entries in its routing table Address/mask 135.46.56.0/22 135.46.60.0/22...
A router has the following (CIDR) entries in its routing table: Address/mask 135.46.56.0/22 135.46.60.0/22 92.53.40.0/23 Router 1 Next hop Interface 0 Interface 1 For each of the following IP addresses, what does the router do if a packet with that address arrives? Explain your answer and provide details of your response. (a) 135.46.63.10 (b) 135.46.57.14 (c) 192.53.40.7
A router has the following CIDR entries in its routing table: Address/mask 135.46.56.0/22 135.46.60.0/22 92.53.40.0/23 default Next hop Interface 0 Interface 1 Router 1 Router 2 What does the router do, if a packet arrives with each of the destination addresses given below? 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
A router has the following CIDR entries in its routing table: Address/mask 128.56.24.0/22 128.56.60.0/22 default Next hop Interface 0 Interface 1 Router 2 A packet comes with IP address of 128.56.63.10. What does the router do?
5. A router has the following CIDR entries in its routing table Address/mask 135.46.0.0/16 135.46.60.0/24 135.46.80.12/32 192.53.40.0/24 192.53.40.7/32 0.0.0.0/0 (default) RoterF Next hop Router A Router B Router C Router D Router E For each of the following IP addresses, list all the matching targets first, and then indicate which match is chosen and explain why a) 135.46.60.10 b) 135.46.57.14 c) 135.46.80.18 d) 192.53.40.7 e) 192.53.56.7
Row Network/Subnet 0.0.0.0 1 128.171.0.0 172.30.33.0 Mask (/Prefix) Metric (Cost) Interface Next Hop Router 0.0.0.0 (/0) 255.255.0.0/16) 47 255.255.255.0 (/24) Local 255.255.255.0/24) 12 255.255.255.0 (/24) 55 255.255.255.0 (/24) 34 Local 255.255.255.0 (/24) 20 192.168.6.0 128.171.17.0 172.29.8.0 172.29.8.0 For the routing table above, if the arriving packet has a destination IP address 128.171.17.56, it will match with row 1 5 3
Question 6 A router has the following routing table: Destination Address Range Link Interface 123.46.56.0/22 1 123.46.56.0/23 2 123.46.56.0/24 3 Otherwise 4 The router uses longest-prefix matching. On which interface will the router send each of the following received packets: Packet 1 with a destination: 123.46.56.1 Packet 2 with a destination: 123.46.56.2 Packet 3 with a destination: 123.46.56.3 Packet 4 with a destination: 123.46.56.4
CIDR. The table below is a routing table using Classless Interdomain Routing (CIDR). Address bytes for the subnet number as well as the subnet mask are h hexadecimal notation. Thus, the subnet number 128.46.101.0 is represented as 80.2E.65.0 and the subnet mask 255.255.255.0 is represented as FF.FF.FF.0 Next Hop Subnet Number C4.5E.40.0 C4.5E.4F.0 C4.50.0.0 C4.5E.0.0 Default Subnet Mask FF FF F0.00 FF FF.FF.00 FF F0.00.00 FF FF.00.00 State to what next hop a packet for the following destination IP addresses...
with explanation please
Answer the following: 140.24.7.0/26 170.14.0.0/16 140.24.7.5 170.14.5.165 180.55.0.0/16 140.24.7.64/26 m1 m3 140.24.7.78 R1 mo R2 180.55.100.30 m2 180.55.60.14 mo m3 145.80.7.11 190.220.44.67 140.24.7.128/26 140.24.7.130 145.80.0.0/16 Rest of Internet a) Find the routing table for router R1. Mask Network Address Next hop Interface b) Find the routing table for router R2. Mask Network Address | Next hop Interface c) A packet arrives at router R1 with destination address 145.80.14.26. Show how it is forwarded. d) A packet arrives...
Consider the following forwarding table. Destination Address Range Link Interface 10000011 00000001 00110000 00000000 through 10000011 00000001 00110111 11111111 0 10000011 00000001 00111000 00000000 through 10000011 00000001 00111111 11111111 1 10000011 00000001 00110000 00000000 through 10000011 00000001 00110001 11111111 2 10000011 00000001 00110010 00000000 through 10000011 00000001 00110011 11111111 3 Otherwise 4 a) For each of the following IP address, what does the router do if packets with the following addresses arrive? Explain why briefly. 131.1.64.1 131.1.51.20 131.1.49.7 131.1.60.120 131.1.52.59 ...
Test Your Understanding 10. a) Distinguish between Step 1 and Step 2 in the routing process. b) If any row other than the default row matches an IPv4 address, why will the router never choose the default row? c) Which rows in Figure 8-11 match 128.171.17.13? (Don't forgst the default row.) Show your calculations for rows that match. d) Which of these is the best-match row? Justify your answer. e) What rows match 172.40.17.6? Show your calculations for rows that...