Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0613· OpenAIAi2 WildChat-4.8M (AI2)

Can or should I use public IP addresses for hosts in my internal network?

  1. User

    Can or should I use public IP addresses for hosts in my internal network?

  2. Assistant

    It is generally not recommended to use public IP addresses for hosts in your internal network. Public IP addresses are meant to be unique and globally routable, so using them internally could cause conflicts and connectivity issues.

    Instead, it is recommended to use private IP addresses for your internal network hosts. Private IP addresses are reserved for internal use and not reachable from the internet. This ensures that your internal network remains isolated and secure from external threats.

    There are three ranges of private IP addresses that are commonly used:

    1. 10.0.0.0 to 10.255.255.255 (10.0.0.0/8)
    2. 172.16.0.0 to 172.31.255.255 (172.16.0.0/12)
    3. 192.168.0.0 to 192.168.255.255 (192.168.0.0/16)

    By using private IP addresses, you can take advantage of network address translation (NAT) to allow your internal hosts to communicate with the internet through a single public IP address.