cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

middleware:virtualization:kvm:network_brx_basic.html



KVM Networking

KVM:Networking:brX Basic

Physical Image

-- Host eth0 ------- br0 -------------------- Guest eth0
    (BRIDGE=br0)    (IPADDR=x.x.x.x)           (IPADDR=x.x.x.x)


Configuration

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
TYPE=Ethernet
HWADDR=XX:XX:XX:XX:XX:XX
ONBOOT=yes
BOOTPROTO="none"
BRIDGE=br0

/etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
IPADDR=192.168.10.100
NETMASK=255.255.255.0
NETWORK=192.168.10.0
ONBOOT=yes


Reflect

# /etc/init.d/network restart


Check

# ifconfig
# brctl show



middleware/virtualization/kvm/network_brx_basic.html.txt ยท Last modified: 2019/01/18 by admin

Page Tools