Syntax
- {-network portion-}
- {+host portion+}
- [binary number]
Stuf u mus noe
- Subnet address = all 0s in host portion
- Broadcast address = all 1s in host portion
- How 2 do decimal to binary conversion and vice versa quickly
pArt 1
>Quetion 1
192.168.1.3 → 192.168.1.[0000 0011]
- if mask is /30 → {-192.168.1.[0000 00-}{+11]+} (Broadcast Address)
- if mask is /29 → {-192.168.1.[0000 0-}{+011]+} (Host Address/Network Equipment Address)
>Qestion 2
199.100.123.91/30 → {-199.100.123.[0101 10-}{+11]+}
- All numbers are under 255 so it’s a valid address
- All numbers all numbers in the host portion are 1s so it is a broadcast address
>Queston 3
299.209.200.9/26
- First octet is more than 255. Hence it is an invalid address
>Queastiuon 4
20.30.20.30/24 → {-20.30.20-}.{+[0001 1110]+}
- Not all 1s in the host portion. Not a broadcast address. Invalid!
>Queston 5
245.209.183.191 → 245.209.[1011 0111.1011 1111]
- {-245.209.183.[10-}{+11 1111]+}
- 6 bits in host portion
- /26
>¿qué 6
255.255.128.0 → 255.255.[1000 0000].0
- {-255.255.[1-}{+000 0000.0000 0000]+}
- 15 bits in host portion
- /17
>Qeustion 7
255.255.0.0
>qesustion 8
no math needed.
>Q̶̧͈͇̦̯̊̊̓̈͐u̷͇̓͒̿e̶̢̛̻̝͚̐́͜s̴͒̋͜ẗ̵͔̰̖̩̫́͠i̸̟̙͌o̵̲̰̅̿͛ņ̷̙͍̊ 9
20.40.60.80/16 → 20.40.[0011 1100.0101 0000]
- First half → {-20.40.[0-}{+000 0000.0000 0000]+}
- 20.40.0.0/17
- Second half → {-20.40.[1-}{+000 0000.0000 0000]+}
- 20.40.128.0/17