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

Re: [Xen-devel] xen 3 dom0 eats memory




I changed the setup in the following way:
- added an ip address to the bridge (in another subnet (B))
- changed domU ip address to a net B address
- added masquerading for eth0 in the postrouting-chain in dom0

What iptables rules do you use to set this up?
I used "iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE" for masquerading.

Is the gateway address for domU the net B address interface you add to the bridge?
Yes that right, i forgot to mention that.

I have one official address on dom0 eth0 and a privat class B network for the domU's. The address used on the bridge is from this private network and the gateway for the domU's

It's worth trying 'ethtool -K eth0 tx off' in domU to turn off checksum offload, just in case that is causing problems.
Checksum offload is turned off in all domU's.

The problem only appears if the pakets are masqueraded. Pinging the gateway-address (the one on the bridge-if) or the dom0-eth0-address causes no memory consumption

Patrick

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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