Moby Dick Consolidated System Integration Plan

Moby Dick Consolidated System Integration Plan Moby Dick Consolidated System Integration Plan

kt.agh.edu.pl
from kt.agh.edu.pl More from this publisher
27.03.2014 Views

D0103v1.doc Version 1 6.7.2003 communicate information from the user space (here, the FD) to the kernel space where the DMT is located. Thus, the user only has to write on this device with the contents of the FD (by the ‘cat filters_database.txt > /dev/dscp’ command for ex.). Then, the TUM automatically reads the text written on the device, and updates the DMT in the Linux kernel. Note that it is not necessary to write the entire FD on the device to update properly the DMT: only a file containing new filters, or a subset of modified filters can be communicated to the TUM. User AAAC Table update Module 3b Filtering Rules & DSCP 1 2 3a Service Table Character device /dev/ dscp 1: Filters writing 2: Filters reading DSCP Matching Table 3a: DSCP update 3b: Filters update Figure 27: DMT and SC update process For the moment, the table update process is triggered manually, by writing on the /dev/dscp character device. However, it is possible to make the AAAC system update the FD, in the same way than the DSCP update (see section 4.1.2.9.8) or triggering automatic updates regularly, in the user space. 4.1.2.9.6 DSCP marking DSCP marking is done thanks to a modification of the Traffic Class and Flow Label fields in the IPv6 header. When the information of the packet header matches with a filter, the corresponding DSCP is marked in the header of the packet: the four first bits of the DSCP are stored in the last four bits of the Traffic Class field, and the last two bits, plus two bits set to ‘0’, are stored in the four first bits of the Flow Label field. DSCP Vers TC ….. Flow Label Figure 28: DSCP bits in the IPv6 main header 4.1.2.9.7 Packet re-marking This operation is supported by the DMT, if the DMS is installed in a Linux router. To re-mark packets, the network administrator has just to add a new filter, containing a ‘IP6DSCP’ item, in the FD. This filter evaluates the DSCP in the new packet header, and associates a new value with it. 4.1.2.9.8 DSCP updates and interaction with AAAC In the first version of the DMS, provided in October 2002, the ‘CoS’ field value in each filter in the FD was only a DSCP (e.g. ‘110110’, …). However, if we consider that several users can be located on the same MT, but with different QoS contracts, the same applications may use different QoS services for two different users. Thus, when a user enters in a new domain, she has to load the proper DSCP for each service she’s authorized to ask for, and to associate each service to each application she can launch. The second version of the DMS, provided in March 2003, offers the possibility to the user to use both DSCP values and service identifiers in her filters. In fact, a user can write a service identifier in the ‘CoS’ field D0103v1.doc 42 / 168

