drgeoff wrote:tekim wrote:Greetings,
A less technical answer: The value after the slash defines the number of most significant ones in the subnet mask. So /24 is the same as writing FF.FF.FF.00
As always I maybe quite wrong.
Cheers
I have never seen an IP address or subnet mask written in hexadecimal.
tekim's answer is correct, although leaving the IP address in hex form isn't that common. That said there are some systems that use the hex form particularly for the netmask.
e.g. pulled from a SmartOS (Solaris derivative box)
Code: Select all
e1000g0: flags=1001000943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 2
inet 192.168.33.221 netmask ffffff00 broadcast 192.168.33.255
ether d0:17:c2:88:64:a8
Of course if you're using IPv6 you'll see lots of hexadecimal.