华为路由器GRE配置
来源:互联网 发布:opengl裁剪算法 编辑:程序博客网 时间:2024/04/28 01:25
【Router A】
#
sysname RTA
#
interface Ethernet2/0
ip address 202.101.1.2 255.255.255.0 /公网IP/
#
interface Ethernet2/1
ip address 192.168.1.1 255.255.255.0 /内部私网IP/
#
interface Tunnel0 /创建tunnel 0/
ip address 192.168.0.1 255.255.255.252 /tunnel IP和对方tunnel IP在同一网段/
source 202.101.1.2 /源地址/
destination 202.101.2.2 /目的地址/
#
ip route-static 0.0.0.0 0.0.0.0 202.101.1.1 preference 60 /到公网的默认路由/
ip route-static 192.168.2.0 255.255.255.0 Tunnel 0 preference 60 /通过tunnel访问对方私网的路由/
#
【Router B】
#
sysname RTB
#
interface Ethernet2/0
ip address 202.101.2.2 255.255.255.0 /内部私网IP/
#
interface Tunnel0 /创建tunnel 0/
ip address 192.168.0.2 255.255.255.252 /tunnel IP和对方tunnel IP在同一网段/
source 202.101.2.2 /源地址/
destination 202.101.1.2 /目的地址/
#
ip route-static 0.0.0.0 0.0.0.0 202.101.2.1 preference 60 /到公网的默认路由/
ip route-static 192.168.1.0 255.255.255.0 Tunnel 0 preference 60 /通过tunnel访问对方私网的路由/
#
return
【注意】
1、不要忘记配置通过tunnel访问对方私网的路由。
- 华为路由器GRE配置
- 华为路由器IPSec -Over-GRE典型配置
- 华为防火墙VPN-GRE配置
- 华为路由器简单配置
- 华为路由器配置方法
- 华为路由器典型配置
- 华为路由器ppp配置
- GRE 简述(为cisco路由器配置GRE隧道举例)
- GRE 简述(为cisco路由器配置GRE隧道举例)
- GRE 简述(为cisco路由器配置GRE隧道举例)
- GRE 简述(为cisco路由器配置GRE隧道举例)
- GRE 简述(为cisco路由器配置GRE隧道举例)
- Cisco路由器配置GRE隧道举例
- 为Cisco路由器 配置GRE隧道
- 华为路由器标准IPSEC配置
- 交换机命令---华为路由器配置
- 华为路由器-交换机配置命令
- 华为路由器-防火墙配置命令
- 华为交换机以太网端口链路类型介绍
- Internet Explorer Developer Toolbar,自动化测试开发的助手
- 华为L2TP配置
- 华为路由器IPSec -Over-GRE典型配置
- 华为路由器标准IPSEC配置
- 华为路由器GRE配置
- Web标准验证地址
- VPN技术中的MTU问题
- 魔鬼词典
- 分享一条华为交换机MAC绑定的命令
- HuaWei L2TP VPN Config
- 华为路由器交换机VLAN配置实例
- 如何清除进入console配置口的密码
- "An extender can't be in a different UpdatePanel than the control it extends." error really needs debugging information ,错误