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

相关推荐
wanhengidc12 小时前
云手机在软件资源方面的优势
运维·服务器·网络·游戏·智能手机
想不明白的过度思考者12 小时前
鸿蒙系统:不止于“手机OS”的全场景智能操作系统
华为·智能手机·harmonyos
lichenyang45313 小时前
WebSocket实战:打造AI流式对话的实时通信基础
网络·websocket·网络协议
自我陶醉@13 小时前
计算机网络---应用层
网络·计算机网络·考研·学习方法·408·王道
IT WorryFree13 小时前
华为光模块命名规则
华为
ICT系统集成阿祥15 小时前
路由相关的概念,一文查阅。
网络·智能路由器
njxiejing15 小时前
基于GNS3 web UI配置RIP协议(Wireshark 分析)
网络·测试工具·wireshark
半桔16 小时前
【网络编程】套接字入门:网络字节序与套接字种类剖析
linux·网络·php·套接字
云计算练习生16 小时前
Linux 操作系统防火墙工具Firewalld常用操作
服务器·网络·网络安全·防火墙·firewalld·linux操作系统
lhxcc_fly16 小时前
Linux网络--4、应用层协议Http
网络·网络协议·http