[CentOS] Virtualization Networking

Tue Oct 4 06:46:40 UTC 2016
Gordon Messmer <gordon.messmer at gmail.com>

On 10/03/2016 07:00 PM, TE Dukes wrote:
> /etc/sysconfig/ifcfg-eth1
> GATEWAY=192.168.1.1
...
> /etc/sysconfig/ifcfg-lo
> GATEWAY=192.168.1.1

Don't specify GATEWAY in interface files where it isn't used.  This 
should be set on eth0 only.

> # brctl show
>
> bridge name	bridge id		STP enabled	interfaces

OK, so you don't have a bridge interface.  If you want to access guest 
VMs from the LAN, you need to set one up.  Refer to the documentation I 
sent earlier.  You'll create a bridge interface configuration, and the 
move the IP configuration from whichever ethX device you want to enslave 
to the bridge.  The ethX configuration file, then, won't have any IP 
configuration specified, instead it'll contain "BRIDGE=br0".