TF-Mobility: Qos for wireless environments Enrique de la Hoz de la - - PowerPoint PPT Presentation

tf mobility qos for wireless environments
SMART_READER_LITE
LIVE PREVIEW

TF-Mobility: Qos for wireless environments Enrique de la Hoz de la - - PowerPoint PPT Presentation

Introduction Network under study Quality of Service Proposal Conclusions TF-Mobility: Qos for wireless environments Enrique de la Hoz de la Hoz enrique@aut.uah.es Universidad de Alcal a de Henares 28 de septiembre de 2007 logo Enrique de


slide-1
SLIDE 1

logo Introduction Network under study Quality of Service Proposal Conclusions

TF-Mobility: Qos for wireless environments

Enrique de la Hoz de la Hoz enrique@aut.uah.es

Universidad de Alcal´ a de Henares

28 de septiembre de 2007

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-2
SLIDE 2

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Index

1

Introduction

2

Network under study

3

Quality of Service Proposal

4

Conclusions

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-3
SLIDE 3

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Environment

Technical specifications set by University

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-4
SLIDE 4

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Environment

Technical specifications set by University Provide Wireless Internet Access to a wide open area of UAH external campus: the hall of residence

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-5
SLIDE 5

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Environment

Technical specifications set by University Provide Wireless Internet Access to a wide open area of UAH external campus: the hall of residence Restricted access to web surfing. Need to guarantee a minimal BW of 256kbps per user

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-6
SLIDE 6

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Environment

Figura: Satellite view of CRUSA

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-7
SLIDE 7

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Environment

Complex deployment of a wired infrastructure. Expensive and annoying for the users

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-8
SLIDE 8

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Environment

Complex deployment of a wired infrastructure. Expensive and annoying for the users So, decided to use wireless-802.11 based communications: 802.11a,802,11b,802.11g

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-9
SLIDE 9

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Premises

Development of a radio system to cover the hole area

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-10
SLIDE 10

logo Introduction Network under study Quality of Service Proposal Conclusions Index Introduction

Premises

Development of a radio system to cover the hole area Development of an open-source platform to to provide the access required

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-11
SLIDE 11

logo Introduction Network under study Quality of Service Proposal Conclusions Network architecture

Network diagram

Figura: Deployed Network

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-12
SLIDE 12

logo Introduction Network under study Quality of Service Proposal Conclusions Network architecture

Access points

22 Linksys access points working in router mode

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-13
SLIDE 13

logo Introduction Network under study Quality of Service Proposal Conclusions Network architecture

Access points

22 Linksys access points working in router mode Every AP linked using ethernet or IEEE802.11a in places with difficult physical access

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-14
SLIDE 14

logo Introduction Network under study Quality of Service Proposal Conclusions Network architecture

Access points

22 Linksys access points working in router mode Every AP linked using ethernet or IEEE802.11a in places with difficult physical access Using Linux dd-wrt.vv prefinal 5 and distributing APs in channels 1, 6 and 11

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-15
SLIDE 15

logo Introduction Network under study Quality of Service Proposal Conclusions Network architecture

Access points

22 Linksys access points working in router mode Every AP linked using ethernet or IEEE802.11a in places with difficult physical access Using Linux dd-wrt.vv prefinal 5 and distributing APs in channels 1, 6 and 11 At least, there will be two APs reachable by every user in the studied locations studied

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-16
SLIDE 16

logo Introduction Network under study Quality of Service Proposal Conclusions Network architecture

Access points distribution

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-17
SLIDE 17

logo Introduction Network under study Quality of Service Proposal Conclusions

Quality of service basis

Intensive use of bandwidth: massive downloads, download managers, voIP calls, video calls

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-18
SLIDE 18

logo Introduction Network under study Quality of Service Proposal Conclusions

Quality of service basis

Intensive use of bandwidth: massive downloads, download managers, voIP calls, video calls Leading to an unfair distribution of bandwidth

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-19
SLIDE 19

logo Introduction Network under study Quality of Service Proposal Conclusions

Quality of service basis

Intensive use of bandwidth: massive downloads, download managers, voIP calls, video calls Leading to an unfair distribution of bandwidth We were not meetig the established requirements

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-20
SLIDE 20

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS proposal

Priorizing control and management traffic: SNMP, ICMP, SSH and other control types

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-21
SLIDE 21

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS proposal

Priorizing control and management traffic: SNMP, ICMP, SSH and other control types Detecting traffic types

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-22
SLIDE 22

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS proposal

Priorizing control and management traffic: SNMP, ICMP, SSH and other control types Detecting traffic types Distributing bandwidth to meet requirements

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-23
SLIDE 23

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS design

Not trying to offer wireless QoS directly

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-24
SLIDE 24

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS design

Not trying to offer wireless QoS directly Not considering 802.11e. Our linksys ap were not capable

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-25
SLIDE 25

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS design

Not trying to offer wireless QoS directly Not considering 802.11e. Our linksys ap were not capable Instead of that, we tried to shape user traffic at Internet link using well-known traffic control linux tools and traffic marking capablilities of netfilter

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-26
SLIDE 26

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS design

