270 likes | 410 Views
Performance Validation of Mobile IP Wireless Networks. Syed Shahzad Ali Muhammad Saqib Ilyas Advisor: Dr. Ravi Pendse. Agenda. Wireless Networking Introduction Problems : IP Addresses, Location, Routing Solution: Mobile IP Protocol Ns2 test-bed and results Router’s Lab setup
E N D
Performance Validation of Mobile IP Wireless Networks Syed Shahzad Ali Muhammad Saqib Ilyas Advisor: Dr. Ravi Pendse
Agenda • Wireless Networking Introduction • Problems : IP Addresses, Location, Routing • Solution: Mobile IP Protocol • Ns2 test-bed and results • Router’s Lab setup • Test-bed and result • Future Work
Goals • Performance comparison of Mobile IP based networks on the basis of the results gathered from ns2 simulator and by working in the Router’s LAB in the real world. • Validate the Effects of Mobility on the Transport Layer • Have ns2 and router’s lab test-bed ready for future research
What is Wireless Networking? • Wireless networking is the use of Radio Frequency (RF) technology to connect workstations in a Local Area Network (LAN) or LAN's in a Wide Area Network (WAN). • Using this technology allows Ethernet speeds with limited or no wired connections. It transmits and receives information through the air.
What is Mobile IP? • MIP defines how MNs change their Point Of Attachment to the Internet without changing their IP addresses • Each MN is always identified by its home IP address • HA sends datagrams for MN through a tunnel to the COA • No protocol enhancement is required in other hosts or routers
What if Node Moves • Routing decisions are based upon the network-prefix portion of the IP Destination Address 10.10.0.1/16 Router 130.10.1.0/24
D 130.1.x.x Internet A B C Route Next 130.1.x.x A Route Next 130.1.x.x B D 130.1.1.1 Problem Due to Mobility Mobile Node 130.1.x.x CN 130.1.1.1 Internet A B C Route Next 130.1.x.x B Route Next 130.1.x.x A CN ?
Mobile IP Process • Agent Discovery to find Agent • Home agent and foreign agents periodically send Agent Advertisement Messages • They also respond to solicitation from mobile node • Mobile Node selects an agent and uses Care-Of-Address for further communication
Care-Of-Address • IP Address associated with a mobile node that is visiting a foreign network • It generally changes every time MN moves from one foreign network to another • A FA COA can be any one of the FA’s IP Address • A FA COA can be shared by many MNs simultaneously
Mobile IP Process (Contd.) • Registration • Mobile Node registers its COA with home agent either directly or through foreign agent. • Home agent then sends a reply back to mobile node via FA about successful COA registration • Each mobility binding has a negotiated lifetime limit • To continue further working in FN, registration must be done within lifetime
Mobile IP Process (Contd.) • Return to Home Network • Mobile node deregisters with Home Agent • Sets COA to its permanent IP Address • Lifetime = 0 ; /* means deregistration */ • Deregistration with foreign network is not required. It expires automatically • Simultaneous registrations with more than one COA is allowed (for handoff)
Overview of Mobile IP Functionality CN • 1. MN discovers agent • 2. MN obtains COA (Care Of Address) • 3. MN registers with HA • 4. HA tunnels packets from CN to MN • 5. FA forwards packets from MN to CN 5. 4. FA HA 1. and 2. 3. MN
Encapsulation/ Tunneling • Home Agent Intercepts mobile node’s datagrams and forwards them to COA • Home Agent tells all hosts to send mobile node’s datagram to it • Home Agent then send it to FA via Tunnel • Decapsulation: Datagram is extracted by FA and sent to mobile node
Tunnel Encapsulation/Tunneling Correspondent Node IP Cloud Home Network New Network/Foreign Network Mobile Node Foreign Agent Home Agent Mobile Node
TCPSource FA2 HA FA1 MN Network Scenario
Work that can be done using NS2 • In our work the correspondent node was stationary. A study can be done where CN is also mobile. • UDP Protocol could be tested and the performance could be analyzed. • Real time traffic using RTP may be realized
Now What? Up We Go!
Equipment • Cisco 2600 series routers • Cisco 3660 routers • Cisco Aironet 340 Wireless bridges
Test bed 130.10.x.x/24 100.0.0.0/24 is subnetted, 9 subnets R 100.10.14.0 [120/3] via 100.10.10.1, 00:00:01, FastEthernet0/0 R 100.10.15.0 [120/4] via 100.10.10.1, 00:00:01, FastEthernet0/0 R 100.10.12.0 [120/2] via 100.10.10.1, 00:00:01, FastEthernet0/0 R 100.10.13.0 [120/2] via 100.10.10.1, 00:00:01, FastEthernet0/0 C 100.10.10.0 is directly connected, FastEthernet0/0 R 100.10.11.0 [120/1] via 100.10.10.1, 00:00:01, FastEthernet0/0 C 100.10.18.0 is directly connected, FastEthernet0/1 R 100.10.16.0 [120/3] via 100.10.10.1, 00:00:02, FastEthernet0/0 R 100.10.17.0 [120/4] via 100.10.10.1, 00:00:02, FastEthernet0/0 Server HA – 2600 FA1 – 2600 FA2 – 2600 MN – 2600 R1 – 3660 R2 – 3660 Server, Client – PC running Linux 12.x R1 R2 13.x 11.x 16.x 14.x FA2 HA FA1 17.x 15.x 10.x MN 15.x Client
Mobile Node in Foreign Network 1 Mobile Node: 100.0.0.0/8 is variably subnetted, 3 subnets, 2 masks M 100.10.15.2/32 [3/1] via 100.10.15.2, 00:00:17, FastEthernet0/0 C 100.10.10.0/24 is directly connected, FastEthernet0/0 C 100.10.18.0/24 is directly connected, FastEthernet0/1 M* 0.0.0.0/0 [3/1] via 100.10.15.2, 00:00:17, FastEthernet0/0 Home Agent: 100.0.0.0/8 is variably subnetted, 9 subnets, 2 masks M 100.10.10.88/32 [3/1] via 100.10.14.2, 00:00:45, Tunnel0 R 100.10.14.0/24 [120/2] via 100.10.11.7, 00:00:04, Ethernet0/1 R 100.10.15.0/24 [120/3] via 100.10.11.7, 00:00:04, Ethernet0/1 . . . Mobile Tunnels: Tunnel1: src 100.10.10.1, dest 100.10.10.88 encap IP/IP, mode reverse-allowed, tunnel-users 1 IP MTU 1460 bytes Path MTU Discovery, mtu: 0, ager: 10 mins, expires: never outbound interface Tunnel0 HA created, fast switching enabled, ICMP unreachable enabled 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes Tunnel0: src 100.10.10.1, dest 100.10.14.2 encap IP/IP, mode reverse-allowed, tunnel-users 1 IP MTU 1480 bytes Path MTU Discovery, mtu: 0, ager: 10 mins, expires: never outbound interface Ethernet0/1 HA created, fast switching enabled, ICMP unreachable enabled 0 packets input, 0 bytes, 0 drops 47 packets output, 9020 bytes Server 12.x R1 R2 13.x 11.x 16.x 14.x FA2 HA FA1 17.x 15.x 10.x 10.x 15.x MN Client
How’d we do that? • Modified netperf code to get network latency • Wrote shell program to configure wireless bridge data rate • Wrote shell program to configure router interface delay and queue length
It’s not over yet! • Study the implementation of different radio propagation models in NS-2 • Completely automating the simulation by writing some more shell programs to integrate the existing shell programs.
Thank you very much for attending the presentation Questions?