linux, wlan & mipv6

32
Linux, WLAN & MIPv6 Wang Hui ([email protected] ) Infonet Lab,EEIS,USTC 2005-3-26

Upload: others

Post on 04-Oct-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Linux, WLAN & MIPv6

Linux, WLAN & MIPv6

Wang Hui([email protected])

Infonet Lab,EEIS,USTC2005-3-26

Page 2: Linux, WLAN & MIPv6

index Background: get wireless What’s Mobile IPv6 WLAN,MIPv6 in Linux More interesting hot topics Conclusion & QA time

Page 3: Linux, WLAN & MIPv6

The Big Background

IP changed the world

1969 ARPANET

1981 IETF IPv4 protocol

Internet user keep increasing

a shared platform for information

意大利机构Gandalf统计(数据截至2004年上半年)

Page 4: Linux, WLAN & MIPv6

Wire to wirelessCore Network : plenty of bandwidth

multi-gigabit router/switch

fibers

Access network: wire to wireless

ADSL/Cable/Dial up/Ethernet

802.11,802.15,802.16,802.20 series

GPRS/CDMA1x/EDGE/3G/B3G/4G...无处不在的接入

Page 5: Linux, WLAN & MIPv6

Network & Service Convergence:IP

Traditional

different services accord different networks

New trend

IP as the common networking layer

Everything over IP (services)

IP over everything (networks)

IPv6 layer

CableAccess

Wireless LAN PSTN

2.5G/3G/B3G/4G

Voice

ATM/Fiber…….

MultiMedia

PANPEN Game Business Email

WWWCallCenter

DigitalLife ….

An open IPv6 transport platform

WiredLAN

PDA Cellphone PC vehicleE

Home Camera ….

Page 6: Linux, WLAN & MIPv6

index Background: get wireless What’s Mobile IPv6 WLAN, MIPv6 in Linux More interesting hot topics Conclusion & QA time

Page 7: Linux, WLAN & MIPv6

Mobile IPv6

What’s Mobile IPv6

a node always identified by its home address

Why Mobile IP

Internet routing is based on the subnet prefix in a packet’s destination IP address

Page 8: Linux, WLAN & MIPv6

How dose it work

MN:Mobile NodeHA:Home AgentCN:Correspondent node

Page 9: Linux, WLAN & MIPv6

IPv6 basicIP version 6 : the successor to IPv4

Expanded addressing capabilities

Header format simplification

Improved support for extensions

Flow labeling capability

Authentication and privacy capability

Page 10: Linux, WLAN & MIPv6

index Background: get wireless What’s Mobile IPv6 WLAN, MIPv6 in Linux More interesting hot topics Conclusion & QA time

Page 11: Linux, WLAN & MIPv6

MIPv6 for LinuxCurrently two implementation available:

http://www.cs-ipv6.lancs.ac.uk/MobileIP/ (but obsolete)

HUT MIPL project: http://www.mobile-ipv6.org/ (Up to date)(GPL)

now developed by HUT GO-Core project and USAGI/WIDE Project (www.linux-ipv6.org)

try to make it to the main line kernel

Page 12: Linux, WLAN & MIPv6

The protocol structure

In Linux kernel 3 Parts: MN,CN & HA

main codes:net/ipv6/mobile_ipv6

Page 13: Linux, WLAN & MIPv6

Steps to install

Download

unpack and patch the kernel

make config

compile the kernel and install

make userspace tools

do some configurations

Page 14: Linux, WLAN & MIPv6

Linux & Wireless

Wireless

802.11 series : fast

Bluetooth : low power

GPRS/GSM : long distance

IrDa(Infrared Data) : cheap

Page 15: Linux, WLAN & MIPv6

802.11 WLAN

IEEE 802.11 series

802.11a - 5GHz (54Mbps) , 802.11n...

802.11b,11g - 2.4GHz (11Mbps/54Mbps)

MAC layer: CSMA/CA,WEP,SSID

WLAN Card

Intersil Prism (Compaq,Nokia,Linksys,D-link..)

Lucent Hermes(Lucent Orinoco,Apple Airport)

Page 16: Linux, WLAN & MIPv6

802.11 WLAN networking

Ad hoc mode

Infrastructure mode

Access Point (as a bridge)

roaming between APs

Page 17: Linux, WLAN & MIPv6

Linux WLAN support

Two part:

WLAN API (Wireless Extensions proj)

iwconfig (user space tools)

WLAN device driver

Page 18: Linux, WLAN & MIPv6

802.11 support of Linux

‘The Linux Wireless LAN Howto’

Drivers including:

Orinoco WLAN Driver: part of kernellinux-wlan-ng (linux-wlan project)Host AP driver (support prism chip AP mode)Linux Symbol Spectrum driver (support Symbol PCMCIA card)Atmel USB WLAN Driver

Page 19: Linux, WLAN & MIPv6

What happens when u insert a WLAN card

Insert a Intersil WLAN CF cardEvent handler called (orinoco_cs module)transfer related message to ‘cardmgr’match ‘/etc/pcmcia/config’ related item & load the right driver‘cardmgr’ call /etc/wirelss/wireless script to configure: WEP,SSID,etc; start DHCP..in orinoco module:

call register_netdev to get an ethX nameregister a interrupt handler for devicenetif_rx

Page 20: Linux, WLAN & MIPv6

Enable the PDA with MIPv6 support

Merge MIPL code into the embed version kernel

Enable applications

VoIP over MIPv6

VoIP + MIPv6 + WLAN or 802.16/20 ...

wireless home

Page 21: Linux, WLAN & MIPv6

MiPAQ project in Infonet,Lab

Hardware: IPAQ H3900

OS: Familiar linux

MIPv6: porting MIPL into Familiar Linux kernel

Testbed: One Home Network, Two wireless Foreign networks

Demo App: VLC video streaming

much research work done on this platform

Page 22: Linux, WLAN & MIPv6

MiPAQ testbed in Infonet Lab

Electronic Building-III, Room 317

Page 23: Linux, WLAN & MIPv6

index Background: get wireless What’s Mobile IPv6 WLAN, MIPv6 in Linux More interesting hot topics Conclusion & QA time

Page 24: Linux, WLAN & MIPv6

Fast handoverMNs move among different APs

MNs move between different access routers

MNs move between different wireless networks

some work are undergoing

tunnel based fast handover schemes

network control based schemes

Page 25: Linux, WLAN & MIPv6

Security issues

the nodes moves around the world

the related security issues?

IPSec is not possible for the whole Internet

authentication,authorization,accounting

Not coz extra-security problem from MIPv6

Page 26: Linux, WLAN & MIPv6

Enhance the wireless efficiency

TCP (and more) over wireless

IP/IPv6 + Mobility over wireless

headers are very longcompared with the short voice datahow to enhance the efficiency

one way: end the ip before the last wireless hopanother way: robust header compression

Page 27: Linux, WLAN & MIPv6

Power saving

Power is very important for mobile node

How to achieve high efficiency

device driver control

Power-saving routing schemes

Power-aware voice/video coding

...

Page 28: Linux, WLAN & MIPv6

And more...

Page 29: Linux, WLAN & MIPv6

Conclusion Background: get wireless What’s Mobile IPv6 WLAN, MIPv6 in Linux More interesting hot topics Conclusion & QA time

Page 30: Linux, WLAN & MIPv6

Conclusion

A brief review of wireless networking

IPv6 and Mobile IPv6: the concept

Set up a testbed using Linux

More topics introduced

Page 31: Linux, WLAN & MIPv6

Q&A Timereach me [email protected]

Page 32: Linux, WLAN & MIPv6

Thanks!