Transparent TCP Connection Failover 2003 IEEE Dependable Systems and Networks UC Department of Electrical and Computer Engineering R. R. Koch, S. Hortikar,

Slides:



Advertisements
Similar presentations
Intermediate TCP/IP TCP Operation.
Advertisements

CISCO NETWORKING ACADEMY PROGRAM (CNAP)
Fundamentals of Computer Networks ECE 478/578 Lecture #20: Transmission Control Protocol Instructor: Loukas Lazos Dept of Electrical and Computer Engineering.
Chapter 7 – Transport Layer Protocols
Page: 1 Director 1.0 TECHNION Department of Computer Science The Computer Communication Lab (236340) Summer 2002 Submitted by: David Schwartz Idan Zak.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 10 Intermediate TCP/IP.
source router Destination IP packet IP packet fragments Reassembly Required Fragments Created.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
CSCE 515: Computer Network Programming TCP Details Wenyuan Xu Department of Computer Science and Engineering.
Design and Implementation of a Server Director Project for the LCCN Lab at the Technion.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
TCP connection my Computertelnet client web server remote computer 1 character per transmission * Telnet uses TCP connection * but Nagle's algorithm modifies.
Communication Protocols III Tenth Meeting. Connections in TCP A wants to send to B. What is the packet next move? A travels through hub and bridge to.
Transport Layer Flow. Socket Connections UDP Segment Structure.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
COMPUTER NETWORKS.
Network Management Concepts and Practice Author: J. Richard Burke Presentation by Shu-Ping Lin.
Process-to-Process Delivery:
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Transport Layer Issue in Wireless Ad Hoc and Sensor Network
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 ISP Services Working at a Small-to-Medium Business or ISP – Chapter 7.
1 CMPT 471 Networking II DHCP Failover and multiple servers © Janice Regan,
1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.
1 Version 3.0 Module 11 TCP Application and Transport.
Lecture 6 Overview. TCP: Transmission Control Protocol TCP is an alternative transport layer protocol supported by TCP/IP. TCP provides: – Connection-oriented.
Link Layer 5-1 Link layer, LAN s: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs  addressing,
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
Transport Layer Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
Section 5: The Transport Layer. 5.2 CS Computer Networks John Mc Donald, Dept. of Computer Science, NUI Maynooth. Introduction In the previous section.
Routers and Routing Basics CCNA 2 Chapter 10.
Transport Layer: TCP and UDP. Overview of TCP/IP protocols Comparing TCP and UDP TCP connection: establishment, data transfer, and termination Allocation.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 9 Intermediate TCP/IP/ Access Control Lists (ACLs)
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Chapter 2 Applications and Layered Architectures Sockets.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
Interfaces and Services Each layer provides a service to the layer above it. A service is a set of primitive operations. Under UNIX, primitives are implemented.
Networking Basics CCNA 1 Chapter 11.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
Network and the internet Part eight Introduction to computer, 2nd semester, 2009/2010 Mr.Nael Aburas Faculty of Information.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
Connection Establishment and Termination. Tcpdump tcpdump is a common packet analyzer that runs under the command line. It allows the user to intercept.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 3. How TCP/IP Works.
2005/12/14 1 Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross-Layer Information Awareness Xin Yu Department of Computer Science.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Chapter 5 Network and Transport Layers
Chapter 5 Network and Transport Layers
Pertemuan 25 TCP/IP Transport Layer
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
Key concepts covered in Midterm III
Remote Procedure Call (RPC)
CS4470 Computer Networking Protocols
Lecture 4 Communication Network Protocols
Chapter 15 – Part 2 Networks The Internal Operating System
COMPUTER NETWORKS CS610 Lecture-37 Hammad Khalid Khan.
46 to 1500 bytes TYPE CODE CHECKSUM IDENTIFIER SEQUENCE NUMBER OPTIONAL DATA ICMP Echo message.
Chapter 5 TCP Control Flow
Computer Networks Protocols
Presentation transcript:

Transparent TCP Connection Failover 2003 IEEE Dependable Systems and Networks UC Department of Electrical and Computer Engineering R. R. Koch, S. Hortikar, L. E. Moser, P. M. Melliar-Smith

Outline Introduction Structure Loss of messages Failure of servers Connections Measurements Conclusion

Introduction The failover is achieved by only modifying the server’s TCP/IP stack. One new sublayer “Bridge” is inserted between TCP layer and IP layer. TCP Bridge IP PrimarySecondary Client router TCP Bridge IP

Structure Requirements of connection failover : Secondary server must have a copy of all TCP segments that : Client  Primary, acknowledged Primary  Client, not acknowledged Sequence numbers must be synchronized. Get offset of sequence numbers setting by Primary and Secondary servers.  Offset = Pseq – Sseq

TCP IP P S Client router TCP IP Promiscuous mode Dest. P->S Dest. C->P C P output queue S output queue Application P’s bridge sends out data only when it receives those matching data from S.

Loss of messages “C  (P,S)” or “P  C”, segment m with Ack (k) loss : Sends segment k immediately. S  P, segment m loss Retransmission of S is received by P’s bridge first. Send it immediately. (P send m twice) Retransmission of P is received by P’s bridge first. Discard the copy of P’s retransmission, waiting until receiving S’s retransmission.

Failure of servers Primary server failed: Tell the secondary server bridge to stop sending TCP segments. Secondary server : Disable Promiscuous receive mode. Disable Address translation. Take over the IP address of Primary server.

Secondary server failed : Primary server do: Remove all data from the primary server’s queue, place them into new segment to be sent. Primary’s Bridge routes all incoming TCP segment directly to TCP layer. Continue to synchronize segment numbers.

Connections Start connections Three-way handshake Connection termination Four-way handshake The primary’s bridge remains active as long as the connection is not fully closed.

Measurements Server : FreeBSD 4.4 lite kernel 566MHz PIII Celeron PC Client Mandrake 7.2 Linux 1GHz PIII PC