动态ds-vnp之normal和shortcut两种方式配置案例

normal方式配置

hub配置

dhcp enable

interface GigabitEthernet0/0/0

ip address 3.3.3.3 255.255.255.0

interface GigabitEthernet0/0/1

ip address 192.168.3.254 255.255.255.0

dhcp select interface

interface Tunnel0/0/0

ip address 10.1.1.3 255.255.255.0

tunnel-protocol gre p2mp

source GigabitEthernet0/0/0

ospf network-type broadcast

nhrp entry multicast dynamic

ospf 1

area 0.0.0.0

network 10.1.1.0 0.0.0.255

network 192.168.3.0 0.0.0.255

spoke_A配置

dhcp enable

interface GigabitEthernet0/0/1

ip address 192.168.1.254 255.255.255.0

dhcp select interface

interface GigabitEthernet0/0/0

ip address 3.3.3.4 255.255.255.0

interface Tunnel0/0/0

ip address 10.1.1.1 255.255.255.0

tunnel-protocol gre p2mp

source GigabitEthernet0/0/0

ospf network-type broadcast

ospf dr-priority 0

nhrp entry multicast dynamic

nhrp entry 10.1.1.3 3.3.3.3 register

ospf 1

area 0.0.0.0

network 10.1.1.0 0.0.0.255

network 192.168.1.0 0.0.0.255

spoke_B配置

dhcp enable

interface GigabitEthernet0/0/0

ip address 3.3.3.5 255.255.255.0

interface GigabitEthernet0/0/1

ip address 192.168.2.254 255.255.255.0

dhcp select interface

interface Tunnel0/0/0

ip address 10.1.1.2 255.255.255.0

tunnel-protocol gre p2mp

source GigabitEthernet0/0/0

ospf network-type broadcast

ospf dr-priority 0

nhrp entry multicast dynamic

nhrp entry 10.1.1.3 3.3.3.3 register

ospf 1

area 0.0.0.0

network 10.1.1.0 0.0.0.255

network 192.168.2.0 0.0.0.255

验证分支间通信不会绕行总部

总部出口下捉包没有icmp包

shortcut方式配置

hub配置

dhcp enable

interface GigabitEthernet0/0/0

ip address 3.3.3.3 255.255.255.0

interface GigabitEthernet0/0/1

ip address 192.168.3.254 255.255.255.0

dhcp select interface

interface Tunnel0/0/0

ip address 10.1.1.3 255.255.255.0

tunnel-protocol gre p2mp

source GigabitEthernet0/0/0

ospf network-type p2mp

nhrp redirect

nhrp entry multicast dynamic

ospf 1

area 0.0.0.0

network 10.1.1.0 0.0.0.255

network 192.168.3.0 0.0.0.255

spoke_A配置

dhcp enable

interface GigabitEthernet0/0/1

ip address 192.168.1.254 255.255.255.0

dhcp select interface

interface GigabitEthernet0/0/0

ip address 3.3.3.4 255.255.255.0

interface Tunnel0/0/0

ip address 10.1.1.1 255.255.255.0

tunnel-protocol gre p2mp

source GigabitEthernet0/0/0

ospf network-type p2mp

nhrp shortcut

nhrp entry multicast dynamic

nhrp entry 10.1.1.3 3.3.3.3 register

ospf 1

area 0.0.0.0

network 10.1.1.0 0.0.0.255

network 192.168.1.0 0.0.0.255

spoke_B配置

dhcp enable

interface GigabitEthernet0/0/0

ip address 3.3.3.5 255.255.255.0

interface GigabitEthernet0/0/1

ip address 192.168.2.254 255.255.255.0

dhcp select interface

interface Tunnel0/0/0

ip address 10.1.1.2 255.255.255.0

tunnel-protocol gre p2mp

source GigabitEthernet0/0/0

ospf network-type p2mp

nhrp shortcut

nhrp entry multicast dynamic

nhrp entry 10.1.1.3 3.3.3.3 register

ospf 1

area 0.0.0.0

network 10.1.1.0 0.0.0.255

network 192.168.2.0 0.0.0.255

相关推荐
小徐不徐说1 小时前
每日一算:华为-批萨分配问题
数据结构·c++·算法·leetcode·华为·动态规划·后端开发
小马爱打代码5 小时前
Spring Boot 接口安全设计:接口限流、防重放攻击、签名验证
网络·spring boot·安全
giaoho6 小时前
Android网络请求,Retrofit,OKHttp学习
网络
丨千纸鹤丨7 小时前
高可用集群Keepalived
linux·服务器·网络
北极光SD-WAN组网8 小时前
工业互联网时代,如何通过混合SD-WAN提升煤炭行业智能化网络安全
网络·安全·web安全
charlie1145141919 小时前
快速入门Socket编程——封装一套便捷的Socket编程——导论
linux·网络·笔记·面试·网络编程·socket
东风西巷10 小时前
X-plore File Manager v4.34.02 修改版:安卓设备上的全能文件管理器
android·网络·软件需求
liulilittle10 小时前
C++ Proactor 与 Reactor 网络编程模式
开发语言·网络·c++·reactor·proactor
我很好我还能学11 小时前
【计算机网络 篇】TCP基本认识和TCP三次握手相关问题
运维·服务器·网络
苏州向日葵11 小时前
篇五 网络通信硬件之PHY,MAC, RJ45
网络·嵌入式硬件