[CentOS-virt] Networking in KVM

Digimer
Wed, 16 Mar 2016 00:50:50 -0000

On 15/03/16 08:07 PM, paul.greene.va at verizon.net
wrote:
> Hi all,
>
> New to KVM. Did a group install for "Virtualization Host" on
CentOS 7.
> Created two virtual machines - one with centos and one with an
> evaluation copy of Windows 2012 server.
>
> Both virtual machines correctly did updates out to their respective
> vendors (Centos and MS respectively), but they can't talk to each other
> or talk to any other system in my internal network. From what I've
found
> so far, if I understand correctly, this is the default behaviour for KVM
> out of the box.
>
> What I would like to be able to do is allow the virtual machines to
> appear on my internal network just like any other machine, in the same
> IP address space, without using dhcp for assigning addresses. The KVM
> machines are using 192.168.122.x, my other machines are using 192.168.1.x.
>
> Any guidance/suggestions greatly appreciated.
>
> Paul Greene

You need a traditional bridge (that acts more like a network switch).

A quick google turns up these, which might help:

http://jensd.be/207/linux/install-and-use-centos-7-as-kvm-virtualization-host

http://unix-linux-server.blogspot.ca/2014/10/centos-7-kvm-installation-and-bridge.html

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?