14.3 GRE 协议基础配置
最终配置<R1>display current-configuration
sysname R1
#
interface Ethernet2/0/0
ip address 192.168.10.1 255.255.255.0
#
interface Serial1/0/0
link-protocol ppp
ip address 10.1.12.1 255.255.255.0
#
interface NULL0
#
interface Tunnel0/0/0
ip address 172.16.1.1 255.255.255.0
tunnel-protocol gre
source 10.1.12.1
destination 10.1.23.1
#
rip 1
version 2
network 192.168.10.0
network 172.16.0.0
#
ip route-static 0.0.0.0 0.0.0.0 10.1.12.2
#
Return
<R2>display current-configuration
sysname R2
#
interface Serial1/0/0
link-protocol ppp
ip address 10.1.12.2 255.255.255.0
#
interface Serial1/0/1
link-protocol ppp
ip address 10.1.23.2 255.255.255.0
#
Return
<R3>display current-configuration
sysname R3
#
interface Ethernet2/0/0
ip address 192.168.20.1 255.255.255.0
#
interface Serial1/0/0
link-protocol ppp
ip address 10.1.23.1 255.255.255.0
#
interface NULL0
#
interface Tunnel0/0/0
ip address 172.16.1.2 255.255.255.0
tunnel-protocol gre
source 10.1.23.1
destination 10.1.12.1
#
rip 1
version 2
network 192.168.20.0
network 172.16.0.0
#
ip route-static 0.0.0.0 0.0.0.0 10.1.23.2
#
return
——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——
|