Re: [libvirt] [PATCH v2 2/4] net: support set public ip for forward mode nat

2013-02-11 Thread Natanael Copa
On Fri, 8 Feb 2013 17:25:11 + "Daniel P. Berrange" wrote: > On Mon, Feb 04, 2013 at 10:45:24AM +0100, Natanael Copa wrote: > > Support setting which public ip to use for NAT via attribute > > address in subelement in : > > > > ... > > > > > > > > Unless I'm mis-understanding,

Re: [libvirt] [PATCH v2 2/4] net: support set public ip for forward mode nat

2013-02-08 Thread Daniel P. Berrange
On Mon, Feb 04, 2013 at 10:45:24AM +0100, Natanael Copa wrote: > Support setting which public ip to use for NAT via attribute > address in subelement in : > > ... > > > Unless I'm mis-understanding, this is just identical to using a range, with the start + end addresses equal eg

[libvirt] [PATCH v2 2/4] net: support set public ip for forward mode nat

2013-02-04 Thread Natanael Copa
Support setting which public ip to use for NAT via attribute address in subelement in : ... ... This will construct an iptables line using: '-j SNAT --to-source ' instead of: '-j MASQUERADE' Signed-off-by: Natanael Copa --- docs/formatnetwork.html.in | 13 ++ src/con