Created
August 12, 2015 18:54
-
-
Save remoteur/327a27837bc564e567b9 to your computer and use it in GitHub Desktop.
OVS ifcfg scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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