08-16-2014 01:59 AM - edited 03-07-2019 08:24 PM
Hi,
my ISP has given me a block of 8 static ip's. I am using an ASA 5505 to connect to the ISP.
However this is over PPPoE and as I understand, I can only use 1 ip for the outside interface with PPPoE.
I have managed to use the other ip's with static natting to translate a public ip to a private ip and it's working well.
Can I translate one of the the public ip's to the same public ip rather than to a private ip?
eg If I have a web server, rather that nat the public ip on the ASA to the web server private ip, just give the server the public ip and the ASA will translate to that?
regards,
Louis
08-16-2014 01:58 PM
Hi Louis,
One question to clear my doubts: When you check the IP address assigned to the PPPoE connection on the ASA, is it one of the 8 static IPs assigned by your ISP, or is it a different IP address? I suppose you have your PPPoE connection configured with ip address negotiated instead of a static address.
If it is a different IP address then what your ISP does is assign your ASA an address and route the entire /29 subnet over that assigned address. That would mean that your ASA does not need to do any NATting whatsoever - it can have one of its other interfaces configured with the appropriate /29 subnet and simply act as a router between the public static /29 subnet and the ISP with its outside interface being the PPPoE interface with just some irrelevant IP address assigned by the ISP automatically.
Best regards,
Peter
08-18-2014 10:56 PM
Hi,
I have set the ASA ip statically. When I do this on the ASA, it does not give me the chance to put a /29 in as even though I can enter it, it will revert the PPPoE to a /32 which is by design.
Now, when I've used pfSense, Sophos etc in the past, you simply add ip aliases to the interface and then go from there but I understyand in the Cisco world, things don't quite work this way.
I'm just wondering how to get the ip's into the ASA as they are rather than natting them to a private ip.
08-19-2014 12:38 AM
Louis,
You are talking about a router and about an ASA. I am confused - do you have both a router and an ASA on your premises connected together? I believe that a diagram of your network would be helpful.
Regarding the /32 netmask on the PPPoE interface, that is understandable as the connection is point to point by design. However, I am specifically asking if the ASA supports the ip address negotiated command instead of configuring its PPPoE interface with a static address. The point is to have ISP assign your ASA an address automatically via IPCP, and route the static range via this assigned address.
Best regards,
Peter
08-19-2014 10:54 AM
Hi,
I've now assigned it via negotiated which basically comes back as what I'd set statically.
I agree the ISP must route the block of IP's via this as static nat is working.
What I have is a Sophos UTM which does an exellent job of mail filtering so I'm trying to find how I would fit that into the network without double natting ie give the external interface one of the public ip's even though it's sitting behind the front facing ASA.
So behind the ASA is an exchange server which should go to the Sophos UTM and then to the ASA.
08-19-2014 01:29 AM
Hi,
/32 is being set for the PPPoE is a design and why you want to have a public ip to public ip NAT..... eventhough it is been showing as /32 but your isp would have routed the whole /29 towards your ASA which you have procured... but if you want to use a direct public ip, then you have create a seperate zone on cisco asa, which should have a public ip configured to it and you have to exempt that from NAT to disable NATing for that public ip.... but that is not the best model.....
Regards
Karthik
06-16-2021 06:54 AM
Thanks so much!!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide