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

相关推荐
小浣浣43 分钟前
为何她总在关键时“失联”?—— 解密 TCP 连接异常中断
网络·网络协议·tcp/ip
曳渔1 小时前
UDP/TCP套接字编程简单实战指南
java·开发语言·网络·网络协议·tcp/ip·udp
Lovyk2 小时前
Ansible 核心功能进阶:自动化任务的灵活控制与管理
网络
Xの哲學3 小时前
Perf使用详解
linux·网络·网络协议·算法·架构
Fine姐5 小时前
The Network Link Layer: 无线传感器中Delay Tolerant Networks – DTNs 延迟容忍网络
开发语言·网络·php·硬件架构
网络研究院6 小时前
新的“MadeYouReset”方法利用 HTTP/2 进行隐秘的 DoS 攻击
网络·网络协议·安全·http·攻击·漏洞
189228048616 小时前
NY270NY273美光固态闪存NY277NY287
服务器·网络·数据库·科技·性能优化
一只栖枝12 小时前
华为 HCIE 大数据认证中 Linux 命令行的运用及价值
大数据·linux·运维·华为·华为认证·hcie·it
秃了也弱了。16 小时前
WireShark:非常好用的网络抓包工具
网络·测试工具·wireshark
清源妙木真菌17 小时前
应用层协议——HTTP
网络·网络协议·http