Last active
April 23, 2017 19:26
-
-
Save brianredbeard/3afd28d6be4aa3983871e451c4634aac to your computer and use it in GitHub Desktop.
network configs for a vm-bridge on fedora
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
# /etc/sysconfig/network-scripts/ifcfg-br0 | |
UUID=1d0ce809-703f-452b-910a-50267d8da44f | |
TYPE=Bridge | |
NM_CONTROLLED=yes | |
BOOTPROTO=none | |
NAME=br0 | |
DEVICE=br0 | |
ONBOOT=yes | |
TYPE=Ethernet | |
STP=no | |
IPADDR=192.168.1.50 | |
PREFIX=24 | |
GATEWAY=192.168.1.1 | |
DNS1=192.168.1.1 | |
DEFROUTE=yes | |
IPV4_FAILURE_FATAL=no | |
IPV6INIT=yes |
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
# /etc/sysconfig/network-scripts/ifcfg-eth0 | |
NAME="eth0" | |
DEVICE="eth0" | |
ONBOOT=yes | |
UUID="b13545b4-c1e0-4f0a-8228-388c710cc63d" | |
IPV6INIT=yes | |
BOOTPROTO=none | |
TYPE=Ethernet | |
BRIDGE=br0 |
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
~ $ brctl show | |
bridge name bridge id STP enabled interfaces | |
br0 8000.42ec5f8fa127 no eth0 | |
veth3609b4c | |
vethcd76e5d | |
vethe89a9fe | |
virbr0-nic | |
vnet0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment