Re: static ipv4 NAT

From: Rich Collins <nilsi2002_at_gmail.com>
Date: Mon, 11 Jan 2010 16:07:56 -0500

Hi Sadiq,

Sorry but I was too quick to respond.

yes you are right, I can have a NAT statement for the port to be
translated and the other stream will go through with no natting. My
testing still requires to test NAT transversal so I will need to
translate the source ip in both cases but only PAT on one stream.

I'll try to configure later today.

Thnks
Rich

On Mon, Jan 11, 2010 at 3:21 PM, Rich Collins <nilsi2002_at_gmail.com> wrote:
> Hi Sadiq,
>
> The problem is that the client (SIP) uses both UDP streams and the
> server should see them coming from the same ip address.
>
> Client uses both 4000 and 5000 and not one or the other.
>
> -Rich
>
> On Mon, Jan 11, 2010 at 2:32 PM, Sadiq Yakasai <sadiqtanko_at_gmail.com> wrote:
>> Hi Rich,
>>
>> Well, if the server listens on one of the ports, why do you need 2 NATs
>> then? Just configure NAT for the port number that the client uses which is
>> not supported by the server.
>>
>> i.e. say the server listens on port 4000. This means the client would send
>> either 4000 or 5000.
>>
>> Create your NAT state for the 5000 port then. This you can do using a static
>> PAT with an ACL.
>>
>> Hope that helps a little, let us know if you need more specifics.
>>
>> Sadiq
>>
>> On Mon, Jan 11, 2010 at 4:05 PM, Rich Collins <nilsi2002_at_gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> I am trying to test a client - server application in a NAT
>>> environment. The client though uses two different defined destination
>>> UDP ports but the server listens only on one UDP port for both these
>>> related applications. i.e. not translate port in one instance but
>>> translate in the second case for the same src-dst
>>>
>>> Is there a method (even double static NAT) for this scenario?
>>>
>>> source ---------NAT---------------destination
>>>
>>> 20.20.20.20 --->dst udp port 4000
>>> 30.30.30.30 4000
>>>
>>> 20.20.20.20 ---->dst udp port 5000
>>> 30.30.30.30 4000
>>>
>>> Thanks
>>> Rich
>>>
>>>
>>> Blogs and organic groups at http://www.ccie.net
>>>
>>> _______________________________________________________________________
>>> Subscription information may be found at:
>>> http://www.groupstudy.com/list/CCIELab.html
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> CCIE #19963

Blogs and organic groups at http://www.ccie.net
Received on Mon Jan 11 2010 - 16:07:56 ART

This archive was generated by hypermail 2.2.0 : Thu Feb 04 2010 - 20:28:41 ART