ITTC Mobile Wireless Networking The University of Kansas EECS 882 Wireless and Mobile Internet

Size: px
Start display at page:

Download "ITTC Mobile Wireless Networking The University of Kansas EECS 882 Wireless and Mobile Internet"

Transcription

1 Mobile Wireless Networking The University of Kansas EECS 882 Wireless and Mobile Internet James P.G. Sterbenz Department of Electrical Engineering & Computer Science Information Technology & Telecommunications Research Center The University of Kansas 11 April 2016 rev James P.G. Sterbenz

2 Mobile Wireless Networking Wireless and Mobile Internet WI.1 Impact of untethered operation in the Internet WI.2 Mobile WI.3 TCP over wireless links WI.4 Internet applications 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-2

3 Wireless and Mobile Internet WI.1: Untethered Internet Operation WI.1 Impact of untethered operation in the Internet WI.2 Mobile WI.3 TCP over wireless links WI.4 Internet applications 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-3

4 Internet History Link Types ARPANET ~1970 considered variety of links leased PSTN lines packet radio satellite Internet evolved into primarily wired infrastructure TCP/ protocol suite developed under these assumptions problems? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-4

5 Internet History Link Evolution ARPANET ~1970 considered variety of links leased PSTN lines packet radio satellite Internet evolved into primarily wired infrastructure TCP/ protocol suite developed under these assumptions no direct support for lossy wireless links no support for mobility 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-5

6 Internet History Link Evolution ARPANET ~1970 considered variety of links leased PSTN lines packet radio satellite Internet evolved into primarily wired infrastructure TCP/ protocol suite developed under these assumptions no direct support for lossy wireless links no support for mobility: static binding of addresses Solution? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-6

7 Internet History Mobility Support ARPANET ~1970 considered variety of links leased PSTN lines packet radio satellite Internet evolved into primarily wired infrastructure TCP/ protocol suite developed under these assumptions no direct support for lossy wireless links no support for mobility: static binding of addresses Solution attempts mobile to support end-system movement TCP modifications to support wireless links 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-7

8 Wireless and Mobile Internet WI.2: Mobile WI.1 Impact of untethered operation in the Internet WI.2 Mobile WI.3 TCP over wireless links WI.4 Internet applications 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-8

9 Mobility Overview Problem: node mobility between subnets need to revisit -address/node bindings 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-9

10 DHCP Overview DHCP: dynamic host configuration protocol [RFC 2131] Allows node to dynamically obtain address as well as other configuration parameters, e.g. DNS server Benefits reduces manual configuration allows mobile nodes to easily move attachment point Limitations? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-10

11 DHCP Overview DHCP: dynamic host configuration protocol [RFC 2131] Allows node to dynamically obtain address as well as other configuration parameters, e.g. DNS server Benefits reduces manual configuration allows mobile nodes to easily move attachment point Problems no handoff capabilities flows and sessions interrupted during move 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-11

12 Mobile Overview Mobile [RFC 3220] (designed by C.E. Perkins) designed to enable untethered Internet access with limited mobility without disrupting higher level protocol flows 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-12

13 Mobile Overview Mobile [RFC 3220] (designed by C.E. Perkins) designed to enable untethered Internet access with limited mobility without disrupting higher level protocol flows Simple way of forwarding packets to mobile nodes 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-13

14 Home Net Mobile Architecture Home Network MN AP AP /24 Home network: permanent (normal) home of MN MN: mobile node permanent address assigned from home network block e.g assigned from /24 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-14

15 Mobile Architecture Visited Network Home Net Visited Net AP AP MN / /24 Home network permanent (normal) home of MN Visited Network: temporary location of MN e.g /24 CN 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-15

16 Mobile Architecture Visited Network Home Net Visited Net AP AP MN MN / /24 Home network permanent (normal) home of MN Visited Network: temporary location of MN e.g /24 problem? CN 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-16

17 Home Net Mobile Architecture Visited Network Visited Net MN AP AP MN / /24 CN Home network permanent (normal) home of MN Visited Network: temporary location of MN home addr not in visited block: packets fwd to wrong net e.g /24 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-17

18 Home Net Mobile Architecture Visited Network Visited Net MN AP AP MN / /24 CN Home network permanent (normal) home of MN Visited Network: temporary location of MN home addr not in visited block: packets fwd to wrong net solution? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-18

19 Home Net Mobile Architecture Visited Network Visited Net MN AP AP MN / /24 CN Home network permanent (normal) home of MN Visited Network: temporary location of MN home addr not in visited block: packets fwd to wrong net use DHCP to get address in visiting net: all flows interrupted 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-19

20 Home Net Mobile Architecture Visited Network Visited Net MN AP AP MN / /24 CN Home network permanent (normal) home of MN Visited Network: temporary location of MN home addr not in visited block: packets fwd to wrong net solution? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-20

21 Home Net Mobile Architecture Visited Network Visited Net MN AP AP MN / /24 CN Home network permanent (normal) home of MN Visited Network: temporary location of MN home addr not in visited block: packets fwd to wrong net mobile agents forward on behalf of MN 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-21

22 Home Net Mobile Architecture Home Agent Visited Net MN HA AP AP MN / /24 CN Home network receives traffic destined for MN home agent (HA) receives traffic destined for MN 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-22

23 Home Net Mobile Architecture Foreign Agent Visited Net MN HA AP AP FA MN / /24 CN Home agent (HA) forwards on behalf of MN to visited Foreign agent (FA) intercepts and relays to MN 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-23

24 Home Net Mobile Architecture Foreign Agent Visited Net MN HA AP AP FA MN / /24 CN Home agent (HA) forwards on behalf of MN to visited Foreign agent (FA) intercepts and relays to MN 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-24

25 Home Net Mobile Architecture Reverse Path Visited Net MN HA AP AP FA MN / /24 CN Home agent (HA) forwards on behalf of MN to visited Foreign agent (FA) intercepts and relays to MN Does MN need to use agents to send to CN? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-25

26 Home Net Mobile Architecture Reverse Path Visited Net MN HA AP AP FA MN / /24 Home agent (HA) forwards on behalf of MN to visited Foreign agent (FA) intercepts and relays to MN MN can address datagrams directly to CN issues? CN 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-26

27 Home Net Mobile Architecture Triangle Routing Visited Net MN HA AP AP FA MN / /24 CN Home agent (HA) forwards on behalf of MN to visited Foreign agent (FA) intercepts and relays to MN MN can address datagrams directly to CN triangle routing : forward path reverse path 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-27

28 Direct routing Mobile Architecture Direct Routing overcomes triangle routing problem Correspondent requests care-of address home agent replies correspondent sends packets directly to COA Problem additional signalling complexity and handoff latency 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-28

29 Mobile Protocol Overview What steps must be taken? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-29

