12-11-2014 02:58 PM - edited 03-07-2019 09:52 PM
I have a public ip address that I want to Nat, however it belong to the backup internet which is on standby for failover, the primary internet I dont have public static ip address, can I use the backup internet static ip address to do 1 to 1 Nat for outsider to get into my server.??
Solved! Go to Solution.
12-11-2014 07:12 PM
See this link for an example -
don't worry about it being an ADSL router, the principle is the same for any router.
Jon
12-11-2014 04:16 PM
You can advertise the public IP using the primary provider or the stand-by provider. It shouldn't matter.
HTH
12-11-2014 05:56 PM
I did nat it from private to public, but it does not work on the primary internet. if I switch my failover to be primary internet then it work, but I dont want my backup ISP to be primary internet
12-11-2014 06:54 PM
Do you own your public IPs and advertise them to the ISPs or are the public IPs ones that the ISPs allocated to you and you don't advertise any public IPs to either ISP.
I suspect it is the second one ie. you were allocated them and if so then what you are trying to do won't work as far as I know.
The issue is the public IP you are trying to use was allocated to you by the backup ISP. They own this IP and are responsible for advertising it to the rest of the internet (as part of a larger range).
The primary provider does not own this IP ie. it is not part of their public IP address space so they don't advertise it to the internet.
This means all traffic to that public IP will come via the backup ISP.
The primary provider won't advertise out a single public IP that they don't own for you so you really only have a couple of choices -
1) use static PAT for the server if you only need access from the internet on certain ports. I'm assuming you have at least one public IP from the primary provider allocated to an interface on a router/firewall that you administer
2) if you can't use static PAT then you need to purchase some more public IPs from your primary provider.
There are no other solutions I am aware of.
Jon
12-11-2014 07:07 PM
yes. you are correct. IP was purchase on the secondary ISP. The primary ISP only provide 1 that I administer on the router.
How do I config static PAT. can you give me a config sample. Thanks
12-11-2014 07:12 PM
See this link for an example -
don't worry about it being an ADSL router, the principle is the same for any router.
Jon
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