Next Hop Values
On R2, verify that there is a BGP route to 1.1.1.1.
user1@R2>
user1@R2> show route 1.1.1.1
inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 *[BGP/170] 5d 13:58:29, localpref 100
AS path: 17 17 17 17 I, validation-state: unverified
> to 10.10.10.1 via ge-0/0/1.0
On R1, configure static route to 10.22.1.32/27 with next-hop 10.10.10.2, preference 6. The ping from R1’s loopback to R2’s 10.22.1.34 interface must succeed. How RIB looks like, when a static route is configured with a next hop set to the IP address of the directly-attached host: