Vxlan L3
阅读原文时间:2023年07月10日阅读:1

拓扑图:

CE1

display current-configuration
!Software Version V800R013C00SPC560B560
!Last configuration was updated at -- ::+:
!Last configuration was saved at -- ::+:
#
sysname CE1
#
device board board-type CE-MPUB
device board board-type CE-LPUE
#
bridge-domain
vxlan vni
#
bridge-domain
vxlan vni
#
aaa
#
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
domain default_admin
#
interface Vbdif10
ip address 192.168.10.1 255.255.255.0
#
interface Vbdif20
ip address 192.168.20.1 255.255.255.0
#
interface MEth0//
undo shutdown
#
interface GE1//
undo portswitch
undo shutdown
ip address 10.1.12.1 255.255.255.0
#
interface GE1//
undo portswitch
undo shutdown
ip address 10.1.13.1 255.255.255.0
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface LoopBack0
ip address 10.1.1.1 255.255.255.255
#
interface Nve1
source 10.1.1.1
vni head-end peer-list 10.2.2.2
vni head-end peer-list 10.3.3.3
#
interface NULL0
#
ospf
area 0.0.0.0
network 10.1.1.1 0.0.0.0
network 10.1.12.0 0.0.0.255
network 10.1.13.0 0.0.0.255
#
ssh authorization-type default aaa
#
user-interface con
#
vm-manager
#
return

CE2

display current-configuration
!Software Version V800R013C00SPC560B560
!Last configuration was updated at -- ::+:
!Last configuration was saved at -- ::+:
#
sysname CE2
#
device board board-type CE-MPUB
device board board-type CE-LPUE
#
vlan batch
#
bridge-domain
vxlan vni
#
aaa
#
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
domain default_admin
#
interface MEth0//
undo shutdown
#
interface GE1//
undo portswitch
undo shutdown
ip address 10.1.12.2 255.255.255.0
#
interface GE1//
undo shutdown
port link-type trunk
#
interface GE1//1.1 mode l2
encapsulation dot1q vid
bridge-domain
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface LoopBack0
ip address 10.2.2.2 255.255.255.255
#
interface Nve1
source 10.2.2.2
vni head-end peer-list 10.1.1.1
#
interface NULL0
#
ospf
area 0.0.0.0
network 10.1.12.0 0.0.0.255
network 10.2.2.2 0.0.0.0
#
ssh authorization-type default aaa
#
user-interface con
#
vm-manager
#
return

CE3

display current-configuration
!Software Version V800R013C00SPC560B560
!Last configuration was updated at -- ::+:
!Last configuration was saved at -- ::+:
#
sysname CE3
#
device board board-type CE-MPUB
device board board-type CE-LPUE
#
vlan batch
#
bridge-domain
vxlan vni
#
aaa
#
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
domain default_admin
#
interface MEth0//
undo shutdown
#
interface GE1//
undo portswitch
undo shutdown
ip address 10.1.13.3 255.255.255.0
#
interface GE1//
undo shutdown
port link-type trunk
#
interface GE1//1.1 mode l2
encapsulation dot1q vid
bridge-domain
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface GE1//
shutdown
#
interface LoopBack0
ip address 10.3.3.3 255.255.255.255
#
interface Nve1
source 10.3.3.3
vni head-end peer-list 10.1.1.1
#
interface NULL0
#
ospf
area 0.0.0.0
network 10.1.13.0 0.0.0.255
network 10.3.3.3 0.0.0.0
#
ssh authorization-type default aaa
#
user-interface con
#
vm-manager
#
return

LSW1

#
vlan batch
#
interface Ethernet0//
port link-type access
port default vlan
#
interface GigabitEthernet0//
port link-type trunk
port trunk allow-pass vlan
#

LSW2

#
vlan batch
#
interface Ethernet0//
port link-type access
port default vlan
#
interface GigabitEthernet0//
port link-type trunk
port trunk allow-pass vlan
#

CE2 - > CE1 抓包

外层IP source 10.2.2.2 dest 10.1.1.1

UDP port 4789

vxlan vni 1020

内层IP source 192.168.10.2 dest 192.168.20.2

CE1- > CE3 抓包

外层IP source 10.1.1.1 dest 10.3.3.3

UDP port 4789

vxlan vni 2010

内层IP source 192.168.10.2 dest 192.168.20.2

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器

你可能感兴趣的文章