cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
0
Helpful
2
Replies

Public IPs, how to use less on an interface

rminvielle
Level 1
Level 1

I have a 2621 that I am configuring on the internet. My ISP gives me a static DHCP assigned address and then two more static addresses that are not part of the same block. (e.g. 1.2.3.4 is static via dhcp and then they give me 5.6.7.8/30).

I have fa0/0 getting 1.2.3.4 ia dhcp. I have 5.6.7.8 on a loopback interface for PAT/NAT as I have the main one on fa0/0 doing vpn to a remote ASA.

The problem is that I have yet another device that needs a public IP, mainly 5.6.7.9... I want to hook that device up to fa0/2 (this box has three fa interfaces). How do I setup fa0/2 if I want to give the device on it a real live public IP address? I have done this before, but it must have been 10 years back on an even older CISCO and I can not remember how I did it.

Any help would be appreciated.

Thanks.

2 Replies 2

nkarthikeyan
Level 7
Level 7

Hi,

You have got one public IP via DHCP on your outside interface. /30 will have 2 public IP's which you can use for different purpose. I don know why you are using it for loopback. You can use the outside Ip itself for both inetrnet/vpn using PAT. Other 2 IP's you can have as the spare for other connections. let say on fa0/2 you connect some other infra with RFC private range and get that NAT/PAT using the spare 2 IP addresses.

Please do rate if this information helps you.

By

Karthik

I have tried many times to get PAT/VPN working out of the same interface with a single public IP... It was mentioned to my by a CISCO employee that it would not work, and to assign a public to a loopback and use that for the PAT or VPN. That worked... so now I have one free public IP address.

I tried to statically NAT that single public to a private and assign that private to the internal router that is to get on

the net... that did not work.

So, I have one free public IP and I need to plugin a small router behind the 2621 and get it on the net and reach it

through a public IP address on the outside of the 2621... I know I have done this before, but I can not recall how.

Review Cisco Networking products for a $25 gift card