3.10 RIP的路由引入
最终配置<R1>display current-configuration
#
sysname R1
#
interface Ethernet0/0/1
ip address 30.1.1.1 255.255.255.0
#
interface Ethernet0/0/2
ip address 10.1.1.1 255.255.255.0
#
interface Ethernet0/0/3
ip address 10.1.2.1 255.255.255.0
#
rip 1
undo summary
version 2
network 30.0.0.0
network 10.0.0.0
import-route static
#
ip route-static 40.1.1.0 255.255.255.0 30.1.1.2
#
return
<R2>display current-configuration
#
sysname R2
#
interface Ethernet0/0/0
ip address 20.1.1.254 255.255.255.0
#
interface Ethernet0/0/2
ip address 10.1.1.2 255.255.255.0
#
rip 1
undo summary
version 2
network 10.0.0.0
import-route direct
#
return
<R3>display current-configuration
#
sysname R3
#
interface Ethernet0/0/0
ip address 20.1.2.254 255.255.255.0
#
interface Ethernet0/0/3
ip address 10.1.2.2 255.255.255.0
#
rip 1
undo summary
version 2
network 10.0.0.0
network 20.0.0.0
#
return
<R4>display current-configuration
#
sysname R4
#
interface Ethernet0/0/1
ip address 30.1.1.2 255.255.255.0
#
interface Ethernet0/0/2
ip address 40.1.1.254 255.255.255.0
#
interface Ethernet0/0/3
#
ip route-static 0.0.0.0 0.0.0.0 30.1.1.1
#
Return
——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——
|