Forum Search:
HyperVM & Kloxo Support

Home » HyperVM » HyperVM Technical Help » Make HyperVM xen config recognise two NIC's
Make HyperVM xen config recognise two NIC's [message #73254] Sun, 14 March 2010 08:50
n000b  is currently offline n000b  Australia
Messages: 4
Registered: April 2009
Member
Hi,

I have previously used HyperVM/Xen with one NIC, with a line in the domU's config file like this:

vif = ['ip=123.123.123.123, vifname=vifesty2, mac=aa:00:aa:f3:9f:01']

I have recently added another server on the local network that I do backups to, so I now have two Xen bridges, each attached to one physical network port - one for the internet, and one for the LAN. If I put this line in to the config file directly and reboot the server it works fine (I have bolded the changes):

vif = ['ip=123.123.123.123, bridge=eth0, vifname=vifesty2, mac=aa:00:aa:f3:9f:01', 'ip=192.168.1.3, bridge=beth1, vifname=vifesty2local, mac=00:16:3e:08:be:a7']

However, when I restart the domU from inside HyperVM, it overwrites my changes to the config file and resets it to the first vif line above.

I know that there is an "Append To Xen Config" option in HyperVM and that I could probably put the above line in to that - I assume that Xen would find both vif lines but only use the second one - but that means that I would have to manually modify that line if when I add more IP addresses to the domU.

I was wondering if there was a way to change the template that HyperVM uses for the domU config file, so that I can modify the vif line in that and add in my changes.
Previous Topic:2 ips listed on the master
Next Topic:not_in_list_of_allowed_ip issue
Goto Forum:
  


Current Time: Fri Sep 3 07:20:55 EDT 2010

Total time taken to generate the page: 0.01691 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2009 FUDforum Bulletin Board Software