当前位置: 首页 > news >正文

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

相关文章:

  • 【软考高级系统架构论文】论企业应用系统的分层架构风格
  • AWS RDS/Aurora 开启 Database Insights 高级模式全攻略
  • SQL Server基础语句2:表连接与集合操作、子查询与CET、高级查询
  • 【Qt开发】网络运用
  • GitHub OAuth 认证示例
  • Linux - 安装 git(sudo apt-get)
  • Vue 简写形式全解析:清晰记忆指南
  • 《map和set的使用介绍》
  • 八大架构宪法 - 技术使用指导说明文档
  • OBS --- 录像地址
  • Mac Parallels Desktop Kali 2025 代理设置
  • 区块链是什么
  • 学习C++、QT---02(创建第一个C++项目、命名空间的讲解)
  • Transformer:现代自然语言处理的革命性架构
  • Java大厂面试攻略:Spring Boot与微服务架构深度剖析
  • yolov11转ncnn
  • 人人都是音乐家?腾讯开源音乐生成大模型SongGeneration
  • [论文阅读] 人工智能 + 软件工程 |
  • ARCGIS国土超级工具集1.6更新说明
  • 面向互联网大厂Java岗位面试:Spring Boot与微服务架构的深入探讨
  • 我想带货怎么找货源/百度排名优化
  • 有哪些网站教做吃的/网络推广技术外包
  • 淘宝联盟做返利网站/地推拉新app推广怎么做
  • 网站建设公司前台/bt磁力
  • 阿里巴巴企业网站怎么做/营销型网站建设步骤
  • 给别人做网站挣钱吗/公司网络推广的作用