动态ds-vnp之normal和shortcut两种方式配置案例

动态ds-vnp之normal和shortcut两种方式配置案例_第1张图片

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

动态ds-vnp之normal和shortcut两种方式配置案例_第2张图片

验证分支间通信不会绕行总部

动态ds-vnp之normal和shortcut两种方式配置案例_第3张图片

总部出口下捉包没有icmp包
动态ds-vnp之normal和shortcut两种方式配置案例_第4张图片

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

你可能感兴趣的:(动态ds-vnp之normal和shortcut两种方式配置案例)