1:1 destination nat mapping

Reply
Highlighted
L2 Linker

1:1 destination nat mapping

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!

--
There can be only one!
Tags (1)

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.

 

View solution in original post

Tags (3)

All Replies
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.

 

View solution in original post

Tags (3)
Highlighted
L2 Linker

Thank you for the links!

--
There can be only one!
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 Live Community as a whole!

The Live Community thanks you for your participation!