1. cat /etc/sysconfig/network-scripts/ifcfg-br-ex
  2. DEVICE=br-ex
  3. IPADDR=172.28.1.10
  4. PREFIX=16
  5. GATEWAY=172.28.0.1
  6. DNS1=114.114.114.114
  7. ONBOOT=yes
  8. cat /etc/sysconfig/network-scripts/ifcfg-eth0
  9. DEVICE=eth0
  10. ONBOOT=yes
  11. HWADDR=00:E0:81:D8:43:BE
  12. then run the command
  13. ovs-vsctl add-port br-ex eth0; service network restart
Comments powered by Disqus