No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade
Knowledge Base

FAQ-Can VRP 3.4 Version Enable PAT and No-PAT NAT at the Same Interface

Publication Date:  2012-07-27  |   Views:  4  |   Downloads:  0  |   Author:  Deng Zhiheng  |   Document ID:  EKB0000256469

Contents

Issue Description

Q:
Can VRP 3.4 version enable PAT and No-PAT NAT at the same interface?

Alarm Information

Null

Handling Process

A:
VRP 3.4 version can enable  PAT and No-PAT NAT at the same interface and detailed configuration is as follows:
#                                                                               
 nat address-group 0 222.1.1.3 222.1.1.5                                        
 nat address-group 1 222.1.1.6 222.1.1.6                                        
#                                                                               
interface Ethernet0/0                                                           
 ip address 10.1.1.1 255.255.255.0                                              
#                                                                               
interface Serial0/0                                                             
 clock DTECLK1                                                                  
 link-protocol ppp                                                              
 ip address 222.1.1.1 255.255.255.248                                             
 nat outbound 3002 address-group 1 no-pat                                       
 nat outbound 3001 address-group 0                                              
#                                                                               
acl number 3001                                                                 
 rule 0 permit ip source 10.1.1.0 0.0.0.255                                     
acl number 3002                                                                 
 rule 0 permit ip source 10.1.1.2 0.0.0.0                                     
#                                                                               
 ip route-static 0.0.0.0 0.0.0.0 222.1.1.2 preference 60                        
#                                                                               

Root Cause

Null

Suggestions

Null