# switch-vxlan
**Repository Path**: poohdang/switch-vxlan
## Basic Information
- **Project Name**: switch-vxlan
- **Description**: vxlan impletation with P4
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2021-11-15
- **Last Updated**: 2024-05-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# VXLAN_GPE for INT
https://github.com/navybhatia/p4-vxlanencapdecap
```shell
# 调试模式,需搭配--debugger使用
sudo bm_p4dbg --thrift-port 9090
# 数据包处理日志,需搭配 --nanolog
sudo bm_nanomsg_events --thrift-port 9090
# p4runtime-shell
```
## 简介
利用P4构建VXLAN网关。
[什么VXLAN?](https://support.huawei.com/enterprise/zh/doc/EDOC1100087027)
`vxlan.p4`:VXLAN二层网关功能。
`vxlan_ecmp.p4`:面向VXLAN的ECMP路由功能。
## 环境准备
bmv2与OVS混合组网。
安装P4环境可参考:https://gitee.com/poohdang/p4-env
## 实验测试
### P4设计
### 实验一:VXLAN网关测试(single-topo)
### 实验二:负载均衡测试(linear-topo)
