
Chapter 7: Second Level Commands | June 30, 2006 |
Route network 192.168.4.0 to Loopback interface 2:
Host(config)# ip route 192.168.4.0 255.255.255.0 194.90.1.22 loopback 3 <cr> Host(config)# end
Host> write terminal
...
ip route 192.168.4.0 255.255.255.0 194.90.1.22 loopback 3
...
Route network 192.168.4.0 to Ethernet interface 0\2:
Host(config)# ip route 192.168.4.0 255.255.255.0 ethernet 0\2 <cr> Host(config)# end
Host> write terminal
...
ip route 192.168.4.0 255.255.255.0 Ethernet 0\2
...
Route native IP user side network 192.168.4.0 to 192.168.1.1:
Host(config)# ip route nip 192.168.4.0 255.255.255.0 192.168.1.1 <cr> Host(config)# end
Host> write terminal
...
ip route nip 192.168.4.0 255.255.255.0 192.168.1.1
...
Route network 10.0.4.0/24 to tunnel interface 3:
Host(config)# ip route 10.0.4.0 255.255.255.0 tunnel 3 <cr> Host(config)# end
Host> write terminal
...
ip route nip 10.0.4.0 255.255.255.0 tunnel 3
...
Note: When assigning a
Host(config)# ip route 192.168.4.0 255.255.255.0 194.90.1.22 <cr> Operation Error:
Note: It is not valid to add an ip route when the destination address is already in the subnet of the system interfaces.
|