Not trying to offer wireless QoS directly Not considering 802.11e. Our linksys ap were not capable Instead of that, we tried to shape user traffic at Internet link using well-known traffic control linux tools and traffic marking capablilities of netfilter Practical linux-based solution

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-27
SLIDE 27

logo Introduction Network under study Quality of Service Proposal Conclusions

Proposal

Figura: Schema

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-28
SLIDE 28

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS

Linux kernel queueing support is used. We develop a proper queueing schema employing tc

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-29
SLIDE 29

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS

Linux kernel queueing support is used. We develop a proper queueing schema employing tc Mark packets using netfilter mark/classify capabilities

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-30
SLIDE 30

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS

Linux kernel queueing support is used. We develop a proper queueing schema employing tc Mark packets using netfilter mark/classify capabilities Traffic classification based upon the previous marks

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-31
SLIDE 31

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS

Linux kernel queueing support is used. We develop a proper queueing schema employing tc Mark packets using netfilter mark/classify capabilities Traffic classification based upon the previous marks Main target: fair and dynamic bandwidth distribution

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-32
SLIDE 32

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS

Linux kernel queueing support is used. We develop a proper queueing schema employing tc Mark packets using netfilter mark/classify capabilities Traffic classification based upon the previous marks Main target: fair and dynamic bandwidth distribution Queueing disciplines used:

HTB for BW reservation (considering HFSC) ESFQ y SFQ to achieve fair distribution among sessions

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-33
SLIDE 33

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS

Linux kernel queueing support is used. We develop a proper queueing schema employing tc Mark packets using netfilter mark/classify capabilities Traffic classification based upon the previous marks Main target: fair and dynamic bandwidth distribution Queueing disciplines used:

HTB for BW reservation (considering HFSC) ESFQ y SFQ to achieve fair distribution among sessions

Creation of a set of traffic classes and prioritize them. As stated, user traffic is the least privileged to assure that control and management traffic is delivered .

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-34
SLIDE 34

logo Introduction Network under study Quality of Service Proposal Conclusions

Linux QoS Architecture

Figura: Linux QoS Architecture

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-35
SLIDE 35

logo Introduction Network under study Quality of Service Proposal Conclusions

QoS

Figura: Queueing diagram in the internet interface

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-36
SLIDE 36

logo Introduction Network under study Quality of Service Proposal Conclusions

Queueing diagram in the wifi interface

Figura: Queueing diagram in the wifi interface

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-37
SLIDE 37

logo Introduction Network under study Quality of Service Proposal Conclusions

Traffic classifier

We are extending this schema to support any kind of traffic

