Get the public IP address from the command line
To get the public IP address of the server from the command line, execute
IPv4 Network Subnet Prefixes, Masks, Usable Hosts
The following table shows the IPv4 network subnet prefixes, subnet masks, and the number of usable hosts. Prefix size Network mask Available subnets Usable hosts per subnet Total usable hosts /24 255.255.255.0 1 254 254 /25 255.255.255.128 2 126 252 /26…