This is an old revision of the document!
set system host-name r1 set interfaces et-0/0/8 unit 0 family inet address 172.16.1.1/24 set routing-options static route 172.16.40.0/24 next-hop 172.16.1.2
set system host-name r2 set interfaces et-0/0/8 unit 0 family inet address 172.16.1.2/24 set interfaces lo0 unit 0 family inet address 172.16.40.1/24
root@r1> show route protocol static 172.16.40.0/24 inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 172.16.40.0/24 *[Static/5] 00:00:49 > to 172.16.1.2 via et-0/0/8.0
root@r1> ping 172.16.40.1 rapid PING 172.16.40.1 (172.16.40.1) 56(84) bytes of data. !!!!! --- 172.16.40.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 43ms rtt min/avg/max/mdev = 8.486/9.865/14.538/2.346 ms, ipg/ewma 10.684/12.108 ms