VPN:
GRP
一、建立隧道:
int tunnel 1
tunnel source e0/0 本地接口
tunnel destination x.x.x.x 对方IP
二、表示隧道:
tunnel接口下配置
ip add 10.12.1.1 255.255.255.0
对端也建立:
ip add 10.12.1.2 255.255.255.0
三、动态路由 宣告公私网的网络:
route ospf 1
route_id 1.1.1.1
network 10.12.1.0 0.0.0.255 area0
network 192.168.1.0 0.0.0.255 area0