1:1 destination nat mapping

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

1:1 destination nat mapping

L3 Networker

Hi everybody,

 

  does anybody know if it is possible to write a single destination NAT policy in order to map ip addresses from a given range/network to a corresponding range/network of the same size preserving the host portion of the address? I try to explain with an example. I would like to translate packets destined to 192.168.10.0/24 with address in 10.168.10.0/24 in this way:

 

192.168.10.1 --> 10.168.10.1

192.168.10.2 --> 10.168.10.2

192.168.10.3 --> 10.168.10.3

 

...and so on, without configuring 254 static destination nat policies.

Anybody knows?

 

Thank you in advance!

Linus does not push the flush toilet button. He simply says: make clean!
1 accepted solution

Accepted Solutions

Community Team Member

Hi @grenzi ,

 

Use the Static IP mapping type to translate an entire address range to a specific address range, a one-to-one mapping

 

Check out the following KB:

Source NAT Translation Types and Typical Use Cases 

 

EDIT >>>

Just noticed that you talked about destination NAT ...

 

You can configure ranges like this example  :

Source: 192.168.1.1-192.168.1.4

Destination: 2.2.2.1-2.2.2.4

 

As explained here :

destination-nat 

 

Cheers,

-Kiwi.

 
LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

View solution in original post

3 REPLIES 3

Community Team Member

Hi @grenzi ,

 

Use the Static IP mapping type to translate an entire address range to a specific address range, a one-to-one mapping

 

Check out the following KB:

Source NAT Translation Types and Typical Use Cases 

 

EDIT >>>

Just noticed that you talked about destination NAT ...

 

You can configure ranges like this example  :

Source: 192.168.1.1-192.168.1.4

Destination: 2.2.2.1-2.2.2.4

 

As explained here :

destination-nat 

 

Cheers,

-Kiwi.

 
LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

Thank you for the links!

Linus does not push the flush toilet button. He simply says: make clean!

Hi Kiwi,

When implementing 1:1 static NAT for an IP address range, are there anythings I should consider?  For example, is there maximum number of NAT?  Do you recommend do static NAT for /16 IP address range?

Thanks,

Wsing

  • 1 accepted solution
  • 5131 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!