01-28-2025 05:08 AM
Hello, everyone.
I am following a NAT course and it explains static NAT.
Source: PracticalNetworking NAT course on Udemy.
I understand that with static NAT, we manually define the PRE-translation and the POST-translation attributes, so which private IP gets translated into which public one.
From my understanding, Static NAT is mostly used to make a resource inside of your internal network publicly accessible to the internet? Like the server in the image above.
However, if I have a resource that I want to have accessible to the internet, couldn't I just assign it the public IP directly instead of assigning it a private IP and configuring static NAT?
Thank you.
David
Solved! Go to Solution.
01-28-2025 05:16 AM
you can if you have public IP from ISP
i.e. you get public subnet from ISP
then you divide it into
public IP connect router to ISP
public IP use for server
this way you dont need to use private IP.
note this cost this is why we use private IP and NAT to public IP connect to ISP
MHM
01-28-2025 05:55 AM
Hello David
Just add a little things. Many ISPs provide only a small range of public IPs or may not support assigning public IPs directly to devices on your internal network. NAT allows you to use private IPs internally while still making services available to the internet. Also, devices with public IPs are directly exposed to the internet. Without proper firewalls or other security measures, they are more vulnerable to attacks.
01-28-2025 05:16 AM
you can if you have public IP from ISP
i.e. you get public subnet from ISP
then you divide it into
public IP connect router to ISP
public IP use for server
this way you dont need to use private IP.
note this cost this is why we use private IP and NAT to public IP connect to ISP
MHM
01-28-2025 05:55 AM
Hello David
Just add a little things. Many ISPs provide only a small range of public IPs or may not support assigning public IPs directly to devices on your internal network. NAT allows you to use private IPs internally while still making services available to the internet. Also, devices with public IPs are directly exposed to the internet. Without proper firewalls or other security measures, they are more vulnerable to attacks.
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