Hoofdstuk 10
description
Transcript of Hoofdstuk 10
![Page 1: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/1.jpg)
Hoofdstuk 10
Semester 1
![Page 2: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/2.jpg)
![Page 3: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/3.jpg)
server1:/home/bertil# ifconfigeth0 Link encap:Ethernet HWaddr 00:80:48:C7:D7:97 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14763 errors:0 dropped:0 overruns:0 frame:0 TX packets:13763 errors:0 dropped:0 overruns:0 carrier:0 collisions:697 txqueuelen:100 Interrupt:10 Base address:0xd000
eth1 Link encap:Ethernet HWaddr 52:54:4C:01:48:FD inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:55 errors:0 dropped:0 overruns:0 frame:0 TX packets:20357 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:3 Base address:0x300
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:6934 errors:0 dropped:0 overruns:0 frame:0 TX packets:6934 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
![Page 4: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/4.jpg)
router
• Elke interface heeft een IP -nummer
![Page 5: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/5.jpg)
![Page 6: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/6.jpg)
Ip adres
• 32 bits adres
• 232 = 4 miljard adressen
• elk netwerkkaart heeft 48 bits adresMAC adres
![Page 7: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/7.jpg)
![Page 8: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/8.jpg)
![Page 9: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/9.jpg)
![Page 10: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/10.jpg)
![Page 11: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/11.jpg)
![Page 12: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/12.jpg)
klasse 1e byte reeksena 0??? ???? 0 t/m 127b 01?? ???? 128 t/m 191c 110? ???? 192 t/m 223
![Page 13: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/13.jpg)
![Page 14: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/14.jpg)
Speciale adressen
• Loopbackadres127.0.0.1
• netwerkadres192.168.0.0 eindigt met 0
• broadcastadres192.168.0.255 eindigt met 255
![Page 15: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/15.jpg)
![Page 16: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/16.jpg)
Two kinds of broadcastdirected - forwarded by routerflooded - not forwarded by router, stay local
![Page 17: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/17.jpg)
![Page 18: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/18.jpg)
![Page 19: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/19.jpg)
![Page 20: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/20.jpg)
![Page 21: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/21.jpg)
![Page 22: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/22.jpg)
![Page 23: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/23.jpg)
Klasse C netwerk
• Ipadres netwerk: 195.50.101.0
• subnetmask:– 255 .255 .255 .192
1111 1111.1111 1111.1111 1111.1100 0000
![Page 24: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/24.jpg)
Subnet range
1100 0000 0011 0010 0110 0101 00?? ????
range 1 192 50 101 1 t/m 631100 0000 0011 0010 0110 0101 01?? ????
range 2 192 50 101 64 t/m 1271100 0000 0011 0010 0110 0101 10?? ????
range 3 192 50 101 128 t/m 1911100 0000 0011 0010 0110 0101 11?? ????
range 4 192 50 101 192 t/m 255
![Page 25: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/25.jpg)
adressen broadcast netadresrange 1 1-62 63 0range 2 65-126 127 64range 3 129-190 191 128range 4 193-245 255 192
![Page 26: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/26.jpg)
192.50.101.129 < > 192.150.101.190
192.50.101.65 < > 192.150.101.126
![Page 27: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/27.jpg)
![Page 28: Hoofdstuk 10](https://reader033.fdocuments.in/reader033/viewer/2022052317/56814e34550346895dbb9a27/html5/thumbnails/28.jpg)