30 Agent discovery Registration Tunneling Handoff Mobile Protocol Overview 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-30

31 Agent discovery process Mobile Protocol Agent Discovery home and foreign agents advertise their service mobile nodes solicit the existence of an agent ICMP message router advertisement: type = 9 mobility agent advertisement extension: code = April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-31

32 Mobile Protocol Registration Registration process for mobile nodes request forwarding services from foreign agent registers care-of address with home agent directly via foreign agent renew binding about to expire deregister from foreign agent UDP messages mobile message header 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-32

33 Tunneling Mobile Protocol Tunneling home agent tunnels datagrams to care-of address Methods -in- encapsulation minimal encapsulation [RFC 2004] eliminates redundant fields from -in- GRE (generic routing encapsulation) [RFC 1701, 1702] 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-33

34 Mobile Protocol Handoff Handoff: mobile node moves to new visited network Procedure mobile node deregisters with old foreign agent mobile node registers with new foreign agent new foreign agent registers with home agent home agent updates care-of-address for mobile packets continue to be forwarded to mobile new care-of-address 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-34

35 Mobile Protocol Handoff Handoff: mobile node moves to new visited network Procedure mobile node deregisters with old foreign agent mobile node registers with new foreign agent new foreign agent registers with home agent home agent updates care-of-address for mobile packets continue to be forwarded to mobile new care-of-address Problem? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-35

36 Mobile Protocol Handoff Handoff: mobile node moves to new visited network Procedure mobile node deregisters with old foreign agent mobile node registers with new foreign agent new foreign agent registers with home agent home agent updates care-of-address for mobile packets continue to be forwarded to mobile Problem new care-of-address hand-off delay packet loss during handoff 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-36

37 Advantages? Mobile Protocol Advantages and Disadvantages 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-37

38 Advantages Mobile Protocol Advantages and Disadvantages very simple mechanism 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-38

39 Mobile Advantages and Disadvantages Advantages very simple mechanism Disadvantages hand-off latency may be seconds registration authentication many optimisations proposed triangle routing different forward and reverse paths security issues ingress and firewall address filtering of address mismatches no support for policy 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-39

40 routers Mobile Reality most supported mobile for a long time Service providers some deployment within cellular telephony service providers Users very little actual use why? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-40

41 Users very little actual use Mobile Reality: Users DHCP reattachment sufficient for many applications and Web transactions not yet much continuous wireless coverage very few users roam among hot spots users using mobile telephony to roam LAN to mobile telephony would be more useful 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-41

42 Wireless and Mobile Internet WI.3: TCP over Wireless Links WI.1 Impact of untethered operation in the Internet WI.2 Mobile WI.3 TCP over wireless links WI.3.1 TCP error and congestion control WI.3.2 TCP loss discrimination WI.3.3 TCP modifications for wireless WI.4 Internet applications 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-42

43 Wireless and Mobile Internet WI.3.1: TCP Error and Congestion Control WI.1 Impact of untethered operation in the Internet WI.2 Mobile WI.3 TCP over wireless links WI.3.1 TCP error and congestion control WI.3.2 TCP loss discrimination WI.4 Internet applications 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-43

44 TCP Error Control Overview TCP uses end-to-end ARQ (automatic repeat request) go-back-n by default numbers bytes in stream rather than packets 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-44

45 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions 0 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-45 1

46 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight A0 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-46 2

47 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged t ack A A1 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-47 3

48 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged how is packet loss detected? t ack A0 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-48 4

49 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet t ack A0 A1 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-49 5

50 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet t ack A0 A1 A o sender timer fires if ACK not received A1 implication? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-50 6

51 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet o sender timer fires if ACK not received reset transmission beginning at lost packet t ack A0 A1 A1 A1 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-51 7

52 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet o sender timer fires if ACK not received reset transmission beginning at lost packet t ack A0 A1 4 5 A1 2 A1 3 2 A1 A2 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-52 8

53 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet o sender timer fires if ACK not received reset transmission beginning at lost packet t ack A0 A1 4 5 A1 2 A1 3 2 A1 4 3 A2 A3 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-53 9

54 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet o sender timer fires if ACK not received reset transmission beginning at lost packet t ack A0 A1 4 5 A1 2 A1 3 2 A A2 A3 A4 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-54 10

55 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet o sender timer fires if ACK not received reset transmission beginning at lost packet t ack A0 A1 4 5 A1 2 A1 3 2 A A2 5 A3 6 A4 A5 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-55 11

56 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet o sender timer fires if ACK not received reset transmission beginning at lost packet disadvantages? t ack A0 A1 4 5 A1 2 A1 3 2 A A2 5 A3 6 A4 6 A5 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-56 12

57 E2E Error Control Closed Loop Retransmission: Go-Back-n Go-back-n : pipeline transmissions + multiple packets simultaneously in flight Packets are sequentially acknowledged o previous ACK retransmitted for subsequent packets after loss out of sequence packet o sender timer fires if ACK not received reset transmission beginning at lost packet significant loss penalty for high bw- -delay go back and retransmit all since loss many unneeded retransmissions significant additional delay 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-57 t ack A0 A1 A1 A1 A1 A2 A3 A4 A

58 E2E Error Control Closed Loop Retransmission: Go-Back-n Optimisation possible for go-back-n? t ack A0 A1 A1 A1 A1 A2 A3 A4 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-58

59 E2E Error Control Closed Loop Retransmission: Go-Back-n Optimisation go-back-n timer the only way to detect loss? t ack A0 3 A1 4 A1 5 2 A1 3 2 A1 4 3 A2 A3 A4 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-59

60 ITTC E2E Error Control Closed Loop Retransmission: Selective Repeat Go-back-n fast retransmit and delayed ACK help slightly significant delay penalty for losses Alternative don t go back: selective repeat 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-60

61 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged 0 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-61 1

62 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged A0 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-62 2

63 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged 1 0 t ack A0 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-63 3

64 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged 1 0 t ack A0 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-64 4

65 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged Missequenced packets o acknowledged and held at receiver t ack A0 A A3 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-65 5

66 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged Missequenced packets o packets held and reordered at receiver increases receiver complexity t ack A0 A1 A A4 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-66 6

67 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged Missequenced packets o packets held and reordered at receiver increases receiver complexity Lost packets o selectively retransmitted t ack A0 A1 A3 A4 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-67 7

68 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged Missequenced packets o packets held and reordered at receiver increases receiver complexity Lost packets o selectively retransmitted t ack A0 A1 A3 A4 A no go-back-n latency penalty requires more receiver buffer space A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-68

69 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged Missequenced packets o packets held and reordered at receiver increases receiver complexity Lost packets o selectively retransmitted + no go-back-n latency penalty requires more receiver buffer space t ack A0 A1 A3 A4 A5 A2 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-69

