Junos
Reply
Contributor
bofh666ie
Posts: 10
Registered: ‎10-26-2008
0
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
rkim
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
bofh666ie
Posts: 10
Registered: ‎10-26-2008
0

Re: 1:1 NAT by prefix

Richard,

 

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

 

Regards,

  Sascha

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.