Hello
Is this for live network or just a test lab?
On a real live network, you would not be given a public address with a mask or 255.255.255.0, this would be over kill and a waste of a whole 24 bit subnet, Would more likely to be provided with 2 or 6 public addresses with a mask 255.255.255.252 or 255.255.255.248.
To obtain public ip addressing to use on the internet you need to purchase them from an Internet service provider and they are usually the one who provides you with the internet circuit also.
There are private address ranges that should not be used/leaked onto the internet and as such are deemed not routable for Public WAN assignment.
these are RFC 1918 addresses:
10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
These address ranges are usually used internal networks and as they are not advertised on the internet , they can be used over and over again in different locations, and in fact are.
res
Paul
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul