What is IP range and how to identify it?

What is IP range and how to identify it?

In order for some ports to be opened in a remote server, I am required to give a range of IP addresses. How can I obtain this information in Ubuntu? Additional pointers regarding this topic will be helpful.

答案1

Based on the context of what you are asking, I am guessing you are connecting a server which uses high security / restricts their service to a restrictive allow list.

You will most likely need to give them your Internet IP Address. You can find this from your router's configuration page, or easier by going to WhatIsMyIp.com

Please note that depending on your connection, it is possible that your IP may change over time.

答案2

It's rather hard to answer this question with the little information provided. Are you talking about your local DHCP pool or the public IP address from your provider? If you're talking about your local DHCP pool then you can check your router and/or your DHCP server. If you're talking about public addresses then it's based on your ISP and what they have configured. Usually you can contact your ISP and have them provide you an IP Address Range if your computer/servers have dynamic/sticky addresses.

相关内容