当前位置:   article > 正文

华为静态vxlan二层互通简单案例

华为静态vxlan二层互通简单案例

在这里插入图片描述

lsw1

vlan batch 10

interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10

interface GigabitEthernet0/0/2
port link-type access
port default vlan 10

lsw2

vlan 10

interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10

interface GigabitEthernet0/0/2
port link-type access
port default vlan 10

ce1

bridge-domain 10
vxlan vni 10

interface GE1/0/0
undo portswitch
undo shutdown
ip address 10.0.12.1 255.255.255.0
ospf enable 1 area 0.0.0.0

interface GE1/0/1
undo shutdown

interface GE1/0/1.10 mode l2
encapsulation dot1q vid 10
bridge-domain 10

interface LoopBack0
ip address 1.1.1.1 255.255.255.255
ospf enable 1 area 0.0.0.0

interface Nve1
source 1.1.1.1
vni 10 head-end peer-list 3.3.3.3

interface NULL0

ospf 1
area 0.0.0.0

ce2

interface GE1/0/0
undo portswitch
undo shutdown
ip address 10.0.12.2 255.255.255.0

interface GE1/0/1
undo portswitch
undo shutdown
ip address 10.0.23.2 255.255.255.0

ospf 1
area 0.0.0.0
network 10.0.12.2 0.0.0.0
network 10.0.23.2 0.0.0.0

ce3

bridge-domain 10
vxlan vni 10

interface GE1/0/0.10 mode l2
encapsulation dot1q vid 10
bridge-domain 10

interface GE1/0/1
undo portswitch
undo shutdown
ip address 10.0.23.3 255.255.255.0
ospf enable 1 area 0.0.0.0

interface LoopBack0
ip address 3.3.3.3 255.255.255.255
ospf enable 1 area 0.0.0.0

interface Nve1
source 3.3.3.3
vni 10 head-end peer-list 1.1.1.1

interface NULL0

ospf 1
area 0.0.0.0

因ensp的bug问题要互绑pc的arp
PC>arp -s 192.168.0.20 54-89-98-8A-5A-72
PC>arp -s 192.168.0.10 54-89-98-2F-23-C6

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/229292
推荐阅读
相关标签
  

闽ICP备14008679号