Network Design and Operations
Branch router R2 is connected to head-office router R1 over a 10.255.0.0/30 link, with R1's end at 10.255.0.1 and R2's at 10.255.0.2. When a static route to the head-office network 192.168.1.0/24 is configured on R2, which address is appropriate as the next hop?
- A10.255.0.1
- B10.255.0.2
- C192.168.1.1 (R1's address on the head-office LAN)
Show answer and explanation
Answer: A. 10.255.0.1
A static route specifies the destination network and the address of the next router to hand packets to (the next hop). As a rule, the next hop is the address of a neighboring router on a network to which the router is directly connected. Here it is R1's address on the other end of the link, 10.255.0.1, and R2 uses ARP to find the MAC address for it before sending frames. When a branch has only one way out, a common alternative to writing a route for each destination is to configure just one default route, 0.0.0.0/0.
- A. Correct. It is the address of R1, the directly connected neighbor router.
- B. This is R2's own address, so it cannot be the next router to hand packets to.
- C. This address is not on a network directly connected to R2, and R2 has no route to it, so it cannot be used as the next hop.