Some body gave me ip 10.120.5x.14x, someone else gave me 12.1.7.x someone else also gave me like 164.x.x.x or 81.x.x.x.
Its very confusing sometimes was it WAN or LAN class IP's. So how can i use some fixed linux tools to directly check it out, to make sure its WAN IPv4 or LAN IPv4?
$ ipcalculator 10.120.5.1/24
Address: 10.120.5.1 00001010.01111000.00000101. 00000001
Netmask: 255.255.255.0 = 24 11111111.11111111.11111111. 00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000. 11111111
=>
Network: 10.120.5.0/24 00001010.01111000.00000101. 00000000
HostMin: 10.120.5.1 00001010.01111000.00000101. 00000001
HostMax: 10.120.5.254 00001010.01111000.00000101. 11111110
Broadcast: 10.120.5.255 00001010.01111000.00000101. 11111111
Hosts/Net: 254 Class A, Private Internet