Xen domainU Guest has an IP address on 192.168.122 subnet instead of the subnet to which the domain0 host belongs

From Virtuatopia
Revision as of 20:17, 29 April 2008 by Neil (Talk | contribs) (New page: '''Problem Summary'''' - After booting a Xen domainU it is discovered that the system has been assigned an IP address in the 192.168.122.* address range which is a different to the subnet ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Problem Summary' - After booting a Xen domainU it is discovered that the system has been assigned an IP address in the 192.168.122.* address range which is a different to the subnet to which the host (domain0) system belongs. This configuration is commonly encountered on Red Hat Enterprise Linux and recent Fedora releases.

'Solution - Firstly, it is important to understand that this the intended behavior for Xen on a number of Linux distributions. The objective is to provide the ability to create a private network of Xen domainU guests protected though Network Address Translation (NAT) on domain0. In fact, all domainU guests on the host in question will be assigned an IP address from this subnet and will be able to communicate with each other.

For many Xen configurations this is desired behavior for which there are a number of benefits. For some configurations, however, an IP address on the same subnet (and issued by the same DHCP server) as the Xen host system is needed.

By default a number of systems (typically Red Hat based distributions) default to using the virbr0 network bridge for the domainU guests.