IPv4 alt ağları
- Alt ağ başına cihaz
- 2(32 − prefix) − 2 (/31: 2, /32: 1)
- Blok boyutu
- 256 − (mask octet)
- Ağ adresi
- IP AND maske
- Yayın adresi
- IP OR (NOT maske): tüm ana bilgisayar bitleri 1
- Ödünç alınan n bitten alt ağlar
- 2n
Formül kâğıtları, her konunun temel yöntem adımları ve 6 alıştırma sorusu; tam çözümler en sonda.
Bir alt ağ 255.255.252.0 maskesini kullanıyor. Kaç kullanılabilir cihaz adresi H vardır?
Bir cihazın adresi 172.20.24.1/23. Alt ağının yayın adresinin üçüncü okteti x nedir?
Bir /24 IPv4 ağında kaç kullanılabilir ana bilgisayar adresi vardır?
Hangi yönlendirme protokolü bir bağlantı durumu (link-state) protokolüdür?
Bitleri, 8 bitlik ikiye tümleyende −69 saklayacak şekilde ayarlayın. İşaretsiz bir sayı olarak okunduğunda desenin değeri U nedir?
Bitleri 1010 0100 OR 0001 1010 işleminin 8 bitlik sonucuna ayarlayın. Sonucun onluk değeri R nedir?
Cevap: H = 1022
IPv4 subnetting: an address has 32 bits. The prefix /p says how many leading bits identify the network; the remaining 32 − p bits number the hosts. A subnet has 2³²⁻ᵖ addresses, but the first (network address) and last (broadcast address) cannot be given to hosts, so 2³²⁻ᵖ − 2 hosts fit. Exceptions: a /31 (point-to-point link, RFC 3021) uses both of its 2 addresses for hosts, and a /32 is one single address (a single host or a loopback).
Cevap: x = 25
IPv4 subnetting: an address has 32 bits. The prefix /p says how many leading bits identify the network; the remaining 32 − p bits number the hosts. A subnet has 2³²⁻ᵖ addresses, but the first (network address) and last (broadcast address) cannot be given to hosts, so 2³²⁻ᵖ − 2 hosts fit. Exceptions: a /31 (point-to-point link, RFC 3021) uses both of its 2 addresses for hosts, and a /32 is one single address (a single host or a loopback).
Cevap: C · 254
Bir /24'ün 8 ana bilgisayar biti vardır, yani 2⁸ = 256 adres. Ağ ve yayın adresleri ayrılmıştır; ana bilgisayarlar için 254 kalır.
Cevap: A · OSPF
OSPF yönlendiricileri alanın tam haritasını oluşturur ve en kısa yolları Dijkstra algoritmasıyla hesaplar. RIP mesafe vektörü, BGP ise yol vektörü protokolüdür.
Cevap: U = 187
Bitleri ayarlamak: her bit ikinin bir kuvveti değerindedir (128, 64, …, 1). Bir onaltılık basamak tam olarak dört bittir ve 8 bitlik ikiye tümleyende en soldaki bit −128 değerindedir. Bit işlemleri her bit konumunda ayrı ayrı çalışır.
Cevap: R = 190
Bitleri ayarlamak: her bit ikinin bir kuvveti değerindedir (128, 64, …, 1). Bir onaltılık basamak tam olarak dört bittir ve 8 bitlik ikiye tümleyende en soldaki bit −128 değerindedir. Bit işlemleri her bit konumunda ayrı ayrı çalışır.
OR en az bir bit 1 olduğunda 1 verir.
ExamProblems · examproblems.com/courses/computer-networks