Re: [libvirt-users] public IP for VM

2017-12-07 Thread Sam Varshavchik
scar writes: I can't seem to figure out how to setup a public IP for the VM so we could use it as a second public webserver. The host machine runs our primary webserver with CentOS 6.9 and one public ipv4 address configured on physical interface eth0. Now i have configured a new bridge

Re: [libvirt-users] public IP for VM

2017-12-07 Thread Doug Hughes
Here's how I do it.. I have a VM host and a bunch of VM guests on it. Most of those guest VMS are in the same vlan as the host, which works fine with bridge. Some are in tagged vlans, but you didn't ask about that. from the guest perspective, here's an example from the .xml           

Re: [libvirt-users] public IP for VM

2017-12-07 Thread Daniel Romero
Hi Chandler, since host and guest are in the same network they can't have the same IP. On the host, try to create a virtual network (using virsh or config files) attached to the bridge, then set up eth0 with the primary IP and add it to the bridge. After that set up the guest VM with an

Re: [libvirt-users] public IP for VM

2017-12-07 Thread Andrea Bolognani
On Thu, 2017-12-07 at 11:55 -0500, Doug Hughes wrote: [...] > from the guest perspective, here's an example from the .xml > > > > As a side note, you should only use rtl8139 if your guest OS literally can't be convinced to work with anything else. -- Andrea Bolognani /