OpenvSwitch vxlan bridge

Issues related to configuring your network
Post Reply
sesan7
Posts: 2
Joined: 2020/11/30 10:30:28

OpenvSwitch vxlan bridge

Post by sesan7 » 2020/11/30 10:36:01

Hi!
Not workink OVS (OpenvirtualSwitch), i can not ping PC1 to PC2 and vice versa but i see mac address PC1 on PC2 and PC2 on PC1
I configured my servers (CentOS8) for work with OVS vxlan (i installed OVS by yum install).

PC1(ip 192.168.21.101)====ens224(without ip) Server1_CentOS8 ens160(ip 192.168.13.19)--------ens160(ip 192.168.13.20) Server2_CentOS8 ens224 (without ip)===== LAN (192.168.21.0/24) PC2(ip 192.168.21.7)

on Server1 config:
ovs-vsctl add-br bridge22
ovs-vsctl add-port bridge22 vxlan22 -- set interface vxlan22 type=vxlan options:key=22 options:remote_ip=192.168.13.20 options:local_ip=192.168.13.19
ovs-vsctl add-port bridge22 ens224

on Server2 config:
ovs-vsctl add-br bridge22
ovs-vsctl add-port bridge22 vxlan22 -- set interface vxlan22 type=vxlan options:key=22 options:remote_ip=192.168.13.19 options:local_ip=192.168.13.20
ovs-vsctl add-port bridge22 ens224

ovs-vsctl show on Server1
fb64004b-a3b0-4271-b1d8-0e26d099645d
Bridge "bridge22"
Port "vxlan22"
Interface "vxlan22"
type: vxlan
options: {key="22", remote_ip="192.168.13.20", local_ip="192.168.13.19"}
Port "ens224"
Interface "ens224"
Port "bridge22"
Interface "bridge22"
type: internal


ovs-vsctl show on Server2
627d17c5-aa79-4dea-8dff-4e93914c3b29
Bridge "bridge22"
Port "vxlan22"
Interface "vxlan22"
type: vxlan
options: {key="22", remote_ip="192.168.13.19", remote_ip="192.168.13.20" }
Port "ens224"
Interface "ens224"
Port "bridge22"
Interface "bridge22"
type: internal

I tried disable firewall disable firewall for bridging, but ping not working.
Thank you!

sesan7
Posts: 2
Joined: 2020/11/30 10:30:28

Re: OpenvSwitch vxlan bridge

Post by sesan7 » 2020/12/18 15:09:07

Solved!!!
This LAB was in VMware esxi.
For resolving problem need enable "promiscuous mode" (see https://kb.vmware.com/s/article/1004099) in virtual switch, whitch connect to network interface Server1 and Server2

Post Reply

Return to “CentOS 8 - Networking Support”