1(http://l7-filter.sourceforge.net/) Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-38
SLIDE 38

logo Introduction Network under study Quality of Service Proposal Conclusions

Traffic classifier

We are extending this schema to support any kind of traffic We need to classify traffic into different classes and to assign bw

1(http://l7-filter.sourceforge.net/) Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-39
SLIDE 39

logo Introduction Network under study Quality of Service Proposal Conclusions

Traffic classifier

We are extending this schema to support any kind of traffic We need to classify traffic into different classes and to assign bw We use an iptables module: l7filter 1 to achieve that goal

1(http://l7-filter.sourceforge.net/) Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-40
SLIDE 40

logo Introduction Network under study Quality of Service Proposal Conclusions

Traffic classifier

We are extending this schema to support any kind of traffic We need to classify traffic into different classes and to assign bw We use an iptables module: l7filter 1 to achieve that goal Difficult to deal with some kind of traffic, especially skype

1(http://l7-filter.sourceforge.net/) Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-41
SLIDE 41

logo Introduction Network under study Quality of Service Proposal Conclusions

One step forward

Up to this point, we are able to distinguish traffic on a per ip a per service basis

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-42
SLIDE 42

logo Introduction Network under study Quality of Service Proposal Conclusions

One step forward

Up to this point, we are able to distinguish traffic on a per ip a per service basis Not taking into account user profiles: researcher, proffesor, student, guest

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-43
SLIDE 43

logo Introduction Network under study Quality of Service Proposal Conclusions

One step forward

Up to this point, we are able to distinguish traffic on a per ip a per service basis Not taking into account user profiles: researcher, proffesor, student, guest Then, that is not a realistic approach

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-44
SLIDE 44

logo Introduction Network under study Quality of Service Proposal Conclusions

One step forward

Up to this point, we are able to distinguish traffic on a per ip a per service basis Not taking into account user profiles: researcher, proffesor, student, guest Then, that is not a realistic approach Maybe we could use radius to do that

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-45
SLIDE 45

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius Integration

We work in an eduroam-like environment -¿ Authentication and authorization provided by radius

  • 2H. Tschofenig et al. RADIUS Quality of Service Support”.

Draft-tschofenig-radext-qos-05.txt

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-46
SLIDE 46

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius Integration

We work in an eduroam-like environment -¿ Authentication and authorization provided by radius We are able to identify users and groups so we can think of a profile-based bandwith, not a plain one

  • 2H. Tschofenig et al. RADIUS Quality of Service Support”.

Draft-tschofenig-radext-qos-05.txt

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-47
SLIDE 47

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius Integration

We work in an eduroam-like environment -¿ Authentication and authorization provided by radius We are able to identify users and groups so we can think of a profile-based bandwith, not a plain one We need to integrate the traffic marking capablities and the radius server –¿ NuFw

  • 2H. Tschofenig et al. RADIUS Quality of Service Support”.

Draft-tschofenig-radext-qos-05.txt

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-48
SLIDE 48

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius Integration

We work in an eduroam-like environment -¿ Authentication and authorization provided by radius We are able to identify users and groups so we can think of a profile-based bandwith, not a plain one We need to integrate the traffic marking capablities and the radius server –¿ NuFw We do not modify radius2

  • 2H. Tschofenig et al. RADIUS Quality of Service Support”.

Draft-tschofenig-radext-qos-05.txt

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-49
SLIDE 49

logo Introduction Network under study Quality of Service Proposal Conclusions

NuFw

Figura: Nufw

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-50
SLIDE 50

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius intergration: NuFw

NuFw capabilities (from www.nufw.org)

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-51
SLIDE 51

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius intergration: NuFw

NuFw capabilities (from www.nufw.org) Authenticate any connection that goes through your gateway

  • r only from/to a chosen subset or a specific protocol

(iptables is used to select the connections to authenticate).

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-52
SLIDE 52

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius intergration: NuFw

NuFw capabilities (from www.nufw.org) Authenticate any connection that goes through your gateway

  • r only from/to a chosen subset or a specific protocol

(iptables is used to select the connections to authenticate). Perform accounting, routing and quality of service based

  • n users and not simply on IPs.

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-53
SLIDE 53

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius intergration: NuFw

NuFw capabilities (from www.nufw.org) Authenticate any connection that goes through your gateway

  • r only from/to a chosen subset or a specific protocol

(iptables is used to select the connections to authenticate). Perform accounting, routing and quality of service based

  • n users and not simply on IPs.

Filter packets with criterium such as application and OS used by distant users.

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-54
SLIDE 54

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius intergration: NuFw

NuFw capabilities (from www.nufw.org) Authenticate any connection that goes through your gateway

  • r only from/to a chosen subset or a specific protocol

(iptables is used to select the connections to authenticate). Perform accounting, routing and quality of service based

  • n users and not simply on IPs.

Filter packets with criterium such as application and OS used by distant users. Log all traffic in SQL with username and application information

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-55
SLIDE 55

logo Introduction Network under study Quality of Service Proposal Conclusions

Radius intergration: NuFw

NuFw capabilities (from www.nufw.org) Authenticate any connection that goes through your gateway

  • r only from/to a chosen subset or a specific protocol

(iptables is used to select the connections to authenticate). Perform accounting, routing and quality of service based

  • n users and not simply on IPs.

Filter packets with criterium such as application and OS used by distant users. Log all traffic in SQL with username and application information Be the key of a secure and simple Single Sign On system.

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-56
SLIDE 56

logo Introduction Network under study Quality of Service Proposal Conclusions Licencia del documento

Results and future work

Simple and effective open-source QoS system More than 225 simultaneous users Fair share even under heavy load Take advantage of existing infrastructure: Radius Based on well-known and fully tested tools Replace HTB with HFSC3 Developing a web interface to control and tune the parameters Implementing heuristics to detect traffic patterns

3.A Hierarchical Fair Service Curve Algorithm for Link-Sharing, Real-Time,

and Priority Services”. Ion Stoica, Hui Zhang, Member, IEEE, and T. S. Eugene Ng. IEEE/ACM Transactions on networking 2000.

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-57
SLIDE 57

logo Introduction Network under study Quality of Service Proposal Conclusions Licencia del documento

Estad´ ısticas

Figura: Simultaneous user

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-58
SLIDE 58

logo Introduction Network under study Quality of Service Proposal Conclusions Licencia del documento

Our group

Alicia Caminero Antonio Garc´ ıa Daniel Hernanz Enrique de la Hoz Leonardo Lezcano Miguel L´

  • pez

Pablo Navas Javier S´ anchez

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-59
SLIDE 59

logo Introduction Network under study Quality of Service Proposal Conclusions Licencia del documento

Thanks for your attention

Thanks!

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-60
SLIDE 60

logo Introduction Network under study Quality of Service Proposal Conclusions Licencia del documento

Thanks for your attention

Thanks!

Any question?

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments

slide-61
SLIDE 61

logo Introduction Network under study Quality of Service Proposal Conclusions Licencia del documento

Esta presentacion se ha desarrollado con LaTeX y se distribuye bajo licencia Creative Commons Attribution-ShareAlike 2.5 Usted es libre de: copiar, distribuir y comunicar pblicamente la obra. hacer obras derivadas. hacer un uso comercial de esta obra.

Enrique de la Hoz de la Hoz enrique@aut.uah.es TF-Mobility: Qos for wireless environments