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 next-hop address which is not in the interfaces subnet, the system should ignore the command and indicate the reason.

Host(config)# ip route 192.168.4.0 255.255.255.0 194.90.1.22 <cr> Operation Error:

Next-hop is not valid to this interface

Note: It is not valid to add an ip route when the destination address is already in the subnet of the system interfaces.

7-54

SG1-UM-8500-03

Page 134
Image 134
ADC SG-1 user manual Route network 192.168.4.0 to Loopback interface