Skip to main content

Pix 501 Nat Problem

More
19 years 11 months ago #6690 by dstar9999
hello I am a Newbe to Cisco. I am trying to Nat an internal address 10.40.1.8 to three external address. 66.77.116.170-172 on a pix 501. I am using PDM. When I am on the external net work I can’t ping or access the 66.77.116.170 address. Can anyone telling me what I am doing wrong?

PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname Pix1
domain-name
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list outside_access_in permit icmp any any
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 62.77.116.160 255.255.255.128
ip address inside 10.40.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.40.1.8 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 62.77.116.170-62.77.116.172
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 10.40.1.8 10.40.1.8 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 10.40.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 10.40.1.8-10.40.1.10 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:d0c800c3e2d95764ca95a776152274aa
: end
More
19 years 11 months ago #6691 by sidd
Replied by sidd on topic PIX 501 NAT Problem
global (outside) 1 62.77.116.170-62.77.116.172
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 10.40.1.8 10.40.1.8 netmask 255.255.255.255 0 0
dhcpd address 10.40.1.8-10.40.1.10 inside

Hi,

First of all lets understand why and what all changes you can make on your config.

As per your current config you have defined the outside Global address pool to use the 3 ip address which are 66.77.116.170-172. This means that whenever any host from your internal network tries to go out and access the internet it would be translated into the ip address range from the following address pool you have defined. I would recommend the command

global (outside) 1 interface

Second the static command that you have defined in your config tells your firewall to not to translate the ip address 10.40.1.8 when it tries to go out and access the internet (as per my assumption). so i believe you would not require this command in your config.

Thirdly the command you have defined in your dhcp only allows two machines from your internal network to get an ip address from your pix firewall.

Now as per the issue your running into you need to map 3 different external ip address to one internal ip address. Well as far as i know thats not possible till now.
Secondly if you want that your internal ip address to be translated to only one single ip address then you can create the static translation which would be

static (inside,outside) 66.77.116.170 10.40.1.8

Note :- make sure that you have removed the two above commands which are before making any changes in your config
1) static (inside,outside) 10.40.1.8 10.40.1.8 netmask 255.255.255.255 0 0
2) global (outside) 1 62.77.116.170-62.77.116.172


Incase you have doubts mail me....

Sidd
Time to create page: 0.122 seconds