Router(config)#ip route 192.168.100.0 255.255.255.0 192.168.1.2
192.168.100.0 = destination network
255.255.255.0 = subnet mask
192.168.1.2 = next-hop address
Router(config)#ip route 192.168.100.0 255.255.255.0 s0/0
255.255.255.0 = subnet mask
s0/0 = exit interface
0 comments:
Post a Comment