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

相关推荐
博睿谷IT99_35 分钟前
华为HCIP-AI认证考试版本更新通知
人工智能·华为
连续讨伐43 分钟前
ensp的华为小实验
华为
沙振宇2 小时前
【Web】使用Vue3开发鸿蒙的HelloWorld!
前端·华为·harmonyos
驱动小百科2 小时前
WiFi出现感叹号上不了网怎么办 轻松恢复网络
网络·智能路由器·wifi出现感叹号怎么解决·wifi无法上网·电脑wifi
好多知识都想学2 小时前
协议路由与路由协议
网络·智能路由器
SZ1701102312 小时前
中继器的作用
服务器·网络·智能路由器
Huazzi.3 小时前
Ubuntu 22虚拟机【网络故障】快速解决指南
linux·网络·学习·ubuntu·bash·编程
熙曦Sakura3 小时前
【Linux网络】HTTP
linux·网络·http
毒果4 小时前
网络安全:账号密码与诈骗防范
网络·安全·web安全
八股文领域大手子4 小时前
SSL/TLS 证书与数字签名:构建互联网信任的详解
网络·网络协议·ssl