Junos
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 11
Registered: ‎10-26-2008
0 Kudos
Accepted Solution

1:1 NAT by prefix

Hi all,

 

for a renumbering project, I'm trying to figure out whether it is possible to transparently NAT a range of prefixes on J-series, using either JUNOS or JUNOS/ES. Any documentation or config example mentions only single addresses for the inbound direction.

 

example: 1.2.3.0/24 <-NAT-> 2.3.4.0/24 so that (ie. 1.2.3.1 <-> 2.3.4.1 ... 1.2.3.254 <-> 2.3.4.254)

 

Isthis possible and if yes, can anyone please point me at documentation for this?

 

thanks in advance,

sascha

Distinguished Expert
Posts: 755
Registered: ‎11-06-2007

Re: 1:1 NAT by prefix

Yes this is possible with static NAT on JUNOS with enhanced services. Check out this application note:

 

http://kb.juniper.net/kb/documents/public/junos_es/JUNOS_ES_VPN_with_Overlapping_Subnets.pdf

 

This app note refers to using static NAT with VPN tunnels. But in your case you can ignore the VPN tunnel aspect and focus on the static NAT configuration example.

 

-Richard

Contributor
Posts: 11
Registered: ‎10-26-2008
0 Kudos

Re: 1:1 NAT by prefix

Richard,

 

many thanks, the config according to your doc works great. 

 

Regards,

  Sascha