sudo apt-get install sipcalc
And then:
mtrudel@icarus:~$ sipcalc 10.10.0.0/21Beautiful little program, gives you all kind of useful information, and it's free!
-[ipv4 : 10.10.0.0/21] - 0
[CIDR]
Host address - 10.10.0.0
Host address (decimal) - 168427520
Host address (hex) - A0A0000
Network address - 10.10.0.0
Network mask - 255.255.248.0
Network mask (bits) - 21
Network mask (hex) - FFFFF800
Broadcast address - 10.10.7.255
Cisco wildcard - 0.0.7.255
Addresses in network - 2048
Network range - 10.10.0.0 - 10.10.7.255
Usable range - 10.10.0.1 - 10.10.7.254
-
mtrudel@icarus:~$ sipcalc 10.10.9.9
-[ipv4 : 10.10.9.9] - 0
[CIDR]
Host address - 10.10.9.9
Host address (decimal) - 168429833
Host address (hex) - A0A0909
Network address - 10.10.9.9
Network mask - 255.255.255.255
Network mask (bits) - 32
Network mask (hex) - FFFFFFFF
Broadcast address - 10.10.9.9
Cisco wildcard - 0.0.0.0
Addresses in network - 1
Network range - 10.10.9.9 - 10.10.9.9
-
3 comments:
Life saving tip! Did a quick search and found out gip [o] also... Thanks.
[0]: http://www.debain.org/software/gip/
Ah, thanks. Indeed useful to have the Gnome equivalent handy instead of opening a command window just for that.
Uhhuh...
Post a Comment