Skip to content

Instantly share code, notes, and snippets.

@remoteur
Created August 12, 2015 18:54
Show Gist options
  • Save remoteur/327a27837bc564e567b9 to your computer and use it in GitHub Desktop.
Save remoteur/327a27837bc564e567b9 to your computer and use it in GitHub Desktop.
OVS ifcfg scripts
[root@server-a cloud-user]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE=ovs
OVS_BRIDGE=br-ex
[root@server-a cloud-user]# cat /etc/sysconfig/network-scripts/ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
ONBOOT="yes"
TYPE="OVSBridge"
DEVICETYPE=ovs
USERCTL="yes"
PEERDNS="yes"
IPV6INIT="no"
PERSISTENT_DHCLIENT="1"
IPADDR=192.168.0.71
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment