PDA

View Full Version : NAT Pool netmask question


maru3445
10-22-2008, 10:52 AM
when configuring the nat pool what determines the netmask that you use? For example in the chapter 11 lab when setting up the nat pool we use the following command:

ip nat pool GlobalNet 171.16.10.50 171.16.10.55 netmask 255.255.255.0

why wouldn't we use 255.255.255.248 as the net mask? If we did would it make a difference.

is the netmask determined by the network we are NATing into?

lildeezul
10-22-2008, 12:41 PM
When configuring the pool of addresses, you are telling the router to translate internal ip address to a pool of list addresses.

If your company only owns a subnet of the addresses. lets say /28 block of addresses, then you would assign the netmask 255.255.255.248 or prefix-lenth /28.


basically with the netmask command you are giving the subnetmask of the address you defined in the pool. if it was only 14 addresss in a numerical categorized block then you could assign the /28 netmask.

hope this helps.

let me know if you still have any queries

maru3445
10-22-2008, 01:10 PM
that helped, thank you!