View Single Post
  #7   (View Single Post)  
Old 5th December 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default

When confused about subnet configuration I like to use sipcalc which is available using
#pkg_add sipcalc

For Instance

sipcalc 192.168.10.1/24
-[ipv4 : 192.168.10.1/24] - 0

[CIDR]
Host address - 192.168.10.1
Host address (decimal) - 3232238081
Host address (hex) - C0A80A01
Network address - 192.168.10.0
Network mask - 255.255.255.0
Network mask (bits) - 24
Network mask (hex) - FFFFFF00
Broadcast address - 192.168.10.255
Cisco wildcard - 0.0.0.255
Addresses in network - 256
Network range - 192.168.10.0 - 192.168.10.255
Usable range - 192.168.10.1 - 192.168.10.254

Last edited by frcc; 5th December 2017 at 11:53 AM.
Reply With Quote