Solved

Port mapping with a PIX

Posted on 2006-11-16
4
233 Views
Last Modified: 2010-04-09
Can I map multiple public IP's to a single private IP with portmapping?

Lets say I have 2 public IP's:

1.1.1.1
1.1.1.2

I have 1 internal server
2.2.2.1 (smtp and http)

Can I do this:

static (inside,outside) tcp 1.1.1.1 smtp 2.2.2.1 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp 1.1.1.2 http 2.2.2.1 http netmask 255.255.255.255 0 0

Is it ok to do this? Two public IPs are port mapped to one internal IP, but on different ports. The reason I want the IPs to be different is because we will be adding another box which will be the http server. Then I can point one IP at one box, and one IP at the other.

Im pretty sure this is ok, but want to be sure before I make it live. Thank you.
0
Comment
Question by:bfilipek
[X]
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
  • 2
4 Comments
 
LVL 79

Accepted Solution

by:
lrmoore earned 300 total points
ID: 17961768
Sure. no problem.
As long as you don't try to map 2 public IP's to the same port, or 1 public ip/port to 2 different internal systems then you're OK..
One of the benefits of the PIX...
0
 
LVL 28

Assisted Solution

by:batry_boy
batry_boy earned 200 total points
ID: 17963503
'Tis true...the way you have the static statements is correct...
0
 

Author Comment

by:bfilipek
ID: 17965106
Thanks guys.
0
 
LVL 28

Expert Comment

by:batry_boy
ID: 17966730
The order of your parameters in the static statements is correct.  One thing I just noticed, however, is that "http" in the 2nd static needs to be entered as "www" or just "80".
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

688 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