Figure 7: Bidirectional Nat Example - Juniper JUNOSE 11.0.X IP SERVICES Configuration Manual

For e series broadband services routers - ip services configuration
Table of Contents

Advertisement

JUNOSe 11.0.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

This manual is also suitable for:

Junose 11.0.x

Table of Contents