Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So, my question is: there is a remote server on Red-Hat with an external IP-address, eth0: inet addr: 87.112.140.53 Bcast: 87.112.140.255 Mask: 255.255.252.0, and is a virtual interface, which raises the kvm - virbr0: inet addr: 192.168.122.1 Bcast: 192.168.122.255

And I made two virtual machines that with that virbr0 received addresses at the interface via DHCP.

Problem: how to assign my VMs two external IP address from the network 87.112.140.0?

share|improve this question

1 Answer 1

192.168.122.x are the default NAT networks set up by libvirt. If you want the VMs to be in the same network as the host, you need to set up a bridged network instead. take a look here: http://www.linux-kvm.com/content/using-bridged-networking-virt-manager

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.