70 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged Missequenced packets o packets held and reordered at receiver increases receiver complexity Lost packets o selectively retransmitted + no go-back-n latency penalty requires more receiver buffer space t ack A0 A1 A3 A4 A5 A2 A A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-70

71 E2E Error Control Closed Loop Retransmission: Selective Repeat Selective repeat o all packets acknowledged Missequenced packets o packets held and reordered at receiver increases receiver complexity Lost packets o selectively retransmitted + no go-back-n latency penalty requires more receiver buffer space Latency and Bandwidth reduced t ack A0 A1 A3 A4 A5 A2 A6 A7 A April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-71

72 Transmission Control Protocol Error Control TCP uses end-to-end ARQ (automatic repeat request) go-back-n by default numbers bytes in stream rather than packets SACK (selective acknowledgement) is option implements selective repeat over three blocks within segment TCP uses byte-sequence numbers not TPDU numbers as in the previous selective repeat example 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-72

73 Transmission Control Protocol Congestion Control Slow start to probe capacity Implicit congestion control lack of expected ACK assumed to be congestion-based loss sender halves congestion window (AIMD) Recovery then retransmits (go-back n or SACK block) begins increase of congestion window (AIMD) 1 MSS (max. segment size) every RTT 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-73

74 Transmission Control Protocol Congestion Control initialisation steady state phase AI congestion detection sending rate slow start MD Initialisation phase: slow start Steady-state phase: AIMD time 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-74

75 TCP Congestion and Error Control Assumptions TCP assumes all losses are due to congestion why? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-75

76 TCP Congestion and Error Control Assumptions TCP assumes all losses are due to congestion buffer overflow (tail drop) under congestion AQM (active queue management) for congestion avoidance sender throttles to reduce congestions Problem? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-76

77 TCP Congestion and Error Control Assumptions TCP assumes all losses are due to congestion buffer overflow (tail drop) under congestion AQM (active queue management) for congestion avoidance sender throttles to reduce congestion Problem: what if loss is due to bit error in wireless channel what should the response be? 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-77

78 TCP Congestion and Error Control Assumptions TCP assumes all losses are due to congestion buffer overflow (tail drop) under congestion AQM (active queue management) for congestion avoidance sender throttles to reduce congestions Problem: what if loss is due to bit error in wireless channel sender should retransmit, not throttle! 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-78

79 TCP Congestion and Error Control Assumptions TCP assumes all losses are due to congestion buffer overflow (tail drop) under congestion AQM (active queue management) for congestion avoidance sender throttles to reduce congestions Problem: what if loss is due to bit error in wireless channel sender should retransmit, not throttle! Note: selective repeat can help but TCP SACK only covers only 3 independent loss events due to implementation as TCP option then reverts to go-back-n behaviour 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-79

80 Wireless and Mobile Internet WI.3.2: TCP Loss Discrimination WI.1 Impact of untethered operation in the Internet WI.2 Mobile WI.3 TCP over wireless links WI.3.1 TCP error and congestion control WI.3.2 TCP loss discrimination WI.4 Internet applications 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-80

81 TCP Loss or Delayed Arrivals Causes Absence of expected packet or ACK arrival three distinct and unrelated causes: 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-81

82 TCP Loss or Delayed Arrivals Causes Absence of expected packet or ACK arrival three distinct and unrelated causes: 1. Congestion: packet dropped in network congestion control: queue overflow (tail drop) congestion avoidance: intentional packet drop 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-82

83 TCP Loss or Delayed Arrivals Causes Absence of expected packet or ACK arrival three distinct and unrelated causes: 1. Congestion: packet dropped in network 2. Corruption: packet lost or delivered corrupted channel error causing bit errors 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-83

84 TCP Loss or Delayed Arrivals Causes Absence of expected packet or ACK arrival three distinct and unrelated causes: 1. Congestion: packet dropped in network 2. Corruption: packet lost or delivered corrupted 3. Delay: packet arrival later than expected store-and-forward delays in disruption tolerant network long path speed-of-light delay in delay-tolerant network very long path around disruption Lecture SR and EECS April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-84

85 Loss Discrimination Proper Response to Loss Discrimination and proper response essential: congestion back off corruption retransmit delay wait or retransmit via lower delay path Lecture RS and EECS April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-85

86 Loss Discrimination Explicit Notification Discrimination and proper response essential: congestion back off corruption retransmit delay wait or retransmit via lower delay path Explicit notification ECN: explicit congestion notification ELN: explicit loss notification (due to corruption) ELN cannot be determined from ECN (& vice versa) packet that first causes congestion may then be corrupted 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-86

87 Mechanisms Explicit Loss Notification Error Control Mechanisms observation that error has occurred (detection) notification of error decision on what response to take action to correct error Taxonomy of mechanisms each mechanism may have different implementations (e.g. E2E vs. HBH) but they are frequently related ETEN: explicit transport error notification [KSE+20004] 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-87

88 Determinism ETEN Taxonomy Determinism and Granularity deterministic (take action based on specific corruptions) probabilistic (e.g. throttle source x% of the time) Granularity Control feedback Control locus Control band Control direction 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-88

89 Determinism Granularity ETEN Taxonomy Determinism and Granularity PETEN: per packet response CETEN: cumulative error rate response Control feedback Control locus Control band Control direction 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-89

90 sender ETEN Taxonomy Control Feedback n ACK N Closed loop feedback from notifier nodes {n,n} (N)ACK from end system or switch (e.g. congestion drop) sender FEC Open loop Unreliable or FEC for statistical reliability, rate control sender n N Hybrid open + closed loop FEC for statistical reliability + (N)ACKs as needed 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-90

91 sender ETEN Taxonomy Control Locus ETEN N End-to-end no changes to network infrastructure Some hop-by-hop ETEN sender n n n n N deployed as needed (e.g. optional n at wireless access links) ETEN sender N N N N N All hop-by-hop (N indicates required notifier functionality) deployment challenges: impractical for Internet as a whole 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-91

92 ETEN Taxonomy Control Band sender n ETEN N Out-of-band ETEN signalling messages may be forward or backward sender n In-band ACK/ETEN ETEN ETEN information carried by packets; options: corrupted packets not dropped but marked (violates RFC 1812) carried by subsequent packets in flow (header field or option) 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-92 N

93 sender ETEN Taxonomy Control Direction ETEN n N Backward ETEN messages returned by switches out-of-band unless inserted in reverse flow requires HBH ETEN sender n N Forward ETEN ETEN forwarded to receiver; turned back to sender may be in- or out-of band longer delay in response for interactive over high bw- -delay 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-93

