Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

8 IP's Block and NAT 2

Status
Not open for further replies.

yemaya

Technical User
Sep 13, 2006
140
CA
Hi Guys,

I got from my ISP a 8 IPs block assigned and i want to use them for different PCs and Servers, right now i have this NAT configuration:

Code:
ip nat inside source list NAT interface Dialer0 overload

ip access-list standard NAT
 permit 192.168.1.0 0.0.0.255
 permit 192.168.2.0 0.0.0.255
 permit 192.168.3.0 0.0.0.255
 permit 192.168.4.0 0.0.0.255
 permit 192.168.5.0 0.0.0.255

to use all ips do i have to change this for:

Code:
ip nat pool IP-BLOCK 206.xx.xx.224 206.xx.xx.231 netmask 255.255.255.248

ip nat inside source list NAT pool IP-BLOCK overload

ip access-list standard NAT
 permit 192.168.1.0 0.0.0.255
 permit 192.168.2.0 0.0.0.255
 permit 192.168.3.0 0.0.0.255
 permit 192.168.4.0 0.0.0.255
 permit 192.168.5.0 0.0.0.255

Is this correct or do i have to do more changes?.
Thanks in advance.
 
I'm not sure what your asking.. You say that you received a block of ip's with 8 addresses? Example 69.69.69.0/29

network 69.69.69.0 255.255.255.248

available ip's 69.69.69.1 thru 69.69.69.6

Broadcast 69.69.69.7

If so you can assisgn directly to a pc... I would not go this route... You can setup a nat statement for a public to private address...



Daily Thought:Some people are like slinkies. Not really good for anything but they bring a smile to your face when
pushed down the stairs.


Tek-TIP Member 19,650
[americanflag]
 
He is asking if what he typed is correct as far as NATting the block 206.x.x.224/28. I have to re-read some Cisco stuff, but I will get back to you.

Burt
 
Yes---that should be it, as long as the 192.168.x.x subnets all have routes to 206.x.x.224/28.

Burt
 
Hi Burt,

Yes, what i want to do is use dynamically all available external ip addresses 206.x.x.225-229/28 insted of only one, and used 206.x.x.230 statically to my lab access server to access from outside and work on it, the static statement should be:

Code:
ip nat inside source static 192.168.100.5 206.x.x.230

Is this statement correct or i'm missing something?

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top