Routing/NAT problem on Xenserver 6.2 with virtual firewall

Mark Felder feld at FreeBSD.org
Fri Sep 12 13:47:56 UTC 2014



On Fri, Sep 12, 2014, at 05:42, Karl Pielorz wrote:
> 
> --On 12 September 2014 12:33 +0200 Marko Lerota <mlerota at pdsvelebit.hr> 
> wrote:
> 
> > Can somebody help me in this situation? I don't know what's wrong.
> > The firewall/NAT doesn't work if the virtual hosts are on the same
> > machine where firewall is. The funny thing is that ICMP packets are
> > passing through, but ordinary traffic does not. Do I have to change
> > something on Xenserver dom0 or PF firewall?
> 
> This is a known bug - see:
> 
>   <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188261>
> 
> It's also an absolute PITA :( - It also affects DHCP (as I found out a 
> while ago).
> 
> You either have to run a separate pool for the 'router' VM's (and setup
> the 
> VM's accordingly balanced between pools) - or you can run the router VM's 
> in HVM mode only, and they will work (i.e. xn0 etc. become re0 etc.) - 
> performance isn't brilliant in that mode, and also as it's HVM they're
> not 
> 'agile' (so no xen motion migration, no moving storage while they're 
> running).
> 

I'm confident you could patch out the HVM xn0 but keep the rest of the
HVM code so you have fast disk, etc, and you can run the xen tools which
then allows you to use XM and XSM :-) I know Roger has given me a patch
that does this while we were troubleshooting a performance issue.


More information about the freebsd-xen mailing list