CentOS 7-1 - VMware Workstation 2021-03-31 19-47-15-使用CentOS Linux Bridge搭建Vxlan环境
热门回复:
- PaperDragon_bili:没废话,全是干货
- 董大可:# 注意: 第一次实验的时候linux内核是3,然后执行了下面的命令不成功,然后升级到linux5内核,发现配置的网卡都不见了,所以需要重新执行一遍命令
# systemctl stop firewalld
在 172.16.51.181 执行:
brctl addbr br-vx
ip link add vxlan10 type vxlan id 100 remote 172.16.51.182 dstport 4789
brctl addif br-vx vxlan10
ip link set br-vx up
ip link set vxlan10 up
ip link add type veth
brctl addif br-vx veth1
ip address add 192.167.1.1/24 dev veth0
ip link set veth0 up
ip link set veth1 up在 172.16.51.182 执行:
brctl addbr br-vx
ip link add vxlan10 type vxlan id 100 remote 172.16.51.181 dstport 4789
brctl addif br-vx vxlan10
ip link set br-vx up
ip link set vxlan10 up
ip link add type veth
brctl addif br-vx veth1
ip address add 192.167.1.2/24 dev veth0
ip link set veth0 up
ip link set veth1 up
- 像风一样自由b:相同的操作 我的怎么不行呢[呆]
- 海天s_bili:2022.06.19 阅
- RICORDr:虚拟机B能ping通虚拟机A,但是ping 192.167.1.1就显示Destination Host Unreachable,请问如何解决呢