Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Podziel sieć o adresie IP 172.20.144.0/22 na podsieci mieszczące po: 400, 10, 15, 220
- hostów.
- 400 hostow:
- 402 -> 2^9 = 512
- 32 - 9 = 23 -> nowa maska
- 10101100 00010100 10010000 00000000
- 11111111 11111111 11111110 00000000
- ======== ======== ======== ========
- 10101100 00010100 10010000 00000000 network: 172.20.144.0 / 23
- 10101100 00010100 10010001 11111111 broadcast: 172.20.145.255
- host min = 172.20.144.1 (network + 1)
- host max = 172.20.145.254 (broadcast -1)
- hosty: 510
- nastepny wolny adres po 172.20.145.255(broadcast) to 172.20.146.0
- =============================================================================
- 172.20.146.0 na 220 hostow:
- 222 -> 2^8 = 256
- 32 - 8 = 24 -> nowa maska
- 10101100 00010100 10010010 00000000
- 11111111 11111111 11111111 00000000
- ======== ======== ======== ========
- 10101100 00010100 10010010 00000000 network: 172.20.146.0 / 24
- 10101100 00010100 10010010 11111111 broadcast: 172.20.146.255
- host min = 172.20.146.1
- host max = 172.20.146.254
- hosty: 254
- nastepny wolny adres po 172.20.145.255(broadcast) to 172.20.147.0
- =============================================================================
- 172.20.147.0 na 15 hostow:
- 17 -> 2^5 = 32
- 32 - 5 = 27
- 10101100 00010100 10010011 00000000
- 11111111 11111111 11111111 11100000
- ======== ======== ======== ========
- 10101100 00010100 10010011 00000000 network: 172.20.147.0 / 27
- 10101100 00010100 10010011 00011111 broadcast: 172.20.147.31
- host min: 172.20.147.1
- host max: 172.20.147.30
- hosty 30:
- nastepny wolny adres po 172.20.147.31(broadcast) to 172.20.147.32
- =============================================================================
- 172.20.147.32 na 10 hostow:
- 10 -> 2^4 = 16
- 32 - 4 = 28
- 10101100 00010100 10010011 00100000
- 11111111 11111111 11111111 11110000
- ======== ======== ======== ========
- 10101100 00010100 10010011 00100000 network: 172.20.147.32 / 28
- 10101100 00010100 10010011 00101111 broadcast: 172.20.147.55
- host min: 172.20.147.33
- host max: 172.20.147.54
- hosty: 14
- wyniki:
- 172.20.144.0 / 23
- 172.20.146.0 / 24
- 172.20.147.0 / 27
- 172.20.147.32 / 28
- =============================================================================
- =============================================================================
- Podziel sieć o adresie IP 10.10.32.0/21 na 4 maksymalnie duże, równe podsieci.
- =============================================================================
- =============================================================================
- 10.10.32.0/21
- 2^x = n
- x -> liczba bitow
- n -> liczba podsieci
- dzielenie na 4
- 2^2 = 4
- liczba bitow = 2
- 21 + 2 = 23 nowa maska
- 2^(32 - 23) - 2 =
- 2^ 9 - 2 = 512 - 2 = 510
- 10.10.32.0/23 dzielimy na 510 hostow:
- 10.10.32.0 + 510 = 10.10.34.0
- 10.10.34.0 + 510 = 10.10.36.0
- 10.10.36.0 + 510 = 10.10.38.0 / 23
- 10.10.39.255 broadcast
- min host: 10.10.38.1
- max host: 10.10.39.254
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement