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

相关推荐
速盾cdn1 小时前
速盾:高防CDN还有哪些冷知识?
网络·web安全
格调UI成品2 小时前
预警系统安全体系构建:数据加密、权限分级与误报过滤方案
大数据·运维·网络·数据库·安全·预警
不凡的凡5 小时前
鸿蒙图片相似性对比
华为·harmonyos
愚润求学5 小时前
【Linux】网络基础
linux·运维·网络
m0_738120726 小时前
玄机——某学校系统中挖矿病毒应急排查
网络·安全·web安全
Jackilina_Stone9 天前
【网工】华为配置专题进阶篇⑤
网络·华为·网工
yantaohk9 天前
华为HN8145V光猫改华为蓝色公版界面,三网通用,xgpon公版光猫
华为
Not Talk10 天前
内部网关协议配置实验
网络
PHP武器库10 天前
[Hestia]开源网络服务器控制面板,快速、可靠、开源
运维·服务器·网络·开源·php