Difference between revisions of "Private IP"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[wikipedia:Private IP]] | [[wikipedia:Private IP]] | ||
+ | |||
+ | * [[Class A]]: 10.0. 0.0 to 10.255. 255.255. | ||
+ | * [[Class B]]: 172.16. 0.0 to 172.31. 255.255. | ||
+ | * [[Class C]]: 192.168. 0.0 to 192.168. 255.255. | ||
Line 7: | Line 11: | ||
* [[Public IP]] | * [[Public IP]] | ||
* [[ipconfig getifaddr en0]] | * [[ipconfig getifaddr en0]] | ||
+ | * [[myip]] | ||
== See also == | == See also == |
Latest revision as of 12:45, 1 March 2024
- Class A: 10.0. 0.0 to 10.255. 255.255.
- Class B: 172.16. 0.0 to 172.31. 255.255.
- Class C: 192.168. 0.0 to 192.168. 255.255.
- macOS:
for DEVICE in $(networksetup -listallhardwareports | grep Device | cut -d" " -f2); do echo $DEVICE; ipconfig getifaddr $DEVICE; done
Related[edit]
See also[edit]
Advertising: