[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] custom parameters for vif script


  • To: Sven Köhler <sven.koehler@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "H. Sieger" <powerhouse.linux@xxxxxxxxx>
  • Date: Mon, 21 Apr 2014 08:15:10 -0700 (PDT)
  • Delivery-date: Mon, 21 Apr 2014 15:19:36 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Bg15mpmz9lHlHyEHDSuaiFAvMwEBU6anGMrONU3E0jkbWuB7IgHQgbND7U7AifwdCr1VNnVaGr0hcVzswfxuQvNusgN3igdzll9DGWsyhYcplTG5nRPEVue38vfpfojgG0g4Hb0GLFk1PzVKvor5Dj8Vk0LrFZGzrZF5F6wQADw=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Perhaps I'm totally off here, but isn't there a way to set up domUs with routing outside the xend network scripts? With bridging I use brctl and the /etc/network/interfaces file (Ubuntu/Debian distributions) to set up a bridge and define IP addresses (or DHCP) for the domUs.

If all you need is fixed IP addresses for your domUs, they can be defined in the interfaces file.

I think the shorewall firewall website has a detailed explanation on how to set up routing in Xen. IIRC it also explains how to set up a VM for routing/firewall purposes. Might be worth checking.
On Monday, April 21, 2014 12:35 AM, Sven Köhler <sven.koehler@xxxxxxxxx> wrote:
Am 20.04.2014 21:47, schrieb Tom Fritz:
> Sven,
>
>> the vif scripts (vif-route, vif-bridge, etc.) that come with xen just
>> don't work for me. I don't feel like I need a bridged setup. My ISP
>> insists of routing the IPs of the domUs to my dom0. So now I'm using
>> script=vif-route. But it has some caveats ...
>
>    You haven't indicated what version of Xen your running. Newer
> versions don't use the vif-bridge scripts. They require you to use the
> bridge-utils to create a bridge.

I'm using Xen 4.4.0.

I didn't know Xen doesn't setup the bridges anymore. The first thing I
always did was to disable Xen's scripts for setting up the bridge.
Instead, I used Gentoo's scripts for setting up the script. But as I
wrote, I'm not using bridging anymore and therefore switched from
vif-bridge to vif-route.


Regards,

  Sven


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.