Raw IPv6 traffic generation and handling in simulated test environment

Loading...
Thumbnail Image

URL

Journal Title

Journal ISSN

Volume Title

School of Electrical Engineering | Master's thesis
Checking the digitized thesis and permission for publishing
Instructions for the author

Date

Mcode

AS-116

Degree programme

Language

en

Pages

[10] + 64

Series

Abstract

The objective of this thesis work is to create an interface which is capable of transmitting, receiving and processing raw IPv6 traffic. This functionality is added to a traffic generator tool called Lupine which is developed by Ericsson. The new interface makes it possible to design and implement various iPv6 traffic related test cases which enable to test whether a system under test is able to handle IPv6 traffic properly. The interface generates IPv6 traffic by employing raw sockets which enable the generation of a datagram almost from scratch. In addition to IPv6, UDP and RTP protocols are also used in this thesis work. However, due to a few limitations, a comprehensive number of IPv6 related test cases could not be developed at the time of implementation. This was because the TTCN-3 interface lacked support for IPv6 there were not any features to be tested and all the needed hardware were not IPv6 ready. Furthermore, as IPv6 was such a distant function, it was not known exactly which features of IPv6 should be supported and tested first. As a result, only one test case was developed using Tcl scripting language and the emphasis was mainly shifted to the design of a few possible future test cases. These possible test cases include the testing of ICMPv6 packets, QoS related traffic situations and the routing of IPv6 scoped addresses. The ICMPv6 packet test cases cover the most common error and informational messages. The QoS related test cases verify the valid handling of DSCP and flow label and the tests related to the routing of scoped addresses check that the SUT can route IPv6 packets properly.

Tämän opinnäytetyön tarkoituksena on luoda rajapinta, joka pystyy lähettämään, vastaanottamaan ja käsittelemään raakaa IPv6-liikennettä. Tämä rajapinta lisätään Ericssonin kehittämään liikennegeneraattoriin nimeltä Lupine. Kyseinen uusi rajapinta mahdollistaa erilaisten IPv6-liikenteeseen liittyvien testitapausten suunnittelun ja toteutuksen, joiden avulla voidaan verifioida, pystyykö testattava tuote käsittelemään kunnollisesti IPv6-liikennettä. Työssä kehitetty rajapinta luo IPv6 liikennettä käyttämällä raakoja socketteja, jotka mahdollistavat datagrammin luomisen melkein tyhjästä. IPv6:n lisäksi työssä käytetään myös UDP ja RTP protokollia. IPv6:een liittyvien testien suunnittelussa oli kuitenkin muutamia rajoitteita, joiden takia kattavaa joukkoa testitapauksia ei voitu kehittää opinnäytetyön tekohetkellä. Tämä johtui siitä, että TTCN-3-rajapinta ei tukenut IPv6:sta, ei ollut testattavia tuotteita ja kaikki laitteet eivät olleet täysin valmiita IPv6:sta varten. Lisäksi, koska IPv6 oli vielä niin kaukainen asia, ei ollut vielä tiedossa mitä IPv6:n ominaisuuksia olisi pitänyt tukea ja testata ensimmäisenä. Tämän johdosta ainoastaan yksi testitapaus toteutettiin käyttämällä Tcl ohjelmointikieltä ja testauksen pääpaino siirrettiin muutamien mahdollisten tulevien testitapausten suunnitteluun. Näihin tuleviin testitapauksiin kuuluvat ICMPv6 viestit, QoS:een liittyvät liikennetilanteet sekä vyöhykeistettyjen IPv6 osoitteiden reititys. ICMPv6 viestien testaus sisältää kaikki yleisimmät virhe ja informatiiviset viestit. QoS:een liittyvät testitapaukset sisältävät DSCP ja flow label osioiden verifioinnin ja IPv6 osoitteiden reititystesteissä varmistetaan, että testin alaisuudessa oleva tuote kykenee reitittämään IPv6 paketteja oikealla tavalla.

Description

Supervisor

Koskinen, Kari

Thesis advisor

Fetula, Harri

Other note

Citation