Difference between revisions of "Private IP"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions 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.
  
* macOS: <code>for DEVICE in $(networksetup -listallhardwareports | grep Device | cut -d" " -f2); do echo $DEVICE; ipconfig getifaddr $DEVICE; done</code>
+
 
 +
* macOS: <code>for DEVICE in $([[networksetup -listallhardwareports]] | grep Device | cut -d" " -f2); do echo $DEVICE; [[ipconfig getifaddr]] $DEVICE; done</code>
  
 
== Related ==
 
== Related ==
 
* [[Public IP]]
 
* [[Public IP]]
 +
* [[ipconfig getifaddr en0]]
 +
* [[myip]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:45, 1 March 2024

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.


Related[edit]

See also[edit]

Advertising: