IPv4 vs. IPv6: Vilket ska du surfa med?
2020 (Swedish) Independent thesis Basic level (university diploma), 5 credits / 7,5 HE credits
Student thesis Alternative title
IPv4 vs. IPv6 : What should you browse with? (English)
Abstract [sv]
Denna rapport tar sig an latens och responstidsjämförelser mellan protokollen IPv4 och IPv6. Dessa protokoll är absolut nödvändiga för att leverera data till rätt mottagare ute på internet då det är TCP/IP-modellen som används. IPv6 är en nyare version av IPv4 och skapades i slutet 1990-talet eftersom IPv4-adresser inte kommer att räcka till alla enheter som behöver det. I samband med övergång till IPv6 passade man på att optimera protokollet med färre fält i headern och på så sätt förbättra latens och responstiderna över IPv4.
Rapporten visar likheter och skillnader i latens och responstid mellan IPv4 och IPv6 när man surfar till populära webbsidor, ett relevant användningsfall som sker dagligen. Mätningar sker genom att hämta webbsidorna med http-protokollet med respektive IPv4 och IPv6-protokollen för att sedan analysera de olika responstiderna mellan dessa. Detta görs för tre olika internetleverantörer: Telia, Bahnhof och Sunet. Telia använder sig även av en annan IPv6-lösning än de andra två vilket blir ytterligare en faktor inom analysen.
Resultaten av mätningarna visar att IPv4 presterar något snabbare för samtliga internetleverantörer men innebär ingen direkt märkbar skillnad för en användare. Trafiken tar till stor del samma väg oavsett vilket av de två protokollen som används. Tiden för DNS-uppslagningar tar märkvärt längre tid för Sunet som internetleverantör än för de andra två. Skillnad i vägval beroende på vilket protokoll som används är mest påtaglig för Bahnhof. Telias 6RD presterar bättre genomsnittstid än Sunets native IPv6.
Abstract [en]
This report addresses latency and response-time comparisons between the IPv4 and IPv6 protocols. These protocols are necessary to deliver data to the right recipient on the Internet as it is the TCP/IP model that is used. IPv6 is a newer version of IPv4 and was created in the late 1990's because the IPv4 addresses will not be enough for all devices that will come to need it. In association with the transition to IPv6, an opportunity was taken to optimize the protocol with fewer fields in the header and thus try to increase the latency and response times over IPv4.
The report shows similarities and differences in latency and response times between IPv4 and IPv6 when browsing popular websites, a relevant use case that occurs daily. Measurements are made by downloading the web pages with the http protocol with both the IPv4 and the IPv6 protocols and then analyzing the different response times between them. This is done for three different internet providers: Telia, Bahnhof and Sunet. Telia also uses a different IPv6 solution than the other two, which will be another factor in the analysis.
The results of the measurements show that IPv4 performs somewhat faster for all internet providers but does not make a directly noticeable difference for an end user. The traffic takes largely the same route regardless of which of the two protocols is used. The time for DNS lookups takes considerably longer for Sunet as an Internet provider than for the other two. The difference in route choice depending on which protocol is used is most noticeable for Bahnhof. 6RD performs a better average time than Sunets native IPv6.
Place, publisher, year, edition, pages 2020. , p. 29
Keywords [en]
Comparison, IPv4, IPv6, Internet, latency, HTTP
Keywords [sv]
Jämföra, IPv4, IPv6, internet, latens, HTTP
National Category
Computer Systems
Identifiers URN: urn:nbn:se:hv:diva-16193 Local ID: EXN300 OAI: oai:DiVA.org:hv-16193 DiVA, id: diva2:1517616
Subject / course Computer engineering
Educational program Nätverksteknik med IT-säkerhet
Supervisors
Examiners
2021-01-142021-01-142021-01-14 Bibliographically approved