- cat /etc/sysconfig/network-scripts/ifcfg-br-ex
- DEVICE=br-ex
- IPADDR=172.28.1.10
- PREFIX=16
- GATEWAY=172.28.0.1
- DNS1=114.114.114.114
- ONBOOT=yes
- cat /etc/sysconfig/network-scripts/ifcfg-eth0
- DEVICE=eth0
- ONBOOT=yes
- HWADDR=00:E0:81:D8:43:BE
- then run the command
- ovs-vsctl add-port br-ex eth0; service network restart