hoofdstuk 10

28
Hoofdstuk 10 Semester 1

Upload: haig

Post on 19-Jan-2016

33 views

Category:

Documents


1 download

DESCRIPTION

Hoofdstuk 10. Semester 1. server1:/home/bertil# ifconfig eth0 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 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Hoofdstuk 10

Hoofdstuk 10

Semester 1

Page 2: Hoofdstuk 10
Page 3: Hoofdstuk 10

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

router

• Elke interface heeft een IP -nummer

Page 5: Hoofdstuk 10
Page 6: Hoofdstuk 10

Ip adres

• 32 bits adres

• 232 = 4 miljard adressen

• elk netwerkkaart heeft 48 bits adresMAC adres

Page 7: Hoofdstuk 10
Page 8: Hoofdstuk 10
Page 9: Hoofdstuk 10
Page 10: Hoofdstuk 10
Page 11: Hoofdstuk 10
Page 12: Hoofdstuk 10

klasse 1e byte reeksena 0??? ???? 0 t/m 127b 01?? ???? 128 t/m 191c 110? ???? 192 t/m 223

Page 13: Hoofdstuk 10
Page 14: Hoofdstuk 10

Speciale adressen

• Loopbackadres127.0.0.1

• netwerkadres192.168.0.0 eindigt met 0

• broadcastadres192.168.0.255 eindigt met 255

Page 15: Hoofdstuk 10
Page 16: Hoofdstuk 10

Two kinds of broadcastdirected - forwarded by routerflooded - not forwarded by router, stay local

Page 17: Hoofdstuk 10
Page 18: Hoofdstuk 10
Page 19: Hoofdstuk 10
Page 20: Hoofdstuk 10
Page 21: Hoofdstuk 10
Page 22: Hoofdstuk 10
Page 23: Hoofdstuk 10

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

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

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

192.50.101.129 < > 192.150.101.190

192.50.101.65 < > 192.150.101.126

Page 27: Hoofdstuk 10
Page 28: Hoofdstuk 10