• In the previous lesson, you established the session between R2 and R4.
    The session is up, and R4 receives the prefix 192.168.1.0/24.

    However, R4 does not install this route in its routing table.

    R2 in AS 65002 passes 192.168.1.0/24 to R4 over iBGP and keeps the original next hop 10.0.12.1 learned from R1

    Figure 1 – preserves the next hop

    To understand why this happens, examine the Next Hop column in the table on R4:

    R4# show ip bgp
    <output omitted>
    
         Network          Next Hop            Metric LocPrf Weight Path
     * i  192.168.1.0      10.0.12.1                0    100      0 65001 i

    Look at the status flags.
    The asterisk (*) indicates a valid route. However, the greater-than symbol (>) is missing.
    The route is not selected as the best path because R4 cannot reach the Next Hop IP address (10.0.12.1).

    Why does iBGP preserve the original Next Hop?

    By design, and handle Next Hop attributes differently:

    • : When an router forwards a route across AS boundaries, it changes the Next Hop address to its own IP address.

    • : When an router forwards a route inside the same AS, it retains the original Next Hop address.

    R4 holds 192.168.1.0/24 with next hop 10.0.12.1 but has no route to that address because the customer link is not in OSPF

    Figure 2 – Unreachable next hop on R4

    R1 sent 192.168.1.0/24 to R2 with Next Hop 10.0.12.1.
    When R2 forwarded this route to R4 via , R2 kept 10.0.12.1 as the Next Hop address.

    Answer the question below

    Which BGP type keeps the original Next Hop address unchanged?

    How does Next-Hop reachability fail?

    The IP address 10.0.12.1 belongs to the link between R1 and R2 (10.0.12.0/30).
    In your core network, handles internal routing.

    However, you intentionally excluded external customer links from .
    Because does not know the 10.0.12.0/30 subnet, R4 has no internal path to reach 10.0.12.1.

    Check the IP routing table on R4 to confirm:

    R4# show ip route bgp
    R4#

    The output is empty.
    R4 refuses to install the route because a router never installs a path if its Next Hop address is unreachable in the routing table.

    Answer the question below

    Which subnet does R4 have no route to?