CISCO DMVPN配置实例

简介:


HUB 路由器配置
r1#sh ru
hostname r1
!
crypto isakmp policy 10
encr 3des
authentication pre-share
group 2
crypto isakmp key cisco1234 address  0.0.0 .0 0.0.0.0
!         
crypto ipsec transform-set ccie esp-3des esp-sha-hmac 
mode transport
!
crypto ipsec profile cisco
set transform-set ccie 
!
interface Tunnel0
ip address 192.168.1.1 255.255.255.0
no ip redirects
no ip next-hop-self eigrp 100
ip nhrp authentication cisco
ip nhrp map multicast dynamic
ip nhrp network-id 10000
no ip split-horizon eigrp 100
tunnel source Serial0/0
tunnel mode gre multipoint
tunnel key 10000
tunnel protection ipsec profile cisco
!
interface Loopback0
ip address 10.1.1.1 255.255.255.0
!
interface Serial0/0
ip address 173.16.1.1 255.255.255.0
!
router eigrp 100
network 10.0.0.0
network 192.168.1.0
no auto-summary
ip route 0.0.0.0 0.0.0.0 173.16.1.2

    Spoke
路由器配置
r2#sh run
hostname r2
!
crypto isakmp policy 10
encr 3des
authentication pre-share
group 2
crypto isakmp key cisco1234 address 0.0.0.0 0.0.0.0        
!
crypto ipsec transform-set ccie esp-3des esp-sha-hmac 
mode transport
!
crypto ipsec profile cisco
set transform-set ccie 
!
interface Tunnel0
ip address 192.168.1.2 255.255.255.0
no ip redirects
ip nhrp authentication cisco
ip nhrp map multicast 173.16.1.1
ip nhrp map 192.168.1.1 173.16.1.1
ip nhrp network-id 10000
ip nhrp nhs 192.168.1.1
tunnel source Serial0/0
tunnel mode gre multipoint
tunnel key 10000
tunnel protection ipsec profile cisco
!
interface Loopback0
ip address 10.2.2.1 255.255.255.0
!
interface Serial0/0
ip address 173.16.2.1 255.255.255.0
!
router eigrp 100
network 10.0.0.0
network 192.168.1.0
no auto-summary
ip route 0.0.0.0 0.0.0.0 173.16.2.2

    Spoke
路由器配置
r3#sh run
hostname r3
!
crypto isakmp policy 10
encr 3des
authentication pre-share
group 2
crypto isakmp key cisco1234 address 0.0.0.0 0.0.0.0
!
crypto ipsec transform-set ccie esp-3des esp-sha-hmac 
mode transport
!
crypto ipsec profile cisco
set transform-set ccie
!
interface Tunnel0
ip address 192.168.1.3 255.255.255.0
no ip redirects
ip nhrp authentication cisco
ip nhrp map multicast 173.16.1.1
ip nhrp map 192.168.1.1 173.16.1.1
ip nhrp network-id 10000
ip nhrp nhs 192.168.1.1
tunnel source FastEthernet0/0
tunnel mode gre multipoint
tunnel key 10000
tunnel protection ipsec profile cisco
!
interface Loopback0
ip address 10.3.3.1 255.255.255.0
!
interface FastEthernet0/0
ip address 173.16.3.1 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
network 10.0.0.0
network 192.168.1.0
no auto-summary
!
ip route 0.0.0.0 0.0.0.0 173.16.3.2




    本文转自hexianguo 51CTO博客,原文链接: http://blog.51cto.com/xghe110/117580 ,如需转载请自行联系原作者


相关文章
|
监控 网络协议 Shell
【Shell 命令集合 网络通讯 】Linux 监控和记录网络中ARP(Address Resolution Protocol)活动 arpwatch命令 使用指南
【Shell 命令集合 网络通讯 】Linux 监控和记录网络中ARP(Address Resolution Protocol)活动 arpwatch命令 使用指南
379 0
|
分布式计算 Serverless 调度
EMR Serverless Spark:结合实时计算 Flink 基于 Paimon 实现流批一体
本文演示了使用实时计算 Flink 版和 Serverless Spark 产品快速构建 Paimon 数据湖分析的流程,包括数据入湖 OSS、交互式查询,以及离线Compact。Serverless Spark完全兼容Paimon,通过内置的DLF的元数据实现了和其余云产品如实时计算Flink版的元数据互通,形成了完整的流批一体的解决方案。同时支持灵活的作业运行方式和参数配置,能够满足实时分析、生产调度等多项需求。
61064 107
|
负载均衡 安全
思科接入点 (AP) 操作的模式
【8月更文挑战第24天】
490 0
|
前端开发 Java 微服务
SpringCloud微服务之间传输文件
SpringCloud微服务之间传输文件
339 1
|
存储 算法 安全
【C/C++ 数据结构 】从零开始实现哈希表:C++实践指南
【C/C++ 数据结构 】从零开始实现哈希表:C++实践指南
1563 0
|
Sentinel
Sentinel实现黑白名单控制详细教程来了
Sentinel实现黑白名单控制详细教程来了
340 0
|
JSON 前端开发 JavaScript
Vue+Axios+SpringBoot后端同时接收文件和json作为请求参数
Vue+Axios+SpringBoot后端同时接收文件和json作为请求参数
775 0
|
XML Java API
Android 浅度解析:系统框架层修改,编译,推送相关操作
Android 浅度解析:系统框架层修改,编译,推送相关操作
729 0
|
安全 网络安全 网络虚拟化
Cisco—DMVPN 案例配置及原理分析
Cisco—DMVPN 案例配置及原理分析
1326 0
Cisco—DMVPN 案例配置及原理分析
|
网络协议 数据库 网络架构
【每日一记】OSPF中的DR详讲
【每日一记】OSPF中的DR详讲
808 0