Wednesday, December 19, 2007

Xen - What I Learned Today

Or: "If I had read the documentation, I'm sure I wouldn't have wasted an hour"


In your Xen DomU config files, if you put in:

vif = [ '' ]

To configure your interface, it will go into 'NAT mode'. It seems that it will DHCP you an IP address that's probably not what you expect. If you try to static config an IP address, it won't work.

Conversely, if you use:

vif = [ 'xenbr0' ]

Your DomU's network will be the same as your eth0 in your Dom0. Of course, this depends on your configuration.

No comments: