mirror of https://github.com/CrimsonTome/tldr.git
ipcalc: add concrete values
parent
2cda19e75b
commit
2332740b8f
|
@ -4,20 +4,20 @@
|
||||||
|
|
||||||
- Show information about an address or network:
|
- Show information about an address or network:
|
||||||
|
|
||||||
`ipcalc {{ip_address}} {{subnet_mask}}`
|
`ipcalc {{1.2.3.4}} {{255.255.255.0}}`
|
||||||
|
|
||||||
- Show information about an address or network in CIDR notation:
|
- Show information about an address or network in CIDR notation:
|
||||||
|
|
||||||
`ipcalc {{ip_address}}/{{masked_bits}}`
|
`ipcalc {{1.2.3.4}}/{{24}}`
|
||||||
|
|
||||||
- Show the broadcast address of an address or network:
|
- Show the broadcast address of an address or network:
|
||||||
|
|
||||||
`ipcalc -b {{ip_address}}/{{masked_bits}}`
|
`ipcalc -b {{1.2.3.4}}/{{30}}`
|
||||||
|
|
||||||
- Show the network address of provided IP address and netmask:
|
- Show the network address of provided IP address and netmask:
|
||||||
|
|
||||||
`ipcalc -n {{ip_address}}/{{masked_bits}}`
|
`ipcalc -n {{1.2.3.4}}/{{24}}`
|
||||||
|
|
||||||
- Display geographic information about a given IP address:
|
- Display geographic information about a given IP address:
|
||||||
|
|
||||||
`ipcalc -g {{ip_address}}`
|
`ipcalc -g {{1.2.3.4}}`
|
||||||
|
|
Loading…
Reference in New Issue