______________________________________________________________________________________________________________
Router3: Router>en Router#config t Router(config)#hostname R3 R3(config)#int FastEthernet0/0 R3(config-if)#ip addr 192.168.2.1 255.255.255.0 R3(config-if)#no shutdown R3(config)#int Serial0/0/0 R3(config-if)#ip addr 61.177.7.2 255.255.255.0 R3(config-if)#no shutdown R3(config)#int Tunnel0 R3(config-if)#ip addr 192.168.3.2 255.255.255.0 R3(config-if)# tunnel source Serial0/0/0 R3(config-if)# tunnel destination 202.102.60.1 R3(config-if)#no shutdown R3(config-if)#exit R3(config)# router rip R3(config -router)# network 192.168.2.0 R3(config -router)# network 192.168.3.0 R3(config -router)# no auto-summary R3(config- router)#exit 精品资料
______________________________________________________________________________________________________________
R3(config)# ip route 0.0.0.0 0.0.0.0 Serial0/0/0 R3(config)#end 四、实验实习过程或算法(源程序、代码) Router0: Router>en Router#config t Router(config)#hostname R0 R0(config)#int serial0/0/0 R0(config-if)#ip addr 202.102.60.2 255.255.255.0 R0(config)#Int serial0/0/1 R0(config-if)#ip a 218.30.1.1 255.255.255.0 R0(config-if)#Clock rate 64000 R0(config-if)#No shutdown R0(config-if)#exit R0(config)# ip route 61.177.7.0 255.255.255.0 218.30.1.2 R0(config)#end Router1: Router>en Router#config t 精品资料
______________________________________________________________________________________________________________
Router(config)#hostname R1 R1(config)#int serial0/0/0 R1(config-if)#ip addr 61.177.7.1 255.255.255.0 R1(config-if)#Clock rate 64000 R1 (config-if)#No shutdown R1 (config)#Int serial0/0/1 R1 (config-if)#ip addr 218.30.1.2 255.255.255.0 R1 (config-if)#No shutdown R1 (config-if)#exit R1 (config)# ip route 202.102.60.0 255.255.255.0 218.30.1.1 R1 (config)#end Router2: Router>en Router#config t Router(config)#hostname R2 R2(config)#int FastEthernet0/0 R2(config-if)#ip addr 192.168.1.1 255.255.255.0 R2(config-if)#no shutdown R2(config)#int Serial0/0/0 R2(config-if)#ip addr 202.102.60.1 255.255.255.0 精品资料
______________________________________________________________________________________________________________
R2(config-if)#no shutdown R2(config)#int Tunnel0 建立隧道tunnel0 R2(config-if)#ip addr 192.168.3.1 255.255.255.0 R2(config-if)# tunnel source Serial0/0/0 R2(config-if)# tunnel destination 61.177.7.2 R2(config-if)#no shutdown R2(config-if)#exit R2(config)# router rip R2(config -router)# network 192.168.1.0 R2(config -router)# network 192.168.3.0 R2(config -router)# no auto-summary R2(config- router)#exit R2(config)# ip route 0.0.0.0 0.0.0.0 202.102.60.2 R2 (config)#end Router3: Router>en Router#config t Router(config)#hostname R3 R3(config)#int FastEthernet0/0 R3(config-if)#ip addr 192.168.2.1 255.255.255.0 R3(config-if)#no shutdown R3(config)#int Serial0/0/0 精品资料
______________________________________________________________________________________________________________
R3(config-if)#ip addr 61.177.7.2 255.255.255.0 R3(config-if)#no shutdown R3(config)#int Tunnel0 R3(config-if)#ip addr 192.168.3.2 255.255.255.0 R3(config-if)# tunnel source Serial0/0/0 R3(config-if)# tunnel destination 202.102.60.1 R3(config-if)#no shutdown R3(config-if)#exit R3(config)# router rip R3(config -router)# network 192.168.2.0 R3(config -router)# network 192.168.3.0 R3(config -router)# no auto-summary R3(config- router)#exit R3(config)# ip route 0.0.0.0 0.0.0.0 Serial0/0/0 R3(config)#end 五、实验实习结果分析和(或)源程序调试过程 精品资料