First page Back Continue Last page Image

Configuring IPv4 Next-Hop Static Routes – Exit IP

R1(config)# ip route 172.16.1.0 255.255.255.0 172.16.2.2

R1(config)# ip route 192.168.1.0 255.255.255.0 172.16.2.2

R1(config)# ip route 192.168.2.0 255.255.255.0 172.16.2.2

In a next-hop static route the exit interface is determined based on the provided next hop IP address

Here are the commands to create three next-hop IPv4 static routes on R1 using the IP address of the next hop through R2

172.16.2.0/30

172.16.3.0/24

.2

.1

.1

172.16.1.0/24

192.168.1.0/24

192.168.2.0/24