94 Wireless and Mobile Internet WI.3.3: TCP Modifications for Wireless WI.1 Impact of untethered operation in the Internet WI.2 Mobile WI.3 TCP over wireless links WI.3.1 TCP error and congestion control WI.3.2 TCP loss discrimination WI.3.3 TCP modifications for wireless WI.4 Internet applications 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-94

95 TCP Modifications for Wireless Proper Response to Loss TCP Westwood TCP Peach 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-95

96 TCP Westwood based on TCP Reno Operation TCP Westwood Overview monitors ACK receipt rate at source computes congestion window and ssthresh Eliminates performance penalty from halving cwind No explicit cross-layering 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-96

97 TCP Westwood TCP Westwood Operation [WYSG2005, GNUS2013] sender side modification to TCP Reno eligible rate estimation (ERE) based on ACK reception rate calculates amount of ACKed data between ACK intervals based on number of DUPACKs and new ACKs Slow start ERE resets ssthresh for faster convergance to proper value Congestion avoidance: agile probing persistent noncongestion detection excess capacity suddenly becomes available random loss during slow start causing premature exit 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-97

98 TCP Westwood+ modification of Westwood TCP Westwood+ Operation Reduces overestimation of bandwidth in presence of ACK compression Samples bandwidth every RTT instead of every ACK results in enhanced fairness in presence of multiple flows 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-98

99 TCP Peach based on TCP Reno Sends dummy segments low priority TCP Peach Overview receive rate indicates available bandwidth Peach foils based on Justin P. Rohrer ResiliNets journal club presentation 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-99

100 Starts with TCP Peach Sudden Start 1 data segment and rwind 1 dummy segments cwind incremented for real and dummy segments cwind = rwind after 2 RTTs 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-100

101 TCP Peach Rapid Recovery Halves congestion window after loss as in Reno Transmits cwind dummy segments before loss Ignores first half of dummy ACKs cwind incremented for second half of dummy ACKs 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-101

102 Wireless and Mobile Internet WI.4: Internet Applications WI.1 Impact of untethered operation in the Internet WI.2 Mobile WI.3 TCP over wireless links WI.3.1 TCP error and congestion control WI.3.2 TCP loss discrimination WI.4 Internet applications 11 April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-102

103 Wireless and Mobile Internet Further Reading Charles E. Perkins, Mobile : Design Principles and Practices, Addison Wesley, 1998 Michael Welzel Network Congestion Control: Managing Internet Traffic, Wiley, 2005 Rajesh Krishnan, James P.G. Sterbenz, et al., Explicit Transport Error Notification (ETEN) for Error-Prone Wireless and Satellite Networks, Computer Networks, Elsevier, vol.46 iss.3, October 2004, pp April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-103

104 Wireless and Mobile Internet Acknowledgements Some material in these foils is based on the textbook Murthy and Manoj, Ad Hoc Wireless Networks: Architectures and Protocols Significant material in these foils is derived from EECS 780 and James P.G. Sterbenz and Joseph D. Touch, High-Speed Networking: A Systematic Approach to High-Bandwidth Low-Latency Communication, John Wiley, 2001 James F. Kurose and Keith F. Ross, Computer Networking: A Top-Down Approach Featuring the Internet, 4th ed, Pearson Addison Wesley, November 2011 KU EECS 882 Mobile Wireless Nets Internet MWN-WI April 2016 KU EECS 882 Mobile Wireless Nets Internet MWN-WI-104

ITTC Introduction to Communication Networks The University of Kansas EECS 563 End-to-End Transport

ITTC Introduction to Communication Networks The University of Kansas EECS 563 End-to-End Transport Introduction to Communication Networks The University of Kansas EECS 563 End-to-End Transport James P.G. Sterbenz Department of Electrical Engineering & Computer Science Information Technology & Telecommunications

More information

ITTC Communication Networks The University of Kansas EECS 780 End-to-End Transport

ITTC Communication Networks The University of Kansas EECS 780 End-to-End Transport Communication Networks The University of Kansas EECS 780 End-to-End Transport James P.G. Sterbenz Department of Electrical Engineering & Computer Science Information Technology & Telecommunications Research

More information

UNIT IV -- TRANSPORT LAYER

UNIT IV -- TRANSPORT LAYER UNIT IV -- TRANSPORT LAYER TABLE OF CONTENTS 4.1. Transport layer. 02 4.2. Reliable delivery service. 03 4.3. Congestion control. 05 4.4. Connection establishment.. 07 4.5. Flow control 09 4.6. Transmission

More information

Mobile IP and Mobile Transport Protocols

Mobile IP and Mobile Transport Protocols Mobile IP and Mobile Transport Protocols 1 IP routing Preliminaries Works on a hop-by-hop basis using a routing table 32 bits: 129.97.92.42 Address = subnet + host (Mobility No packet for you) Two parts»

More information

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking Wireless Challenges 15-441: Computer Networking Lecture 25: Wireless Networking Force us to rethink many assumptions Need to share airwaves rather than wire Don t know what hosts are involved Host may

More information

ITTC High-Performance Networking The University of Kansas EECS 881 End-to-End Transport

ITTC High-Performance Networking The University of Kansas EECS 881 End-to-End Transport High-Performance Networking The University of Kansas EECS 881 End-to-End Transport James P.G. Sterbenz Department of Electrical Engineering & Computer Science Information Technology & Telecommunications

More information

ECS-087: Mobile Computing

ECS-087: Mobile Computing ECS-087: Mobile Computing Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer Diwakar Yagyasen.1 Effect of Mobility on Protocol Stack Application: new applications and adaptations Transport:

More information

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local 1 v4 & v6 Header Comparison v6 Ver Time to Live v4 Header IHL Type of Service Identification Protocol Flags Source Address Destination Address Total Length Fragment Offset Header Checksum Ver Traffic Class

More information

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land IPv6 1 IPv4 & IPv6 Header Comparison IPv4 Header IPv6 Header Ver IHL Type of Service Total Length Ver Traffic Class Flow Label Identification Flags Fragment Offset Payload Length Next Header Hop Limit

More information

End-to-End Transport Outline

End-to-End Transport Outline KU EECS 88 High-Performance Networking End-to-End Transport High-Performance Networking The University of Kansas EECS 88 End-to-End Transport James P.G. Sterbenz Department of Electrical Engineering &

More information

Chapter 13 TRANSPORT. Mobile Computing Winter 2005 / Overview. TCP Overview. TCP slow-start. Motivation Simple analysis Various TCP mechanisms

Chapter 13 TRANSPORT. Mobile Computing Winter 2005 / Overview. TCP Overview. TCP slow-start. Motivation Simple analysis Various TCP mechanisms Overview Chapter 13 TRANSPORT Motivation Simple analysis Various TCP mechanisms Distributed Computing Group Mobile Computing Winter 2005 / 2006 Distributed Computing Group MOBILE COMPUTING R. Wattenhofer

More information

Wireless TCP Performance Issues

Wireless TCP Performance Issues Wireless TCP Performance Issues Issues, transport layer protocols Set up and maintain end-to-end connections Reliable end-to-end delivery of data Flow control Congestion control Udp? Assume TCP for the

More information

Chapter III: Transport Layer

Chapter III: Transport Layer Chapter III: Transport Layer UG3 Computer Communications & Networks (COMN) Mahesh Marina mahesh@ed.ac.uk Slides thanks to Myungjin Lee and copyright of Kurose and Ross Principles of congestion control

More information

TCP so far Computer Networking Outline. How Was TCP Able to Evolve

TCP so far Computer Networking Outline. How Was TCP Able to Evolve TCP so far 15-441 15-441 Computer Networking 15-641 Lecture 14: TCP Performance & Future Peter Steenkiste Fall 2016 www.cs.cmu.edu/~prs/15-441-f16 Reliable byte stream protocol Connection establishments

More information

TCP over wireless links

TCP over wireless links CSc 450/550 Computer Communications & Networks TCP over wireless links Jianping Pan (stand-in for Dr. Wu) 1/31/06 CSc 450/550 1 TCP over wireless links TCP a quick review on how TCP works Wireless links

More information

Impact of transmission errors on TCP performance. Outline. Random Errors

Impact of transmission errors on TCP performance. Outline. Random Errors Impact of transmission errors on TCP performance 1 Outline Impact of transmission errors on TCP performance Approaches to improve TCP performance Classification Discussion of selected approaches 2 Random

More information

Different Layers Lecture 20

Different Layers Lecture 20 Different Layers Lecture 20 10/15/2003 Jian Ren 1 The Network Layer 10/15/2003 Jian Ren 2 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every host,

More information

Computer Networks, Andrew Tannenbaum, Chapter 5.6. Computer Networking: A Top Down Approach Featuring the

Computer Networks, Andrew Tannenbaum, Chapter 5.6. Computer Networking: A Top Down Approach Featuring the Mobile IP (IPv4 and IPv6) Dr. John Keeney 3BA33 Elements of a wireless Wired infrastructure wireless hosts laptop, PDA, IP phone run applications may be stationary (nonmobile) or mobile wireless does not

More information

Outline 9.2. TCP for 2.5G/3G wireless

Outline 9.2. TCP for 2.5G/3G wireless Transport layer 9.1 Outline Motivation, TCP-mechanisms Classical approaches (Indirect TCP, Snooping TCP, Mobile TCP) PEPs in general Additional optimizations (Fast retransmit/recovery, Transmission freezing,

More information

Mobile Transport Layer

Mobile Transport Layer Mobile Transport Layer 1 Transport Layer HTTP (used by web services) typically uses TCP Reliable transport between TCP client and server required - Stream oriented, not transaction oriented - Network friendly:

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.11 Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and

More information

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading Mobile Routing 15-744: Computer Networking L-10 Ad Hoc Networks Mobile IP Ad-hoc network routing Assigned reading Performance Comparison of Multi-Hop Wireless Ad Hoc Routing Protocols A High Throughput

More information

Page 1. Review: Internet Protocol Stack. Transport Layer Services EEC173B/ECS152C. Review: TCP. Transport Layer: Connectionless Service

Page 1. Review: Internet Protocol Stack. Transport Layer Services EEC173B/ECS152C. Review: TCP. Transport Layer: Connectionless Service EEC7B/ECS5C Review: Internet Protocol Stack Review: TCP Application Telnet FTP HTTP Transport Network Link Physical bits on wire TCP LAN IP UDP Packet radio Do you remember the various mechanisms we have

More information

LECTURE 8. Mobile IP

LECTURE 8. Mobile IP 1 LECTURE 8 Mobile IP What is Mobile IP? The Internet protocol as it exists does not support mobility Mobile IP tries to address this issue by creating an anchor for a mobile host that takes care of packet

More information

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

Transmission Control Protocol. ITS 413 Internet Technologies and Applications Transmission Control Protocol ITS 413 Internet Technologies and Applications Contents Overview of TCP (Review) TCP and Congestion Control The Causes of Congestion Approaches to Congestion Control TCP Congestion

More information

CMPE 257: Wireless and Mobile Networking

CMPE 257: Wireless and Mobile Networking CMPE 257: Wireless and Mobile Networking Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 10 CMPE 257 Spring'15 1 Student Presentations Schedule May 21: Sam and Anuj May 26: Larissa

More information

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 24: Mobile and Wireless

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 24: Mobile and Wireless Wireless Challenges 15-441: Computer Networking Lecture 24: Mobile and Wireless Peter Steenkiste Fall 2010 www.cs.cmu.edu/~prs/15-441-f10 Force us to rethink many assumptions Need to share airwaves rather

More information

Overview. TCP congestion control Computer Networking. TCP modern loss recovery. TCP modeling. TCP Congestion Control AIMD

Overview. TCP congestion control Computer Networking. TCP modern loss recovery. TCP modeling. TCP Congestion Control AIMD Overview 15-441 Computer Networking Lecture 9 More TCP & Congestion Control TCP congestion control TCP modern loss recovery TCP modeling Lecture 9: 09-25-2002 2 TCP Congestion Control Changes to TCP motivated

More information

Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren

Lecture 21: Congestion Control CSE 123: Computer Networks Alex C. Snoeren Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren Lecture 21 Overview" How fast should a sending host transmit data? Not to fast, not to slow, just right Should not be faster than

More information

Mobile Communications Chapter 9: Mobile Transport Layer

Mobile Communications Chapter 9: Mobile Transport Layer Prof. Dr.-Ing Jochen H. Schiller Inst. of Computer Science Freie Universität Berlin Germany Mobile Communications Chapter 9: Mobile Transport Layer Motivation, TCP-mechanisms Classical approaches (Indirect

More information

cs/ee 143 Communication Networks

cs/ee 143 Communication Networks cs/ee 143 Communication Networks Chapter 4 Transport Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech Recap: Internet overview Some basic mechanisms n Packet switching n Addressing n Routing o

More information

Congestion Control End Hosts. CSE 561 Lecture 7, Spring David Wetherall. How fast should the sender transmit data?

Congestion Control End Hosts. CSE 561 Lecture 7, Spring David Wetherall. How fast should the sender transmit data? Congestion Control End Hosts CSE 51 Lecture 7, Spring. David Wetherall Today s question How fast should the sender transmit data? Not tooslow Not toofast Just right Should not be faster than the receiver

More information

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste Outline 15-441 Computer Networking Lecture 18 TCP Performance Peter Steenkiste Fall 2010 www.cs.cmu.edu/~prs/15-441-f10 TCP congestion avoidance TCP slow start TCP modeling TCP details 2 AIMD Distributed,

More information

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

CSE 4215/5431: Mobile Communications Winter Suprakash Datta CSE 4215/5431: Mobile Communications Winter 2013 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cse.yorku.ca/course/4215 Some slides are adapted

More information

SJTU 2018 Fall Computer Networking. Wireless Communication

SJTU 2018 Fall Computer Networking. Wireless Communication SJTU 2018 Fall Computer Networking 1 Wireless Communication Internet Protocol Stack 2 Application: supporting network applications - FTP, SMTP, HTTP Transport: data transfer between processes - TCP, UDP

More information

TRANSMISSION CONTROL PROTOCOL

TRANSMISSION CONTROL PROTOCOL COMP 635: WIRELESS & MOBILE COMMUNICATIONS TRANSMISSION CONTROL PROTOCOL Jasleen Kaur Fall 2017 1 Impact of Wireless on Protocol Layers Application layer Transport layer Network layer Data link layer Physical

More information

CIS 632 / EEC 687 Mobile Computing

CIS 632 / EEC 687 Mobile Computing CIS 632 / EEC 687 Mobile Computing TCP in Mobile Networks Prof. Chansu Yu Contents Physical layer issues Communication frequency Signal propagation Modulation and Demodulation Channel access issues Multiple

More information

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5 Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5 Acknowledgments: Lecture slides are from Computer networks course thought by Jennifer Rexford at Princeton University. When slides are obtained

More information

Mohammad Hossein Manshaei 1393

Mohammad Hossein Manshaei 1393 Mohammad Hossein Manshaei manshaei@gmail.com 1393 Mobile IP 2 Mobile Network Layer: Problems and Concerns Entities and Terminology in Mobile IP Mobile Indirect Routing Mobile IP Agent Advertisement Registration

More information

11. IP Mobility 최 양 희 서울대학교 컴퓨터공학부

11. IP Mobility 최 양 희 서울대학교 컴퓨터공학부 11. IP Mobility Introduction Terminal Mobility Person Mobility Network Mobility Internet 2002 Yanghee Choi 2 Mobile IP : Why IP addressing scheme optimized for stationary environment point of attachment

More information

Mobile IP. rek. Petr Grygárek Petr Grygarek, Advanced Computer Networks Technologies 1

Mobile IP. rek. Petr Grygárek Petr Grygarek, Advanced Computer Networks Technologies 1 Mobile IP Petr Grygárek rek 1 Basic principle Picture from IOS IP and IP Routing Configuration Guide Mobile node maintains the same IP address even while roaming in foreign networks even if it s address

More information

Module 28 Mobile IP: Discovery, Registration and Tunneling

Module 28 Mobile IP: Discovery, Registration and Tunneling Module 28 Mobile IP: Discovery, and Tunneling Learning Objectives Introduction to different phases of Mobile IP Understanding how a mobile node search the agents using Discovery process Understand how

More information

Congestion / Flow Control in TCP

Congestion / Flow Control in TCP Congestion and Flow Control in 1 Flow Control and Congestion Control Flow control Sender avoids overflow of receiver buffer Congestion control All senders avoid overflow of intermediate network buffers

More information

Mobile Communications Chapter 9: Mobile Transport Layer

Mobile Communications Chapter 9: Mobile Transport Layer Prof. Dr.-Ing Jochen H. Schiller Inst. of Computer Science Freie Universität Berlin Germany Mobile Communications Chapter 9: Mobile Transport Layer Motivation, TCP-mechanisms Classical approaches (Indirect

More information

Does current Internet Transport work over Wireless? Reviewing the status of IETF work in this area

Does current Internet Transport work over Wireless? Reviewing the status of IETF work in this area Does current Internet Transport work over Wireless? Reviewing the status of IETF work in this area Sally Floyd March 2, 2000 IAB Workshop on Wireless Internetworking 1 Observations: Transport protocols

More information

Lecture 7: Mobile IP (Part 1) Dr. Reynold Cheng

Lecture 7: Mobile IP (Part 1) Dr. Reynold Cheng Lecture 7: Mobile IP (Part 1) Dr. Reynold Cheng This lecture is based on the textbook W. Stallings, Wireless Communications and Networks, Prentice Hall, 2005, the slides (prepared by Tom Fronckowiak) and

More information

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission Fast Retransmit Problem: coarsegrain TCP timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission Packet 1 Packet 2 Packet 3 Packet 4 Packet 5 Packet 6 Sender Receiver

More information

TCP OVER AD HOC NETWORK

TCP OVER AD HOC NETWORK TCP OVER AD HOC NETWORK Special course on data communications and networks Zahed Iqbal (ziqbal@cc.hut.fi) Agenda Introduction Versions of TCP TCP in wireless network TCP in Ad Hoc network Conclusion References

More information

Congestion Control. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Congestion Control. Daniel Zappala. CS 460 Computer Networking Brigham Young University Congestion Control Daniel Zappala CS 460 Computer Networking Brigham Young University 2/25 Congestion Control how do you send as fast as possible, without overwhelming the network? challenges the fastest

More information

Chapter 12 Network Protocols

Chapter 12 Network Protocols Chapter 12 Network Protocols 1 Outline Protocol: Set of defined rules to allow communication between entities Open Systems Interconnection (OSI) Transmission Control Protocol/Internetworking Protocol (TCP/IP)

More information

Mobile IP Overview. Based on IP so any media that can support IP can also support Mobile IP

Mobile IP Overview. Based on IP so any media that can support IP can also support Mobile IP Introduction: Mobile IP Overview An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet

More information

On Inter-layer Assumptions

On Inter-layer Assumptions On Inter-layer Assumptions (A View from the Transport Area) Mark Handley ACIRI/ICSI mjh@aciri.org Ping The Internet Hourglass FTP HTTP NNTP SMTP NFS DNS Applications TCP UDP ICMP IP 802.x PPP SLIP RS232

More information

Page 1. Review: Internet Protocol Stack. Transport Layer Services. Design Issue EEC173B/ECS152C. Review: TCP

Page 1. Review: Internet Protocol Stack. Transport Layer Services. Design Issue EEC173B/ECS152C. Review: TCP EEC7B/ECS5C Review: Internet Protocol Stack Review: TCP Application Telnet FTP HTTP Transport Network Link Physical bits on wire TCP LAN IP UDP Packet radio Transport Layer Services Design Issue Underlying

More information

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented transport: TCP segment

More information

Mobile Wireless Networking Mobility and Location Management

Mobile Wireless Networking Mobility and Location Management Mobile Wireless Networking The University of Kansas EECS 882 Mobility and James P.G. Sterbenz Department of Electrical Engineering & Computer Science Information Technology & Telecommunications Research

More information

CS321: Computer Networks Congestion Control in TCP

CS321: Computer Networks Congestion Control in TCP CS321: Computer Networks Congestion Control in TCP Dr. Manas Khatua Assistant Professor Dept. of CSE IIT Jodhpur E-mail: manaskhatua@iitj.ac.in Causes and Cost of Congestion Scenario-1: Two Senders, a

More information

Fixed Internetworking Protocols and Networks. IP mobility. Rune Hylsberg Jacobsen Aarhus School of Engineering

Fixed Internetworking Protocols and Networks. IP mobility. Rune Hylsberg Jacobsen Aarhus School of Engineering Fixed Internetworking Protocols and Networks IP mobility Rune Hylsberg Jacobsen Aarhus School of Engineering rhj@iha.dk 1 2011 ITIFN Mobile computing Vision Seamless, ubiquitous network access for mobile

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Internet Networking recitation #10 TCP New Reno Vs. Reno

Internet Networking recitation #10 TCP New Reno Vs. Reno recitation #0 TCP New Reno Vs. Reno Spring Semester 200, Dept. of Computer Science, Technion 2 Introduction Packet Loss Management TCP Reno (RFC 258) can manage a loss of at most one packet from a single

More information

Mobility Management - Basics

Mobility Management - Basics Mobility Management - Basics Summer Semester 2012 Integrated Communication Systems Group Ilmenau University of Technology Content Motivation Problem and possible solutions IP-based mobility management

More information

TCP congestion control:

TCP congestion control: TCP congestion control: Probing for usable bandwidth: Ideally: transmit as fast as possible (cwnd as large as possible) without loss Increase cwnd until loss (congestion) Loss: decrease cwnd, then begin

More information

Understanding TCP Parallelization. Qiang Fu. TCP Performance Issues TCP Enhancements TCP Parallelization (research areas of interest)

Understanding TCP Parallelization. Qiang Fu. TCP Performance Issues TCP Enhancements TCP Parallelization (research areas of interest) Understanding TCP Parallelization Qiang Fu qfu@swin.edu.au Outline TCP Performance Issues TCP Enhancements TCP Parallelization (research areas of interest) Related Approaches TCP Parallelization vs. Single

More information

TRANSMISSION CONTROL PROTOCOL

TRANSMISSION CONTROL PROTOCOL COMP 635: WIRELESS NETWORKS TRANSMISSION CONTROL PROTOCOL Jasleen Kaur Fall 2015 1 Impact of Wireless on Protocol Layers Application layer Transport layer Network layer Data layer Physical layer service

More information

ECS-087: Mobile Computing

ECS-087: Mobile Computing ECS-087: Mobile Computing TCP over wireless TCP and mobility Most of the Slides borrowed from Prof. Sridhar Iyer s lecture IIT Bombay Diwakar Yagyasen 1 Effect of Mobility on Protocol Stack Application:

More information

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP CS 5520/ECE 5590NA: Network Architecture I Spring 2008 Lecture 13: UDP and TCP Most recent lectures discussed mechanisms to make better use of the IP address space, Internet control messages, and layering

More information

Lecture 7: Flow Control"

Lecture 7: Flow Control Lecture 7: Flow Control" CSE 123: Computer Networks Alex C. Snoeren No class Monday! Lecture 7 Overview" Flow control Go-back-N Sliding window 2 Stop-and-Wait Performance" Lousy performance if xmit 1 pkt

More information

CSE 123A Computer Netwrking

CSE 123A Computer Netwrking CSE 123A Computer Netwrking Winter 2005 Mobile Networking Alex Snoeren presenting in lieu of Stefan Savage Today s s issues What are implications of hosts that move? Remember routing? It doesn t work anymore

More information

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control : Computer Networks Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control TCP performance We ve seen how TCP the protocol works Sequencing, receive window, connection setup and teardown And

More information

CS268: Beyond TCP Congestion Control

CS268: Beyond TCP Congestion Control TCP Problems CS68: Beyond TCP Congestion Control Ion Stoica February 9, 004 When TCP congestion control was originally designed in 1988: - Key applications: FTP, E-mail - Maximum link bandwidth: 10Mb/s

More information

Mid Term Exam Results

Mid Term Exam Results Mid Term Exam Results v Grade Count Percentage v 20-29 1 2.38% v 40-49 2 4.76% v 50-59 5 11.90% v 60-69 18 42.86% v 70-80 16 38.10% Please hand the paper back to me after this class since we have to update

More information

Mobile IP. Mobile IP 1

Mobile IP. Mobile IP 1 Mobile IP Mobile IP 1 Motivation for Mobile IP Routing based on IP destination address, network prefix (e.g. 129.13.42) determines physical subnet change of physical subnet implies change of IP address

More information

Advanced Computer Networks. Wireless TCP

Advanced Computer Networks. Wireless TCP Advanced Computer Networks 263 3501 00 Wireless TCP Patrick Stuedi Spring Semester 2014 1 Oriana Riva, Department of Computer Science ETH Zürich Outline Last week: Today: Cellular Networks Mobile IP Wireless

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer Part c Congestion Control Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Transport Layer 3-1 Chapter 3 outline 3.1 transport-layer

More information

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

CSE 4215/5431: Mobile Communications Winter Suprakash Datta CSE 4215/5431: Mobile Communications Winter 2013 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cse.yorku.ca/course/4215 Some slides are adapted

More information

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model CS5984 Mobile Computing Outline Host Mobility problem and solutions IETF Mobile IPv4 Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Mobile IPv4 1 2 Host Mobility Problem 1/2 Host Mobility

More information

Mobile IP. Mobile Computing. Mobility versus Portability

Mobile IP. Mobile Computing. Mobility versus Portability Mobile IP Mobile Computing Introduction Amount of mobile/nomadic computing expected to increase dramatically in near future. By looking at the great acceptance of mobile telephony, one can foresee a similar

More information

TCP reliable data transfer. Chapter 3 outline. TCP sender events: TCP sender (simplified) TCP: retransmission scenarios. TCP: retransmission scenarios

TCP reliable data transfer. Chapter 3 outline. TCP sender events: TCP sender (simplified) TCP: retransmission scenarios. TCP: retransmission scenarios Chapter 3 outline TCP reliable 3.2 principles of reliable 3.3 connection-oriented flow 3.4 principles of congestion 3.5 TCP congestion TCP creates rdt service on top of IP s unreliable service pipelined

More information

Chapter 09 Network Protocols

Chapter 09 Network Protocols Chapter 09 Network Protocols Copyright 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Outline Protocol: Set of defined rules to allow communication between entities Open Systems

More information

Outline. CS6504 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Dr. Ayman Abdel-Hamid. Mobile IPv4.

Outline. CS6504 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Dr. Ayman Abdel-Hamid. Mobile IPv4. CS6504 Mobile Computing Outline Host Mobility problem and solutions IETF Mobile IPv4 Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Mobile IPv4 1 2 Host Mobility Problem 1/2 Host Mobility

More information

Computer Communication Networks Midterm Review

Computer Communication Networks Midterm Review Computer Communication Networks Midterm Review ICEN/ICSI 416 Fall 2018 Prof. Aveek Dutta 1 Instructions The exam is closed book, notes, computers, phones. You can use calculator, but not one from your

More information

Last time. BGP policy. Broadcast / multicast routing. Link virtualization. Spanning trees. Reverse path forwarding, pruning Tunneling

Last time. BGP policy. Broadcast / multicast routing. Link virtualization. Spanning trees. Reverse path forwarding, pruning Tunneling Last time BGP policy Broadcast / multicast routing Spanning trees Source-based, group-shared, center-based Reverse path forwarding, pruning Tunneling Link virtualization Whole networks can act as an Internet

More information

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3 TCP over Wireless PROF. MICHAEL TSAI 2016/6/3 2 TCP Congestion Control (TCP Tahoe) Only ACK correctly received packets Congestion Window Size: Maximum number of bytes that can be sent without receiving

More information

CNT 6885 Network Review on Transport Layer

CNT 6885 Network Review on Transport Layer CNT 6885 Network Review on Transport Layer Jonathan Kavalan, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida User Datagram Protocol [RFC 768] no frills,

More information

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage CSE 123b CSE 123b Communications Software Spring 2003 Lecture 10: Mobile Networking Stefan Savage Quick announcement My office hours tomorrow are moved to 12pm May 6, 2003 CSE 123b -- Lecture 10 Mobile

More information

Quick announcement. CSE 123b Communications Software. Last class. Today s issues. The Mobility Problem. Problems. Spring 2003

Quick announcement. CSE 123b Communications Software. Last class. Today s issues. The Mobility Problem. Problems. Spring 2003 CSE 123b Communications Software Quick announcement My office hours tomorrow are moved to 12pm Spring 2003 Lecture 10: Mobile Networking Stefan Savage May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 2 Last

More information

TCP Congestion Control

TCP Congestion Control TCP Congestion Control What is Congestion The number of packets transmitted on the network is greater than the capacity of the network Causes router buffers (finite size) to fill up packets start getting

More information

TCP Congestion Control

TCP Congestion Control What is Congestion TCP Congestion Control The number of packets transmitted on the network is greater than the capacity of the network Causes router buffers (finite size) to fill up packets start getting

More information

A Survey of Recent Developments of TCP. Sally Floyd ACIRI (AT&T Center for Internet Research at ICSI) October 17, 2001

A Survey of Recent Developments of TCP. Sally Floyd ACIRI (AT&T Center for Internet Research at ICSI) October 17, 2001 A Survey of Recent Developments of TCP Sally Floyd ACIRI (AT&T Center for Internet Research at ICSI) October 17, 2001 IEEE Annual Computer Communications Workshop 1 An overview of this session: This talk:

More information

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach Chapter 7 Wireless and Mobile Networks Computer Networking: A Top Down Approach 7 th edition Jim Kurose, Keith Ross Pearson/Addison Wesley April 2016 7-1 Background: # wireless (mobile) phone subscribers

More information

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018 CMSC 417 Computer Networks Prof. Ashok K Agrawala 2018 Ashok Agrawala October 30, 2018 Message, Segment, Packet, and Frame host host HTTP HTTP message HTTP TCP TCP segment TCP router router IP IP packet

More information

Explicit Transport Error Notification (ETEN) for Error-Prone Wireless and Satellite Networks

Explicit Transport Error Notification (ETEN) for Error-Prone Wireless and Satellite Networks University of Massachusetts Amherst ScholarWorks@UMass Amherst Computer Science Department Faculty Publication Series Computer Science 2002 Explicit Transport Error Notification (ETEN) for Error-Prone

More information

Application. Transport. Network. Link. Physical

Application. Transport. Network. Link. Physical Transport Layer ELEC1200 Principles behind transport layer services Multiplexing and demultiplexing UDP TCP Reliable Data Transfer TCP Congestion Control TCP Fairness *The slides are adapted from ppt slides

More information

Lecture 14: Congestion Control"

Lecture 14: Congestion Control Lecture 14: Congestion Control" CSE 222A: Computer Communication Networks George Porter Thanks: Amin Vahdat, Dina Katabi and Alex C. Snoeren Lecture 14 Overview" TCP congestion control review Dukkipati

More information

Mobile Communications Mobility Support in Network Layer

Mobile Communications Mobility Support in Network Layer Motivation Mobility support needed to be able to use mobile devices in the Mobile devices need IP address for their communication Applications would like to communicate while being on the move Mobile Communications

More information

Congestion Control. Principles of Congestion Control. Network-assisted Congestion Control: ATM. Congestion Control. Computer Networks 10/21/2009

Congestion Control. Principles of Congestion Control. Network-assisted Congestion Control: ATM. Congestion Control. Computer Networks 10/21/2009 Congestion Control Kai Shen Principles of Congestion Control Congestion: informally: too many sources sending too much data too fast for the network to handle results of congestion: long delays (e.g. queueing

More information

Recap. More TCP. Congestion avoidance. TCP timers. TCP lifeline. Application Presentation Session Transport Network Data Link Physical

Recap. More TCP. Congestion avoidance. TCP timers. TCP lifeline. Application Presentation Session Transport Network Data Link Physical Recap ½ congestion window ½ congestion window More TCP Congestion avoidance TCP timers TCP lifeline Application Presentation Session Transport Network Data Link Physical 1 Congestion Control vs Avoidance

More information

Midterm Review. EECS 489 Computer Networks Z. Morley Mao Monday Feb 19, 2007

Midterm Review. EECS 489 Computer Networks  Z. Morley Mao Monday Feb 19, 2007 Midterm Review EECS 489 Computer Networks http://www.eecs.umich.edu/courses/eecs489/w07 Z. Morley Mao Monday Feb 19, 2007 Acknowledgement: Some slides taken from Kurose&Ross and Katz&Stoica 1 Adminstrivia

More information

Transport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections

Transport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections Application / Transport Interface Application requests service from transport layer Transport Layer Application Layer Prepare Transport service requirements Data for transport Local endpoint node address

More information

Lecture 3: The Transport Layer: UDP and TCP

Lecture 3: The Transport Layer: UDP and TCP Lecture 3: The Transport Layer: UDP and TCP Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4395 3-1 The Transport Layer Provides efficient and robust end-to-end

More information

Communication Networks

Communication Networks Communication Networks Spring 2018 Laurent Vanbever nsg.ee.ethz.ch ETH Zürich (D-ITET) April 30 2018 Materials inspired from Scott Shenker & Jennifer Rexford Last week on Communication Networks We started

More information