D0103v1.doc Version 1 6.7.2003 instead of a DSCP, and the TUM associates itself this service identifier with a DSCP value, loaded from the network, thanks to the Service Table. So, when a user registers, the AAAC module in the MT simply sends a list of service identifiers, with their associated DSCPs, to the TUM, via the /dev/dscp character device (see figure 27). For example, it can write ‘SIG 50’, ‘S1 5’, ‘S2 10’, ‘S3 15’, …, ‘S7 35’ on the device. Then the ST looks like in Table 5. Service DSCP SIG 50 S1 5 S2 10 S3 15 S4 20 S5 25 S6 30 S7 35 Table 4: Service Table example What we call here a ‘service’ is only a marking type. The service notion in the MT is lightly different from the service notion in the network. In fact, S1 means ‘the first service marking type’. So, if the user is authorized to use only a subset of the network services, it is possible that several marking types will have the same value, which means that different applications associated with different service names may, in fact, use the same DSCP. During the user registration, the MT will always receive seven DSCP codes, which is the number of CoS defined in Moby Dick. The filters will also be the same in all the Mobile Terminals. By default, all the DSCPs are set to 0, excepted the SIG value, which is set to 34 (100010 in binary). Each DSCP can be manually initialised, by the user or the MT administrator himself, by writing ‘SX DSCPX’ on the /dev/dscp character device, where X is the service number. However, a manual initialisation of the DSCPs is probably useless, considering that a user cannot send traffic towards the network without registering first. 4.1.2.10 Monitoring Extensions to Ethernet / WLAN driver 4.1.2.10.1 Monitoring Extensions to Ethernet driver One of the access technologies covered by the inter-technology handover within Moby Dick is Ethernet, which entails specific availability constraints, as described in this section. This evaluation requires the distinction between a handover (i) towards an Ethernet interface and (ii) away from an Ethernet interface to a different technology. In the (i) case, the handover decision algorithm, which is located in the MTNM on the Mobile Terminal within the framework of Moby Dick, has to be aware about the presence and availability of the Ethernet link. This is not as trivial as for example in WLAN, where the signal quality, which is provided by the wireless tools from the periodical beacons, implies the presence of the medium. In order to signal the availability of the Ethernet medium to the MTNM module, a monitoring extension is required. Therefore, the medium-independent interface (MII) is deployed in Moby Dick. This extension is part of the Fast Ethernet standard and provides support for 10 and 100 Mbps media segments. In order to announce medium availability to the MTNM module, the status register of this attachment is deployed. The second case does not require extension, but the user has to be aware that a handover away from Ethernet has to be announced ‘manually’, since there is no signal quality decrease, which gives handover preparation time. The medium availability is one or zero; i.e., the cable is connected or unplugged. In order to provide fast handover from Ethernet to any other technology, the user must announce the desire to handover via a manual trigger before unplugging the cable. 4.1.2.10.2 Monitoring Extensions to WLAN driver In Moby Dick the hostap driver (http://hostap.epitest.fi/), version 19-05, created by Jouni Malinen will be used. The WLAN driver at the MT will include also a filtering function to be able to provide the right information/messages to the upper layers (essentially the MTNM and the IPv6 stack). The WLAN driver will be configured to work in ad-hoc mode, using a common SSID and a common frequency with the WLAN ARs in the Moby Dick network. This configuration, and the reasons behind it, is explained in detail in appendix A. The filtering function has three missions: D0103v1.doc 43 / 168

D0103v1.doc Version 1 6.7.2003<br />

communicate information from the user space (here, the FD) to the kernel space where the DMT is<br />

located.<br />

Thus, the user only has to write on this device with the contents of the FD (by the ‘cat filters_database.txt<br />

> /dev/dscp’ command for ex.). Then, the TUM automatically reads the text written on the device, and<br />

updates the DMT in the Linux kernel. Note that it is not necessary to write the entire FD on the device to<br />

update properly the DMT: only a file containing new filters, or a subset of modified filters can be<br />

communicated to the TUM.<br />

User<br />

AAAC<br />

Table update<br />

Module<br />

3b<br />

Filtering Rules & DSCP<br />

1 2 3a<br />

Service<br />

Table<br />

Character device<br />

/dev/ dscp<br />

1: Filters writing<br />

2: Filters reading<br />

DSCP<br />

Matching<br />

Table<br />

3a: DSCP update<br />

3b: Filters update<br />

Figure 27: DMT and SC update process<br />

For the moment, the table update process is triggered manually, by writing on the /dev/dscp character<br />

device. However, it is possible to make the AAAC system update the FD, in the same way than the DSCP<br />

update (see section 4.1.2.9.8) or triggering automatic updates regularly, in the user space.<br />

4.1.2.9.6 DSCP marking<br />

DSCP marking is done thanks to a modification of the Traffic Class and Flow Label fields in the IPv6<br />

header. When the information of the packet header matches with a filter, the corresponding DSCP is<br />

marked in the header of the packet: the four first bits of the DSCP are stored in the last four bits of the<br />

Traffic Class field, and the last two bits, plus two bits set to ‘0’, are stored in the four first bits of the Flow<br />

Label field.<br />

DSCP<br />

Vers<br />

TC<br />

…..<br />

Flow Label<br />

Figure 28: DSCP bits in the IPv6 main header<br />

4.1.2.9.7 Packet re-marking<br />

This operation is supported by the DMT, if the DMS is installed in a Linux router. To re-mark packets,<br />

the network administrator has just to add a new filter, containing a ‘IP6DSCP’ item, in the FD. This filter<br />

evaluates the DSCP in the new packet header, and associates a new value with it.<br />

4.1.2.9.8 DSCP updates and interaction with AAAC<br />

In the first version of the DMS, provided in October 2002, the ‘CoS’ field value in each filter in the FD<br />

was only a DSCP (e.g. ‘110110’, …). However, if we consider that several users can be located on the<br />

same MT, but with different QoS contracts, the same applications may use different QoS services for two<br />

different users. Thus, when a user enters in a new domain, she has to load the proper DSCP for each<br />

service she’s authorized to ask for, and to associate each service to each application she can launch. The<br />

second version of the DMS, provided in March 2003, offers the possibility to the user to use both DSCP<br />

values and service identifiers in her filters. In fact, a user can write a service identifier in the ‘CoS’ field<br />

D0103v1.doc 42 / 168

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!