cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1248
Views
0
Helpful
21
Replies

Ping PIX help - two ip addresses on pix outside interface?

cybrsage
Level 1
Level 1

Here is my situation:

I have a pix 515E currently running with private IPs on both the outside and inside interfaces. I now have to have the outside interface pingable from the Internet and cannot figure out how to do it.

This is what I thought I needed to do:

z.z.z.z is the Internet address of the person who needs to ping my pix

a.a.a.a is the new Internet address I am trying to use on the firewall.

10.0.0.1 is the inside interface

access-list outside_access_in permit icmp z.z.z.z host a.a.a.a

static (inside,outside) a.a.a.a 10.0.0.1 netmask 255.255.255.255 0 0

It does not work.

I was thinking maybe I just need a second ip address on the outside interface, but really have no idea.

Thanks!

21 Replies 21

Collin Clark
VIP Alumni
VIP Alumni

If you want to be able to ping the outside interface, you don't need the static and ACE. What you'll need to add is-

icmp permit host z.z.z.z echo-reply outside

Here's on link on how ICMP works on the PIX/ASA-

http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a0080094e8a.shtml#asatrace

Awesome, thanks, I will give it a shot.

Now, if I also want to add SSH ability to the same address as is being pinged...

EDIT: Wait...how do I get the second IP address on the outside interface of the router? They cannot ping my private address from the Internet so they need a routable IP address to ping.

If you need to ping just a.a.a.a, and not the interface, you will then need the ACE, but you still don't need the NAT.

You have to SSH to the interface IP for a remote management session.

I think we're getting crossed up. Are you looking for the remote user to get the firewall itself or a device on the inside of your network?

Thing is, they cannot ping a private IP address from the Internet. The private IP address is not Internet routable.

They need to be able to ping my PIX from the Internet, so I need an address on it which they can reach from the Internet. This address is the a.a.a.a address.

And they will SSH to that IP (z.z.z.z) for remote management of the firewall?

I mistyped, then edited but not fast enough.

They will manage from z.z.z.z to the 10.0.0.1. That is why I need to add the a.a.a.a address, which will be an Internet routable address.

cybrsage
Level 1
Level 1

To clarify what I am trying to do:

User A is an outside company and will access the PIX firewall from the Internet. User A's address is z.z.z.z

My PIX currently has a private IP on its outside interface, 10.0.0.1.

I need User A to both ping and SSH to my PIX from the Internet. He cannot reach the 10.0.0.1 since it is non-routable over the Internet.

Sorry I got the IP wrong:-), then the above posts will work-

Allow them to ping-

icmp permit host z.z.z.z echo-reply outside

Allow them to SSH-

ssh z.z.z.z 255.255.255.255 outside

They cannot ping the 10.0.0.1 from the Internet. It is not an Internet routable IP address.

I need to figure out a way to add an Internet routable IP address to the outside interface of the PIX.

But at least the confusion is cleared up. Too much time spent staring at PIX code and not enough time drinking coffee does this to me!

I assumed you we're already NATing the public IP to the PIX further upstream. How are you connecting the public vlan to your outside interface? Do you have the licensing to add another interface in the PIX?

As it is, the Internet comes through a router, then to the PIX, then to the network.

The router's inside address is a private address, matching the network of the PIX external address. I have no control over that router, but they are sending the entire a.a.a.0/24 block to my PIX, and I have other a.a.a.b addresses (and such) already working.

To remove the letters and make it less cryptic, let us assume my IP routable address is 100.100.100.0/24. I already have others nat'd on the PIX as such:

global (outside) 2 100.100.100.71

nat (inside) 2 access-list NAME 0 0

!

static (inside,outside) 100.100.100.68 10.1.1.1 netmask 255.255.255.255 0 0

(10.0.0.1 is my outside address while 10.1.1.1 is my inside address)

The upstream router sends the entire 100.100.100.0/24 to my PIX.

Normaly, this is not a problem, since I just nat inside address to the outsid and it is all good.

Now, I want to provide access to the router for monitoring from the Internet and need to add an Internet routable address to the outside interface.

Alternatively, I can nat the inside interface to the outside, but my gut instinct tells me this either will not work or is the epitomy of dangerous.

I got it now. Any chance the provider can either 1) Translate one of your public IP's to your PIX outside interface or 2) fix the private link between you and them? Probably not but thought I would ask. I'll lab up the translation from outside to a management interface and see if that works. I'll get back to you on that part.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: