1 / 25

Wireless & Mobile Network

U. Mohammed Ibrahim. Wireless & Mobile Network. Course Contents. Introduction Wireless Links and Network Characteristics WiFi Wireless LANs Cellular Internet Access Mobility Management Mobile IP Mobile Routing Handoffs in GSM. Textbooks.

ellaowens
Download Presentation

Wireless & Mobile Network

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. U. Mohammed Ibrahim Wireless & Mobile Network

  2. Course Contents • Introduction • Wireless Links and Network Characteristics • WiFi Wireless LANs • Cellular Internet Access • Mobility Management • Mobile IP • Mobile Routing • Handoffs in GSM

  3. Textbooks Computer Networking: A Top Down Approach Fifth edition. Jim Kurose, Keith RossAddison-Wesley, July 2010.

  4. Course Evaluation 25 Marks (Labs + Assignments) 15 Marks (Midterm Exam) 60 Marks (Final Exam)

  5. OSI & TCP/IP Models

  6. The application Layer represents the interface between the user and the network

  7. The Application Layer (In the TCP/IP model) The application layer is an abstraction layer reserved for communications protocols and methods designed for process-to-process communications across an Internet Protocol (IP). Application layer protocols use the underlying transport layer protocols to establish process-to-process connections via ports.

  8. E-mail Web Instant messaging Remote login P2P file sharing Multi-user network games Streaming stored video clips Internet telephone Real-time video conference Massive parallel computing Some network applications

  9. Application architectures • Client-server • Peer-to-peer (P2P) • Hybrid of client-server and P2P 2: Application Layer

  10. Creating a network app application transport network data link physical application transport network data link physical application transport network data link physical Write programs that • run on different end systems and • communicate over a network. • e.g., Web: Web server software communicates with browser software No software written for devices in network core • Network core devices do not function at app layer • This design allows for rapid app development

  11. Processes communicating Client process: process that initiates communication Server process: process that waits to be contacted Process: program running within a host. • within same host, two processes communicate using inter-process communication (defined by OS). • processes in different hosts communicate by exchanging messages • Note: applications with P2P architectures have client processes & server processes

  12. Sockets host or server host or server process process socket socket TCP with buffers, variables TCP with buffers, variables • process sends/receives messages to/from its socket • socket analogous to door • sending process shoves message out door • sending process relies on transport infrastructure on other side of door which brings message to socket at receiving process controlled by app developer Internet controlled by OS

  13. Addressing processes • For a process to receive messages, it must have an identifier • A host has a unique32-bit IP address • Q: does the IP address of the host on which the process runs suffice for identifying the process? • Answer: No, many processes can be running on same host • Identifier includes both the IP address and port numbers associated with the process on the host. • Example port numbers: • HTTP server: 80 • Mail server: 25 • More on this later

  14. Transport services and protocols application transport network data link physical application transport network data link physical logical end-end transport • Transport layer provides logical communication between app processes running on different hosts • transport protocols run in end systems • send side: breaks app messages into segments, passes to network layer • rcv side: reassembles segments into messages, passes to app layer • more than one transport protocol available to apps • Internet: TCP and UDP

  15. Network layer network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical application transport network data link physical • transport segment from sending to receiving host • on sending side encapsulates segments into datagrams • on receiving side, delivers segments to transport layer • network layer protocols in everyhost, router • router examines header fields in all IP datagrams passing through it

  16. Link layer terminology: • hosts and routers: nodes • communication channels that connect adjacent nodes along communication path: links • wired links • wireless links • LANs • layer-2 packet: frame,encapsulates datagram global ISP data-link layer has responsibility of transferring datagram from one node to physically adjacent node over a link

  17. Synthesis: a day in the life of a web request • journey down protocol stack complete! • application, transport, network, link • putting-it-all-together: synthesis! • goal:identify, review, understand protocols (at all layers) involved in seemingly simple scenario: requesting www page • scenario:student attaches laptop to campus network, requests/receives www.google.com Link Layer

  18. A day in the life: scenario browser DNS server Comcast network 68.80.0.0/13 school network 68.80.2.0/24 web page web server Google’s network 64.233.160.0/19 64.233.169.105 Link Layer

  19. A day in the life… connecting to the Internet DHCP UDP IP Eth Phy DHCP UDP IP Eth Phy DHCP DHCP DHCP DHCP DHCP DHCP DHCP DHCP DHCP DHCP • connecting laptop needs to get its own IP address, addr of first-hop router, addr of DNS server: use DHCP • DHCP request encapsulated in UDP, encapsulated in IP, encapsulated in 802.3 Ethernet router (runs DHCP) • Ethernet frame broadcast (dest: FFFFFFFFFFFF) on LAN, received at router running DHCP server • Ethernet demuxed to IP demuxed, UDP demuxed to DHCP Link Layer

  20. A day in the life… connecting to the Internet DHCP UDP IP Eth Phy DHCP UDP IP Eth Phy DHCP DHCP DHCP DHCP DHCP DHCP DHCP DHCP DHCP • DHCP server formulates DHCP ACKcontaining client’s IP address, IP address of first-hop router for client, name & IP address of DNS server • encapsulation at DHCP server, frame forwarded (switch learning) through LAN, demultiplexing at client router (runs DHCP) • DHCP client receives DHCP ACK reply Client now has IP address, knows name & addr of DNS server, IP address of its first-hop router Link Layer

  21. A day in the life… ARP (before DNS, before HTTP) ARP ARP Eth Phy ARP query ARP reply DNS UDP IP Eth Phy DNS DNS DNS • before sending HTTPrequest, need IP address of www.google.com: DNS • DNS query created, encapsulated in UDP, encapsulated in IP, encapsulated in Eth. To send frame to router, need MAC address of router interface: ARP • ARP query broadcast, received by router, which replies with ARP reply giving MAC address of router interface router (runs DHCP) • client now knows MAC address of first hop router, so can now send frame containing DNS query Link Layer

  22. A day in the life… using DNS DNS UDP IP Eth Phy DNS UDP IP Eth Phy DNS DNS DNS DNS DNS DNS DNS DNS DNS DNS server Comcast network 68.80.0.0/13 • IP datagram forwarded from campus network into comcast network, routed (tables created by RIP, OSPF, IS-IS and/or BGP routing protocols) to DNS server router (runs DHCP) • IP datagram containing DNS query forwarded via LAN switch from client to 1st hop router • demux’ed to DNS server • DNS server replies to client with IP address of www.google.com Link Layer

  23. A day in the life…TCP connection carrying HTTP SYN SYN SYN SYN SYN SYN SYN HTTP TCP IP Eth Phy TCP IP Eth Phy HTTP SYNACK SYNACK SYNACK SYNACK SYNACK SYNACK SYNACK • to send HTTP request, client first opens TCP socket to web server router (runs DHCP) • TCP SYN segment (step 1 in 3-way handshake) inter-domain routed to web server • web server responds with TCP SYNACK (step 2 in 3-way handshake) web server 64.233.169.105 • TCP connection established! Link Layer

  24. A day in the life… HTTP request/reply HTTP TCP IP Eth Phy HTTP TCP IP Eth Phy HTTP HTTP HTTP HTTP HTTP HTTP HTTP HTTP HTTP HTTP HTTP HTTP HTTP HTTP • web page finally (!!!) displayed • HTTP request sent into TCP socket • IP datagram containing HTTP request routed to www.google.com router (runs DHCP) • web server responds with HTTP reply (containing web page) web server • IP datagram containing HTTP reply routed back to client 64.233.169.105 Link Layer

  25. Questions These slides are adapted from Computer Networking: A Top Down Approach Jim Kurose, Keith RossAddison-WesleyMarch 2012

More Related