ipv6 - karadeniz teknik Üniversitesiulutas/courses/undergraduate/... · 2018-01-12 · name:...

2
Name: Lastname: Student ID #: 1 2 Toplam 4 1,2 POC; KTO Faculty of Engineering II MOhendislik FakOltesi Dept. of Computer Eng.11 Bilgisayar MOh. B61. ail 1007 Mid-Term Exam II Ara Smavi 13.11.2017 1. From Wikipedia: 6t04 6t04 is an Internet transition mechanism for migrating from Internet Protocol version 4 (IPv4) to version 6 (IPv6), a system that allows IPv6 packets to be transmitted over an IPv4 network (generally the IPv4Jnternet) without the need to configure explicit tunnels. 6t04 performs three functions: -Asslqns a block of IPv6 address space to any host or network that has a global IPv4 address. -Encapsulates IPv6 packets inside IPv4 packets for transmission over an IPv4 network using6in4. -Routes traffic between 6t04 and "native" IPv6 networks. Address block allocation IPv4: IPv6: For any 32-bit global IPv4 address that is assigned to a host, a 48-bit 6t04 IPv6 prefix can be constructed for use by that host (and if applicable the network behind it) by appending the IPv4 address to 2002::116. For example, the global IPv4 address 192.0.2.4 has the corresponding 6t04 prefix 2002:cOOO:0204::/48. This gives a prefix length of 48 bits, which leaves room for a 16·bit subnet field and 64 bit host addresses within the subnets. Any IPv6 address that begins with the 2002::116 prefix (in other words, any address with the first two octets of 2002 hexadecimal) is known as a 6t04 address, as opposed to a native IPv6 address which does not systematically use transition technologies. 6to4 IPv6 paketlerini ozel olarak tlineller tanrmlamadan IPv4 ag (IPv4 olan Internet) Ozerinden aktanma izin veren, Internet Protolu sururn 4'den (IPv4)Internet Protokolu sururn 6 (IPv6) ge<;i~rnekanlzrnasidrr. 6t04 0<;lslevl qerceklestrrl: -Kuresel IPv4adresi olan bilgisayar veya aglar ic;:inIPv6 adres uzayrnda bir blok atamasi yapar. -IPv6 paketlerini IPv4 aglannda 6in4 kullanarak iletimi icln IPv4 paketleri i<;indekapsOller. -6t04 ve "ana" (gerc;:ek)IPv6 aglar arasmda trafigi yonlendirir.. Adres blok aynml IPv4: 192.9.2.4 . J I J J : IPv6: 2ea2:cE.laa:02G4: :/48 Bir bilgisayara atanrms olan herhangi bir 32-bit kOreselIPv4 adresi ic;:in0 bilgisayar (ve eger uygulanabiliyorsa arkastndakl aga) tarafindan kullanilmak Ozere IPv4 adresini 2002::/16 ekleyerek bir 48-bit 6t04 IPv6 on ek olusturulabillr. brnegin, 192.0.2.4 kOresel IPv4 adresi, bu adrese kars: dusen 2002:cOOO:0204::/48 6t04 on ekine sahiptir. Bu 48 bitlik on ek, 16·bit'lik alt ag alaru ve alt aglar ic;:inde64-bit bilgisayar adresleri lcln yer brrakrnaktadrr, 2002::/16 on eki Hebaslayan (diger bir deytsle ilk iki oktet'i onalnhk 2002 olan) herhangi bir IPv6 adresi, sistematik olarak ge<;i~teknolojilerini kullanmayan ana (qercek) bir JPv6adresi olarak degil 6t04 adresi olarak bilinir. Construct an 6to4 IPv6 address for the host with IPv4 address 193.140.168.54. /I IPv4 adresi 193.140.168.54 alan bilgisayar icln 6to4 IPv6 adresini olusturunuz, OrV1ek\-eki ~lJ2 ov\\~~ SC(~I.sI"'I'" \b'\,k s;sh.IAo\J e, k"\ k«Y'~\\'31 CID l12'1h'+ O'lbo",192.) o\c.Y'''I.b. \Je..ri\c\i~i I~\l'\) 193 d0 1 "'dG\1l c- (\2.\6'+(,16°) o\arG\k. 5Q2...!Q/,;lir. '40,168 ve 54 ise \b' Ilk sis+-~,..,t. b6'","e :j0r'lte.WI', i\e Jo~~.stv.\'~lme.\;cLr. 16S l~ =t> A <a Sit \J.L _~6o to ~I :5 8 6 -;;-8C =t> 36 6+04 I?vb Gdlcsi 2002: C i Be: A8 36: :/4 8 0 lIAr.

Upload: others

Post on 15-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IPv6 - Karadeniz Teknik Üniversitesiulutas/Courses/UnderGraduate/... · 2018-01-12 · Name: Lastname: Student ID # : 1 2 Toplam 4 1,2 POC; KTO Faculty of Engineering II MOhendislik

Name:Lastname:Student ID # :

1 2 Toplam

4 1,2 POC;

KTO Faculty of Engineering II MOhendislik FakOltesiDept. of Computer Eng.11 Bilgisayar MOh. B61.

ail 1007 Mid-Term Exam II Ara Smavi 13.11.20171. From Wikipedia: 6t04

6t04 is an Internet transition mechanism for migrating from Internet Protocol version 4 (IPv4) to version 6 (IPv6), a system that allows IPv6packets to be transmitted over an IPv4 network (generally the IPv4Jnternet) without the need to configure explicit tunnels.

