Binary, Hex, and Number Systems
The math episode, and it's only addition and powers of two. Binary, decimal, and hex, how to convert between them by hand, how to read a MAC address, and the nine values a subnet mask byte can have.
Watch on YouTubeChapters
- 0:00Intro
- 0:38Why networking runs on numbers
- 1:28Bits and bytes
- 2:18Place value
- 4:18Binary to decimal
- 6:00Decimal to binary
- 7:57Hexadecimal
- 9:43Hex and binary together
- 11:13MAC addresses
- 12:31Subnet mask bytes
- 13:41Powers of two
- 14:57Demo: checking your work
- 16:39Homework and recap
Homework
- Memorize the powers of two from 1 up to 128, and write them out from memory once without looking.
- Convert 10, 77, and 200 to binary. Then convert 11001001 to decimal, and 0x3F to binary.
- Write your own computer's IP address in binary, all four octets.
- Find your MAC address and look up who made your network card.
Lab for this episode: Conversion drills.
Show the answers (try it first)
- 10 = 00001010
- 77 = 01001101
- 200 = 11001000
- 11001001 = 201
- 0x3F = 00111111
- Powers of two: 1, 2, 4, 8, 16, 32, 64, 128
Downloads
Number conversion drills
Random binary, decimal, and hex conversions with your score, and the worked steps when you miss one. Needs Python 3, nothing else. Run it with py crossconnects_number_drills.py on Windows or python3 crossconnects_number_drills.py on Mac and Linux.
crossconnects_number_drills.py
