Hi Everyone, I''ve been reading this blog entry: http://www.standingonthebrink.com/index.php/ipv6-ipv4-and-arp-on-xen-for-vps/ Does anyone know how to get the above system working without recompiling xen? Basically what I want to do is add some filter rules when the guest vif comes up once the vm starts. Of course, since the vif name changes every time the VM starts, these rules can''t be hardcoded, so something need to go into the config scripts. Thanks Jonathan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Jun 13, 2010 at 9:35 PM, Jonathan Tripathy <jonnyt@abpni.co.uk> wrote:> Hi Everyone, > > I''ve been reading this blog entry: > http://www.standingonthebrink.com/index.php/ipv6-ipv4-and-arp-on-xen-for-vps/ > > Does anyone know how to get the above system working without recompiling > xen?Did you ask the author?> Basically what I want to do is add some filter rules when the guest vif > comes up once the vm starts. Of course, since the vif name changes every > time the VM starts, these rules can''t be hardcoded,You can make the vif use the same name. Something like vif = [ ''mac=00:16:3E:98:E2:8C, vifname=ubuntu-eth0'', ] It works for PV domUs, as well as HVM domUs with PV drivers. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 13/06/10 16:33, Fajar A. Nugraha wrote:> On Sun, Jun 13, 2010 at 9:35 PM, Jonathan Tripathy<jonnyt@abpni.co.uk> wrote: > >> Hi Everyone, >> >> I''ve been reading this blog entry: >> http://www.standingonthebrink.com/index.php/ipv6-ipv4-and-arp-on-xen-for-vps/ >> >> Does anyone know how to get the above system working without recompiling >> xen? >> > Did you ask the author? > > >> Basically what I want to do is add some filter rules when the guest vif >> comes up once the vm starts. Of course, since the vif name changes every >> time the VM starts, these rules can''t be hardcoded, >> > You can make the vif use the same name. Something like > > vif = [ > ''mac=00:16:3E:98:E2:8C, vifname=ubuntu-eth0'', > ] > > It works for PV domUs, as well as HVM domUs with PV drivers. > >Hi Fajar, Yep, I''ve posted a comment to the author''s site. As for your method above for naming the vif, does that name the vif in the Dom0 or DomU? I would need the vif in the Dom0 to remain the same (e.g. vif1.0, vif2.0 etc..) Thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Jun 13, 2010 at 10:40 PM, Jonathan Tripathy <jonnyt@abpni.co.uk> wrote:> As for your method above for naming the vif, does that name the vif in the > Dom0 or DomU?dom0.> I would need the vif in the Dom0 to remain the same (e.g. > vif1.0, vif2.0 etc..)Try it, and run "brctl show" or "ip link" after starfting a domU with that settings. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users