华为静态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

相关推荐
程序猿追3 小时前
鸿蒙 PC 的 Ionic 工单有两个错误,按下生成后光标该去哪儿
华为·harmonyos
Rabitebla5 小时前
【Linux操作系统】 文件篇(一):文件描述符与 Linux 文件管理机制
linux·网络·c++·笔记·学习
KevinChaos7 小时前
随手备忘录手记 04|HarmonyOS 7.0新特性实验:物品图鉴的加载逻辑
华为·harmonyos
manduic7 小时前
汽车座舱Buck选型实战:AWK6613 对比 SCT2432,参数逐项对齐(附选型清单)
网络·汽车
通信王6612 小时前
NBIOT NTN协议整理-TS36.211
网络
光电笑映14 小时前
TCP 为什么可靠?从三次握手、滑动窗口到拥塞控制全面拆解(上)
运维·服务器·网络·udp
Vni14 小时前
华三双核心交换机IRF堆叠
网络·交换机·堆叠·华三
15Moonlight15 小时前
Linux 网络(11):IO 多路转接(select /poll/epoll)
linux·网络
峥嵘life16 小时前
Android16 热点「网络共享」开关的设计与实现
服务器·网络·microsoft
15Moonlight17 小时前
Linux网络(12):Reactor 模式
linux·网络