6t04 performs three functions:

-Asslqns a block of IPv6 address space to any host or network that has a global IPv4 address.-Encapsulates IPv6 packets inside IPv4 packets for transmission over an IPv4 network using6in4.-Routes traffic between 6t04 and "native" IPv6 networks.Address block allocation

IPv4:

IPv6:For any 32-bit global IPv4 address that is assigned to a host, a 48-bit 6t04 IPv6 prefix can be constructed for use by that host (and if applicable thenetwork behind it) by appending the IPv4 address to 2002::116.

For example, the global IPv4 address 192.0.2.4 has the corresponding 6t04 prefix 2002:cOOO:0204::/48. This gives a prefix length of 48 bits, whichleaves room for a 16·bit subnet field and 64 bit host addresses within the subnets.

Any IPv6 address that begins with the 2002::116prefix (in other words, any address with the first two octets of 2002 hexadecimal) is known asa 6t04 address, as opposed to a native IPv6 address which does not systematically use transition technologies.

6to4 IPv6 paketlerini ozel olarak tlineller tanrmlamadan IPv4 ag (IPv4 olan Internet) Ozerinden aktanma izin veren, Internet Protolu sururn 4'den(IPv4) Internet Protokolu sururn 6 (IPv6) ge<;i~rnekanlzrnasidrr.

6t04 0<;lslevl qerceklestrrl:

-Kuresel IPv4 adresi olan bilgisayar veya aglar ic;:inIPv6 adres uzayrnda bir blok atamasi yapar.-IPv6 paketlerini IPv4 aglannda 6in4 kullanarak iletimi icln IPv4 paketleri i<;indekapsOller.-6t04 ve "ana" (gerc;:ek)IPv6 aglar arasmda trafigi yonlendirir..Adres blok aynml

IPv4: 192.9.2.4 .J I J J :

IPv6: 2ea2:cE.laa:02G4: :/48Bir bilgisayara atanrms olan herhangi bir 32-bit kOresel IPv4 adresi ic;:in0 bilgisayar (ve eger uygulanabiliyorsa arkastndakl aga) tarafindankullanilmak Ozere IPv4 adresini 2002::/16 ekleyerek bir 48-bit 6t04 IPv6 on ek olusturulabillr.

brnegin, 192.0.2.4 kOresel IPv4 adresi, bu adrese kars: dusen 2002:cOOO:0204::/48 6t04 on ekine sahiptir. Bu 48 bitlik on ek, 16·bit'lik alt ag alaru vealt aglar ic;:inde64-bit bilgisayar adresleri lcln yer brrakrnaktadrr,

2002::/16 on eki Hebaslayan (diger bir deytsle ilk iki oktet'i onalnhk 2002 olan) herhangi bir IPv6 adresi, sistematik olarak ge<;i~teknolojilerinikullanmayan ana (qercek) bir JPv6adresi olarak degil 6t04 adresi olarak bilinir.

Construct an 6to4 IPv6 address for the host with IPv4 address 193.140.168.54. /I IPv4 adresi193.140.168.54 alan bilgisayar icln 6to4 IPv6 adresini olusturunuz,

OrV1ek\-eki ~lJ2 ov\\~~ SC(~I.sI"'I'" \b'\,k s;sh.IAo\J e,k"\ k«Y'~\\'31 CID l12'1h'+ O'lbo",192.) o\c.Y'''I.b.

\Je..ri\c\i~i I~\l'\) 193 d01"'dG\1l c- (\2.\6'+(,16°) o\arG\k. 5Q2...!Q/,;lir. '40,168 ve 54 ise

\b' Ilk sis+-~,..,t. b6'","e :j0r'lte.WI', i\e Jo~~.stv.\'~lme.\;cLr.

16S l~ =t> A <a Sit \J.L_~6o to ~I :5

8 6-;;-8C =t> 36

6+04 I?vb Gdlcsi 2002: C i Be: A8 36: :/48 0 lIAr.

Page 2: IPv6 - Karadeniz Teknik Üniversitesiulutas/Courses/UnderGraduate/... · 2018-01-12 · Name: Lastname: Student ID # : 1 2 Toplam 4 1,2 POC; KTO Faculty of Engineering II MOhendislik

2. a. Construct the truth table for segment "P{' output of a BCD to 7-segment display decoder/drivercircuit considering all possible BCD values from 0 to 15 (not only valid BCD numbers from 0 to 9)./1BCD'den 7-par~all qosterqe kod ~6zucu/surucu devresinin "A" parcasi icin doqruluk tablosunu, O'dan15'e turn clast BCD degerleri (yalruz O'dan 9'a kadar ge~erli BCD deqerler icin degil) gaz onune alarakolusturunuz.

Ao 0 0 0000 Io 0 \ 0o 0 \ Ic I 0 0o \ 0 \o I I 0o \ 1 1\ 0 0 0\ 0 0 I\ 0 \ 0\ 0 \ \\ \ 0 0i \ 0 \

1 t \ 0\ 1 1 \

\ 0o \\ 2-\ 3o 4\ 5\ [;I .-\(9\ 9I Ro \~o Co c\

E:.

F

b. Design simplified logic circuit of segment "P{' by Karnaugh mapping but do not draw gate levelcircuit schematic. /I "P{' parcastrun sadelestlrtlrnis rnantik devresini Karnaugh haritalama iletasarlaymtz fakat kapi seviyesindeki devre semasrru ~izmeyiniz.