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