Thursday, August 24, 2023

思科GRE VPN配置

路由器A:

公网IP:59.57.247.xxx

内网IP:10.77.0.0/16

配置:

interface Tunnel6

 ip address 10.0.60.1 255.255.255.0

 tunnel source 59.57.247.xxx

 tunnel destination 117.28.239.xxx

ip route 192.168.0.0 255.255.0.0 Tunnel6

 

路由器B:

公网IP:117.28.239.xxx

内网IP:192.168.0.0/16

配置:

interface Tunnel6

 ip address 10.0.60.2 255.255.255.0

 ip tcp adjust-mss 1400 (可选) 

 keepalive 5 4 (可选 Keepalives are sent every 5 seconds and 4 retries.)

 tunnel source 117.28.239.xxx

 tunnel destination 59.57.247.xxx

ip route 10.77.0.0 255.255.0.0 Tunnel6

 

查看隧道状态

show ip interface brief

show ip interface

show ip route

show ip interface tunnel 6

show interface tunnel 6


No comments:

Post a Comment

华为交换机option43和60实例

AC: Aruba 651- 10.77.25.1 AP: Aruba 105 - 172.17.2.0/24 SW: 华为S5720  ip pool pool2  gateway-list 172.17.2.1  network 172.17.2.0 mask 255.255...