Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Problems with static route on PIX 501

Posted on 2011-02-10
Medium Priority
Last Modified: 2012-05-11
I've been given a PIX 501. I have never had to work with one before now, so I am not sure i have the proper syntax.  

I have tried a static route:
static (inside,outside) tcp netmask 255.255.255
.255 0 0

After entering the route, internet connectivity is lost and PC w/ IP cannot ping
Any ideas what i am doing wrong? Thanks in advance.
Question by:andrewferrer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 25

Expert Comment

by:Ken Boone
ID: 34867614
Well actually that is not a route.  That is a static route assignment.  What that statement says is the following:

take the "internal" ip address of and NAT it on the outside as 10.x.x.x.    So that doesn't route anything.  It would be used to allow devices on the outside to access the inside ip address of  by going to the outside ip address of 10.x.x.x.

So if you want to route the statement looks like this:

route interface x.x.x.x y.y.y.y z.z.z.z

replace interface with the interface that the packet needs to route out.
replace x.x.x.x with the destination network
replace y.y.y.y with the subnet mask of the destination network
replace z.z.z.z with the next hop address to reach the destination.
LVL 25

Expert Comment

by:Ken Boone
ID: 34867618
Excuse I said it was a static route assignment.  It is a static NAT assignment. ;)

Author Comment

ID: 34874823
Should I be able to ping from and vice-versa? When I add a static route I lose connectivity to the internet from 192.168.51.x devices. Thanks for your help. I'm a router config newbie.

Current setup:
Internet<-->ASA (
      PC------------------------PIX (
(                         (

PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 5RBH8LS encrypted
passwd 2KI.2KYOU encrypted
hostname xxxx-xxx-x
domain-name xxxx
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
access-list inside_access_in permit tcp any any
access-list outside_access_in permit tcp any any
route iniside 1
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside dhcp setroute
ip address inside
ip audit info action alarm
ip audit attack action alarm
pdm location 10.xx.xx.0 outside
pdm location inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0 0
access-group inside_access_in in interface inside
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 inside
no snmp-server location
no snmp-server contact
snmp-server community public
snmp-server enable traps
floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address inside
dhcpd dns
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd domain xxxxxxx
dhcpd enable inside
terminal width 80
: end
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

LVL 25

Accepted Solution

Ken Boone earned 2000 total points
ID: 34875209
Ok to start with the PIX is connected to both the 10.x.x.x network on the outside and the 192.168.x.x network on the inside.

So it already has connected routes for those two networks.  That means you can remove this line:

route iniside 1

Secondly you have this configured:

global (outside) 1 interface
nat (inside) 1 0 0

This means that anything on the inside network when passing to the outside network will have its ip address NAT'd to the ip address of the outside interface of the PIX.

Thirdly you have this configured:

access-list inside_access_in permit tcp any any
access-group inside_access_in in interface inside

So what this does is allow all tcp traffic into the inside interface and blocks all other traffic by default.  As in it blocks udp and icmp packets.

So you might want to add this line:

access-list inside_acccess_in permit icmp any any

This will now allow the icmp packets to flow in to the inside interface.

But this still is not where you need to be although it will now let the return ping go through the inside interface.  The problem you face now is that the way the PIX/ASA work is that when you go from a lower security level interface (outside) to a higher security level interface (inside) you need to have a static NAT mapping AND an access-list rule allowing the traffic on the lower level security interface (outside).

So you need this:

static (inside,outside) netmask 0 0

The ZZ is a new ip address assignment that you are going to assign to the  So what this does is makes the look like 10.x.x.ZZ on the outside of the PIX.  So things on the outside will need to talk to the by using the 10.x.x.ZZ ip address.

Lastly you need an access-list applied to the outside interface in order to make this work.  It would look something like this:

access-list outside_access_in permit tcp any 10.x.x.ZZ
access-list outside_access_in permit icmp any 10.x.x.ZZ

access-group outside_access_in in interface outside

Now that will allow any ip address to come in to the outside interface of that pix using TCP or ICMP (Pings) traffic when going to the new 10.x.x.ZZ address which will NAT to the address on the inside.

Hope that helps.


Assisted Solution

andrewferrer earned 0 total points
ID: 34890216
"So you need this:

static (inside,outside) netmask 0 0

The ZZ is a new ip address assignment that you are going to assign to the  So what this does is makes the look like 10.x.x.ZZ on the outside of the PIX.  So things on the outside will need to talk to the by using the 10.x.x.ZZ ip address."

Just to clarify, in the above statement, the "ZZ". Does the "ZZ" have to be the IP of the PC that I am attempting to ping from ( or does "ZZ" refer to a new IP address that I assign from a list of unused IP addresses? Thanks again for your assistance.
LVL 25

Expert Comment

by:Ken Boone
ID: 34891114
The ZZ is a new ip address on the 10.x.x network that you will use that is currently unused.

Author Closing Comment

ID: 34995500
Thank you for your assistance.

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question