Re: SNAT iptable entry on VirtualRouter

2014-06-09 Thread Sheng Yang
> created? > > Thanks, > Sachin > > From: Sheng Yang > Date: Friday, June 6, 2014 4:12 PM > To: "" , > Sachchidanand Vaidya > Subject: Re: SNAT iptable entry on VirtualRouter > > Hi Sachin, > > The nicDevId() you see is coming from > pr

Re: SNAT iptable entry on VirtualRouter

2014-06-08 Thread Sachchidanand Vaidya
ailto:dev@cloudstack.apache.org>>" mailto:dev@cloudstack.apache.org>>, Sachchidanand Vaidya mailto:vaidy...@juniper.net>> Subject: Re: SNAT iptable entry on VirtualRouter Hi Sachin, The nicDevId() you see is coming from prepareNetworkElementCommand(IpAssocCommand cmd)

Re: SNAT iptable entry on VirtualRouter

2014-06-06 Thread Sheng Yang
Hi Sachin, The nicDevId() you see is coming from prepareNetworkElementCommand(IpAssocCommand cmd) in CitrixResourceBase in case of Xen. You would see this: if (addVif) { // Add a new VIF to DomR String vifDeviceNum = getLowestAvailableVIFDe

Re: SNAT iptable entry on VirtualRouter

2014-06-06 Thread Sachchidanand Vaidya
Hi, I'm seeing the same issue with 4.4 code. After further debug, I see that CS mgmt server is sending following command to XenHost, xensource.log: /opt/cloud/bin/ipassoc.sh -A -s -f -l 10.84.59.131/24 -c eth0 -g 10.84.59.254 VirtualRouter's public interface is eth2. Also as per dump of VIF l

Re: SNAT iptable entry on VirtualRouter

2014-05-16 Thread Sheng Yang
Hi Sachin, I don't think it's normal. Could you please post iptables-save? It should be eth2 I think. --Sheng On Wed, May 14, 2014 at 2:51 AM, Sachchidanand Vaidya wrote: > Hi, > I have an isolated network (192.168.3.x/24) being served by > VirtualRouter, where 10.84.59.131 is SourceNAT ad

SNAT iptable entry on VirtualRouter

2014-05-15 Thread Sachchidanand Vaidya
Hi, I have an isolated network (192.168.3.x/24) being served by VirtualRouter, where 10.84.59.131 is SourceNAT address and eth0 is VN interface of VirtualRouter & eth2 is the public interface of VirtualRouter. When I look at the nat table entries on the VirtualRouter, it shows following :