通用路由选择封装(GRE)是一种隧道协议,可用于将众多协议的数据封装到IP隧道中,这包括EIGRP和OSPF等路由选择协议以及IPV6等被路由的协议。
练习环境:PT8.2.1
配置:
R1
interface Tunnel10
ip address 10.0.0.1 255.255.255.0
mtu 1476
tunnel source FastEthernet0/0
tunnel destination 192.168.1.2
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip ospf 100 area 0
!
interface FastEthernet0/1
ip address 172.16.10.254 255.255.255.0
ip ospf 100 area 1
R2
interface Tunnel10
ip address 10.0.0.2 255.255.255.0
mtu 1476
tunnel source FastEthernet0/0
tunnel destina