Figure 7: Bidirectional Nat Example - Juniper IP SERVICES - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Ip services configuration guide
Table of Contents

Advertisement

JUNOSe 11.1.x IP Services Configuration Guide

Figure 7: Bidirectional NAT Example

To configure this example:
1.
2.
3.
4.
5.
6.
7.
8.
9.
82
NAT Configuration Examples
Enter the correct virtual router context.
host1(config)#virtual-router blue
Mark the inside interface.
host1:blue(config)#interface serial 1/1:1/1
host1:blue(config-interface)#ip nat inside
host1:blue(config-interface)#exit
Mark the outside interface.
host1:blue(config)#interface gigabitEthernet 3/0.1
host1:blue(config-interface)#ip nat outside
host1:blue(config-interface)#exit
Create the translation for the DNS.
host1:blue(config)#ip nat inside source static 192.168.22.2 192.32.6.1
Create the address pool for dynamic translations.
host1:blue(config)#ip nat pool entA192 192.32.6.2 192.32.6.63 prefix-length
24
Create the access list for addresses eligible for dynamic translation (that is, private
addresses).
host1:blue(config)#access-list entA permit 192.168.22.0 0.0.0.255
Create the dynamic translation rule.
host1:blue(config)#ip nat inside source list entA pool entA192
Configure a default route to the outside interface.
host1:blue(config)#ip route 0.0.0.0 0.0.0.0 gigabitEthernet 3/0.1
Configure a null route for the inside global addresses, to prevent routing loops
when no matching translation exists.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IP SERVICES - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?

This manual is also suitable for:

Junose 11.1.x ip servicesJunose v 11.1

Table of Contents