PDA

View Full Version : Alternative NAT configuration ?


daveh9
04-12-2009, 06:10 AM
Hi Todd

The way I understand your guide the following would be a working example of configuring NAT Overload:

R1(config)# int fa0/1
R1(config-if)# ip nat inside
R1(config-if)# int s0/1
R1(config-if)# ip nat outside

R1(config)# ip nat pool Todd 170.168.2.2 170.168.2.254
R1(config)# ip nat inside source list 1 pool Todd overload
R1(config)# access -list 1 permit 10.1.1.0 0.0.0.255

The question I have relates to a command I've seen in a couple of other NAT examples and doesn't seem to be associated with a pool:

Router(config)# ip nat inside source list 1 int serial 0/0 overload

Could you briefly explain what the command specifies and in what situation it would be used rather than the initial example taken from your guide

Thankyou
Daveh9

lildeezul
04-12-2009, 07:05 AM
hi, the first command " ip nat inside source list 1 pool Todd overload" uses the pool of addresses that was configured earlier, and once one address is at its maxium connections, it will assign the next address in the pool.

the latter command " ip nat inside source list 1 int s0/0 overload" is the command to use pat on the serial0/0 interface and use port numbers to differentiate the connections.. this command takes the ip address (static or assign by the ISP dhcp server) on the interface and overload that ip address.. the difference is that the first command uses the pool of addresses you assigned, while the latter command uses the ip address already configured on the serial interface ( such as, if it has been assigned by the ISP dhcp server.)

hope this helps.

-Marc

daveh9
04-12-2009, 09:21 AM
Thanks Lildeezul

That clears things up.

Regards
Daveh9