[ILUG] Xen config question

Liam O'Hagan liam at liamohagan.com
Wed Feb 1 14:07:08 GMT 2006


Hi All,

With apologies for straying on-topic ....  ;-)

I've been experimenting with Xen lately with great success but have
run into a little problem that I can't find an answer to in the Xen
User Manual or by Googling.

I'm setting up a DomU with multiple NICs for use as a router and I 
can't figure out how to configure this in the config file (as opposed
to a single NIC which works fine).

This extract demonstrates the approach I've been taking: 3 NICs 
with an IP Address and a NetMask for each NIC.

nics=3
dhcp="off"
ip="192.168.32.201","192.168.100.1","10.0.0.1"
netmask="255.255.255.0","255.255.255.0","255.255.255.0"
gateway="192.168.32.1"
hostname="vmRouter.liamohagan.com"

Xen doesn't complain about the config nor are there any errors in 
the domU logs. However, the logs are missing entries indicating
a successful network config which *are* present when I only 
specify a single NIC setup.

Additionally, the hostname doesn't get set when I use the above 
config so I'm guessing that Xen is giving up on the parsing of the 
config when it encounters an error in the config, which seems to
confirm that I'm doing something wrong.

Any suggestions and/or URLs most welcome.


Regards,

Liam






---
Liam O'Hagan
GPG Key : http://www.liamohagan.com/gpg/
Key ID  : 5064DEA3



More information about the ILUG mailing list