Manual Calculadora Ip
Manual Calculadora Ip
Manual Calculadora Ip
Contact us
Forums
Home
Linux How-to & Tutorials
Shell Scripts
RSS/Feed
nixCraft
Please note that ipcalc is installed by default under RHEL / CentOS / Fedora Linux using initscripts package.
Examples
Let us see how to calculate subnets for 192.168.0.1/24:
$ ipcalc 192.168.0.1/24
Output:
Address:
Netmask:
Wildcard:
=>
Network:
HostMin:
192.168.0.1
255.255.255.0 = 24
0.0.0.255
11000000.10101000.00000000. 00000001
11111111.11111111.11111111. 00000000
00000000.00000000.00000000. 11111111
192.168.0.0/24
192.168.0.1
11000000.10101000.00000000. 00000000
11000000.10101000.00000000. 00000001
HostMax:
192.168.0.254
Broadcast: 192.168.0.255
Hosts/Net: 254
11000000.10101000.00000000. 11111110
11000000.10101000.00000000. 11111111
Class C, Private Internet
Output:
-[ipv4 : 192.168.0.1/24] - 0
[CIDR]
Host address
- 192.168.0.1
Host address (decimal) - 3232235521
Host address (hex)
- C0A80001
Network address
- 192.168.0.0
Network mask
- 255.255.255.0
Network mask (bits)
- 24
Network mask (hex)
- FFFFFF00
Broadcast address
- 192.168.0.255
Cisco wildcard
- 0.0.0.255
Addresses in network
- 256
Network range
- 192.168.0.0 - 192.168.0.255
Usable range
- 192.168.0.1 - 192.168.0.254
More examples:
$ sipcalc 192.168.0.1 255.255.128.0 255.255.192.0
Output:
-[ipv4 : 192.168.0.1 255.255.128.0] - 0
[CIDR]
Host address
- 192.168.0.1
Host address (decimal) - 3232235521
Host address (hex)
- C0A80001
Network address
- 192.168.0.0
Network mask
- 255.255.128.0
Network mask (bits)
- 17
Network mask (hex)
- FFFF8000
Broadcast address
- 192.168.127.255
Cisco wildcard
- 0.0.127.255
Addresses in network
- 32768
Network range
- 192.168.0.0 - 192.168.127.255
Usable range
- 192.168.0.1 - 192.168.127.254
-[ipv4 : 255.255.192.0] - 0
[CIDR]
Host address
- 255.255.192.0
Host address (decimal) - 4294950912
Host address (hex)
- FFFFC000
Network address
- 255.255.192.0
Network mask
- 255.255.255.255
Network mask (bits)
- 32
Network mask (hex)
- FFFFFFFF
Broadcast address
- 255.255.192.0
Cisco wildcard
- 0.0.0.0
Addresses in network
- 1
Network range
- 255.255.192.0 - 255.255.192.0
Tagged as: binary values, broadcast address, broadcast network, counterpart, dns resolutions, fedora linux, hex number, host range, input
formats, ip address, ip netmask, ip subnet calculator, ipcalc, ipcalc command, ipv6 addresses, multiple networks, netmask, simplest form,
sipcalc command, standard ipv6, subnet mask, teaching tool, web cgi, wildcard mask
Previous post: Does Ubuntu Linux kill / shorten hard disk life?
Next post: How to: Setup Asterisk PBX Easily with AsteriskNOW in 30 minutes
+1
nixCraft
Me gusta
Related Posts
Subscribe to nixCraft
Learn something new about Linux/Unix by email
Enter your email address:
Subscribe
2004-2015 nixCraft. All rights reserved. Privacy Policy - Terms of Service - Questions or Comments - We are proudly powered by Linux
+ Nginx + WordPress.
The content is copyrighted to nixCraft and may not be reproduced on other websites.