262
C
16: U
HAPTER
SING
PAT Case Study
N
A
T
ETWORK
DDRESS
RANSLATION AND
6 Configure NAT mappings.
add nat dynamic user nat_user
public_pool_start 202.55.55.42/29 count 3
add nat static user nat_user private_address 192.168.111.106
public_address 202.55.55.45
add nat static user nat_user private_address 192.168.111.140
public_address 202.55.55.46
7 Enable the user.
enable user nat_user
8 Save your work.
save all
The following case study configures PAT on the RAS 1500, with 2 channel
multilink PPP connected to the ISP with dial-on-demand and
bandwidth-on-demand. The 2 channels may be either ISDN or analog
interfaces and assume that you have already configured the ISDN
modems for proper operation. However, adding more than 4 Multi-Link
Point-to-Point Protocol (MLPPP) links diminishes the gain of adding the
channels because of the MLPPP overhead.
1 Specify the local Ethernet IP address.
add ip network ip address 192.168.1.1/C
2 Enter the local IP address pool for dial-in users.
add ip pool ippool initial_pool_address 192.168.1.10 size 24
3 Specify initial settings for the user named "pat_user."
add modem_group PATMODEM interfaces
rm0/slot:1/mod:1,rm0/slot:1/mod:2
add user pat_user password pat type network,dial_out
enabled no
set user pat_user phone 15085551212
set user pat_user alternate_phone_number 15088711313
set user pat_user modem_group PATMODEM
set user pat_user idle_timeout 60
set network user pat_user network_service ppp
set network user pat_user ipx disable appletalk disable
bridging disable
P
A
T
ORT
DDRESS
RANSLATION