全部博文(343)
分类: 虚拟化
2012-11-04 23:54:31
vi /etc/sysconfig/network-scripts/ifcfg-virbr0
DEVICE=virbr0
TYPE=Bridge
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.1
NETMASK=255.255.255.0
GATEWAY=192.168.1.254
NM_CONTROLLED=no
HWADDR=xx:xx:xx:xx:xx:xx
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=xx:xx:xx:xx:xx:xx
ONBOOT=yes
BRIDGE=virbr0
NM_CONTROLLED=no
2. Guest configuration