Routing experience experiment

experiment

 

Left router:

system-view
sysname r1
interface gi 0/0
ip address 10.1.1.1 30
quit
interface lo0
ip address 192.168.10.1 24
ip route-static 172.16.1.0 24 10.1.1.2
ip route-static 10.1.1.4 30 10.1.1.2

 

Intermediate routers:

system-view
sysname r2
interface gi 0/0
ip address 10.1.1.2 30
quit
interface gi 0/1
ip address 10.1.1.5 30

ip route-static 192.168.10.0 24 10.1.1.1
ip route-static 172.16.1.0 24 10.1.1.6

 

The right router:
System-View
Sysname R3
interface GI 0/0
IP address 10.1.1.6 30
quit
interface lo0
IP address 172.16.1.1 24
IP 192.168.10.0 route-2410.1.1.5 static
IP route-static 10.1.1.0 10.1.1.5 30

 

Left router:

system-view
sysname r1
interface gi 0/0
ip address 10.1.1.1 30
quit
interface lo0
ip address 192.168.10.1 24
ip route-static 172.16.1.0 24 10.1.1.2
ip route-static 10.1.1.4 30 10.1.1.2

 

Intermediate routers:

system-view
sysname r2
interface gi 0/0
ip address 10.1.1.2 30
quit
interface gi 0/1
ip address 10.1.1.5 30

ip route-static 192.168.10.0 24 10.1.1.1
ip route-static 172.16.1.0 24 10.1.1.6

 

The right router:
System-View
Sysname R3
interface GI 0/0
IP address 10.1.1.6 30
quit
interface lo0
IP address 172.16.1.1 24
IP 192.168.10.0 route-2410.1.1.5 static
IP route-static 10.1.1.0 10.1.1.5 30

 

Guess you like

Origin www.cnblogs.com/cn-2/p/11939769.html
Recommended