动态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

相关推荐
凉伊20 小时前
TCP协议核心机制详解:握手、挥手、可靠传输与拥塞控制
网络·网络协议·tcp
fatiaozhang952721 小时前
中国移动浪潮云电脑CD1000-系统全分区备份包-可瑞芯微工具刷机-可救砖
android·网络·电脑·电视盒子·刷机固件·机顶盒刷机
萌虎不虎21 小时前
【鸿蒙(openHarmony)自定义音频播放器的开发使用说明】
华为·音视频·harmonyos
李洋-蛟龙腾飞公司21 小时前
HarmonyOSAI编程万能卡片生成(一)
华为·ai编程·harmonyos
jyhappy1231 天前
USB系统学习笔记 - 从概念到抓包解析
网络
青草地溪水旁1 天前
互联网接入网中PPPoE和PPP协议
网络·ppp·接入网
wanhengidc1 天前
什么是云手机?
运维·网络·安全·游戏·智能手机
机器人梦想家1 天前
pymodbus启动一个简单的modbus tcp server
网络·网络协议·tcp/ip
一刀到底2111 天前
springboot3.3.5 集成elasticsearch8.12.2 ssl 通过 SSL bundle name 来实现
网络·elasticsearch·ssl·springboot3
m0_661316231 天前
modbus_tcp和modbus_rtu对比&移植AT-socket,modbus_tcp&杂记
服务器·网络·tcp/ip