Rustedt, Florian
2009-Jun-16 07:47 UTC
[Xen-users] Virt. Interfaces in routed domU. Howto config?
Hello, I've got a webserver in a domU and want to have a virtual ip per webspace. For that, I'll have to route the virtual Ips(212.86.86.2 - 126) via hostroutes in the same manner as the main-interface. Actual config: ----- config ----- ... # virtual network vif = [ "ip=212.86.61.30,mac=00:16:3e:1f:25:64" ]; ------------------ In the domU: Eth0 = 212.86.61.30 Eth0:0 = 212.86.86.2 [...] Eth0:124 = 212.86.86.126 ------------------ How do i route them now via config? As every vif is a "physical" interface for the domU, i can't just add them as vif's and if i would do that, i would be limited to a max. of three. So how do i add the routes now? Of course, i could manually add them to the dom0 and all is perfect, but i would prefer a config-based solution for stable allday usage reasons... Is there a way? Kind regards, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nathan Eisenberg
2009-Jun-16 07:56 UTC
Re: [Xen-users] Virt. Interfaces in routed domU. Howto config?
Just wondering why you're not using host headers. Also, bridging may be an easier solution. Best Regards, Nathan Eisenberg Sr. Systems Administrator Atlas Networks, LLC Sent from my BlackBerry -----Original Message----- From: "Rustedt, Florian" <Florian.Rustedt@smartnet.de> Date: Tue, 16 Jun 2009 09:47:35 To: Xen-users@lists.xensource.com<Xen-users@lists.xensource.com> Subject: [Xen-users] Virt. Interfaces in routed domU. Howto config? Hello, I've got a webserver in a domU and want to have a virtual ip per webspace. For that, I'll have to route the virtual Ips(212.86.86.2 - 126) via hostroutes in the same manner as the main-interface. Actual config: ----- config ----- ... # virtual network vif = [ "ip=212.86.61.30,mac=00:16:3e:1f:25:64" ]; ------------------ In the domU: Eth0 = 212.86.61.30 Eth0:0 = 212.86.86.2 [...] Eth0:124 = 212.86.86.126 ------------------ How do i route them now via config? As every vif is a "physical" interface for the domU, i can't just add them as vif's and if i would do that, i would be limited to a max. of three. So how do i add the routes now? Of course, i could manually add them to the dom0 and all is perfect, but i would prefer a config-based solution for stable allday usage reasons... Is there a way? Kind regards, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rustedt, Florian
2009-Jun-16 08:29 UTC
AW: [Xen-users] Virt. Interfaces in routed domU. Howto config?
> Von: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von > Nathan Eisenberg> Also, bridging may be an easier solution.Sorry, no, because we had severe problems with bridging, live-migration and multiple domUs. Bridged networking wasn't stable enough for massive migration( >=3 domUs in parallel) between dom0s. Additionally we went against a wall with more than 16 domUs, the 17th interface/bridge on dom0 didn't work, although it was configured. And yes, we changed the mumber of loop-devices, etc.. Finally we switched to routing, what is pretty easy at least and after all stable ;-)> Just wondering why you're not using host headers.Host headers? I don't know that? Is it some kind of startup-script i can insert in the config? Best regards, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nathan Eisenberg
2009-Jun-16 16:45 UTC
RE: [Xen-users] Virt. Interfaces in routed domU. Howto config?
Weird, I haven't had that problem with bridging. By host headers, I'm talking about apache. Basically, asking why do you need to use so many IPs? Unless you're using SSL, there's not much point (and even SSL doesn't -really- need multiple IPs anymore). Best Regards Nathan Eisenberg Sr. Systems Administrator Atlas Networks, LLC support@atlasnetworks.us http://support.atlasnetworks.us/portal -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Rustedt, Florian Sent: Tuesday, June 16, 2009 1:30 AM To: Xen-users@lists.xensource.com Subject: AW: [Xen-users] Virt. Interfaces in routed domU. Howto config?> Von: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Nathan > Eisenberg> Also, bridging may be an easier solution.Sorry, no, because we had severe problems with bridging, live-migration and multiple domUs. Bridged networking wasn't stable enough for massive migration( >=3 domUs in parallel) between dom0s. Additionally we went against a wall with more than 16 domUs, the 17th interface/bridge on dom0 didn't work, although it was configured. And yes, we changed the mumber of loop-devices, etc.. Finally we switched to routing, what is pretty easy at least and after all stable ;-)> Just wondering why you're not using host headers.Host headers? I don't know that? Is it some kind of startup-script i can insert in the config? Best regards, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rustedt, Florian
2009-Jun-17 06:49 UTC
AW: [Xen-users] Virt. Interfaces in routed domU. Howto config?
> Von: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von > Nathan Eisenberg> By host headers, I'm talking about apache. Basically, asking > why do you need to use so many IPs? Unless you're using SSL, > there's not much point (and even SSL doesn't -really- need > multiple IPs anymore).We provide FTP, ssh, http and https access for our customers. So we implement a virtual ip and deliver it to them. As ou customers are used to that, i can'T change this situation in near future, i just wanted to migrate our webserver in a xen-domU and failed with virtual-interface automatation... As our xen is redundant, i can't solve it "simple" with some kind of startup-script as the virtual machine could reside on either host and only that host is allowed to have theese routes. So i am searching for a way to implement theese routes into the host-config... Well, seems, i'll have to write my own network-connect script for xen... Cheers, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users