Experiential Learning Workshop on Transport & IP Routing

Size: px
Start display at page:

Download "Experiential Learning Workshop on Transport & IP Routing"

Transcription

1 Experiential Learning Workshop on Transport & IP Routing July 28, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in

2 Resources Learning.html Articles in ACCS Journal Source code and examples for articles Slides for this talks Example web pages Example programs Computer Networks: A Top Down Approach - Kurose, Ross!2

3 Day 2: Transport Layer & IP Routing Overview: Transport Layer TCP Streaming, Reliability and UDP Msg Boundary Handson-1: Transport layer Basics of IP routing Overlapping subnets, Longest prefix match Handson-2: Understanding IP Routing ICMP errors ICMP Redirect, PMTU discovery Handson-3: Experiment ICMP error Understanding ARP, Proxy ARP, Gratuitous ARP Handson-4: working with ARP Summary!3

4 Day 3: Basics of Web Security Overview: HTTPS protocol Server certificate and server authentication Handson-1: Deploying a SSL certificate Mixed content and browser warnings Locks icons and HTTP Status Handson-2: Creating website with mixed content MITM attack and ARP spoofing MITM with browser and information stealing Handson-3: Implementing MITM with arpspoofing Understanding HSTS, CSP Handson-4: Implementing CSP and HSTS Summary!4

5 Internet transport-layer protocols reliable, in-order delivery (TCP) congestion control flow control connection setup unreliable, unordered delivery: UDP no-frills extension of besteffort IP services not available: delay guarantees bandwidth guarantees application transport network data link physical network data link physical network data link physical logical end-end transport 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 Source: Kurose, Ross: Computer Networking, A Top Down Approach!5

6 Port Numbers IANA ranges for port numbers Well known ports: 1 to 1023 Assigned and controlled by IANA Reserved ports: 1024 to Only registered with IANA Not assigned or controlled by IANA Dynamic ports: to Can be used by any process Also used as ephemeral ports!6

7 Transport layer protocol vhow would you design it vwhat would you like to achieve At simplest level Multiplex/de-multiplex At advanced level Reliable delivery i.e. Data integrity Include error detection and retransmissions Sequential delivery Would need buffer Message boundaries Security!7

8 Transport Layer Protocol Characteristics Connection less May arrive out of order In order delivery requires pkts to be numbered. No acknowledgement, Packets may be lost No prior handshake Connection oriented Setup, data transfer and teardown phase Provides reliability, ordered delivery Handles error control in a better way *!8

9 Transport Layer Reliability Support Reliability Needs error and flow control, loss detection Compels slower service Unreliable protocol No extra overheads Reliability at data link layer Provides error and flow control Why do we need it at Transport layer when Link layer provides the same *!9

10 UDP Design Requirement How to design a simple transport layer? Just provide transport on top of IP Multiplexing and demultiplexing Little bit of error checking No handshake Rest all has to be managed by application Application practically talks to IP DNS uses UDP What happens when query/response is lost? *!10

11 UDP: segment header source port # dest port # length 32 bits application data (payload) checksum UDP segment format length, in bytes of UDP segment, including header includes pseudo header no connection establishment (which can add delay) simple: no connection state at sender, receiver small header size no congestion control: UDP can blast away as fast as desired Source: Kurose, Ross: Computer Networking, A Top Down Approach!11

12 Pseudo header for checksum source address destination address zero protocol UDP length Source Destination Port Port Length Checksum data octets Src: RFC 768 Pseudo Headers Actual Headers!12

13 Internet checksum: example RFC 1071 Consider 3 words x x x8F0C x14AC1 Wrapping around the overflow bit makes it x4AC2 1 s complement will be xB53D!13

14 Data with Same Checksum Adding 0xFFFF to checksum results in same value In UDP checksum computation length is used twice Once in UDP header, once in psuedo headers Consider the data addition that adds up to 0xFFFF First thought: use 0x5555 (i.e. UU ) three times This increases length by 6, (which is counted twice) Thus addition of 6 bytes should add to 0xFFF3 Add 0xUQUQUQ (0x ) Yields same checksum Any other combination?!14

15 Data with Same Checksum Given the data text ABCDEF, How it can be changed to use same checksum Swapping two bytes? e.g. CDABEF, or EFCDAB, or ABEFCD etc. Modifying the data without swapping BCBCEF? AAAAIL?!15

16 TCP Characteristics * point-to-point: One sender, one receiver reliable, in-order byte steam: No message boundaries pipelined: TCP congestion and flow control set window size full duplex data: Bi-directional data flow in same connection MSS: maximum segment size, determined from link/ frame size connection-oriented: Handshaking (exchange of control msgs) inits sender, receiver state before data exchange flow controlled: Sender will not overwhelm receiver!16

17 Connection-oriented demux Transport layer socket identified by 4(or 5)- tuple: source IP address source port number dest IP address dest port number (Protocol (TCP)) demux: receiver uses all four (or five) values to direct segment to appropriate socket v server host may support many simultaneous TCP sockets: each socket identified by its own 4-tuple v web servers have different sockets for each connecting client non-persistent HTTP will have different socket for each request!17

18 TCP 3-Way Handshake client state server state LISTEN SYNSENT choose init seq num, x send TCP SYN msg SYNbit=1, Seq=x choose init seq num, y send TCP SYNACK msg, acking SYN LISTEN SYN RCVD SYNbit=1, Seq=y ACKbit=1; ACKnum=x+1 ESTAB received SYNACK(x) indicates server is live; send ACK for SYNACK; this segment may contain client-to-server data ACKbit=1, ACKnum=y+1 received ACK(y) indicates client is live ESTAB Source: Kurose, Ross: Computer Networking, A Top Down Approach!18

19 TCP Timeouts On timer expiration Retransmits the segment that is not yet acked Sets the TimeoutInterval double of previous value Example: First time out 0.75s 2nd/3rd/ timeout will be 1.5s,3.0s, On receipt of Ack, it is computed again Provides a limited form of congestion control *!19

20 TCP segment structure URG: urgent data (generally not used) ACK: ACK # valid PSH: push data now (generally not used) RST, SYN, FIN: connection estab (setup, teardown commands) Internet checksum (as in UDP) head len 32 bits source port # dest port # sequence number acknowledgement number not used checksum U A P R S F application data (variable length) receive window Urg data pointer options (variable length) counting by bytes of data (not segments!) # bytes rcvr willing to accept Source: Kurose, Ross: Computer Networking, A Top Down Approach!20

21 Hands-On 1a: UDP Checksum Between two machines communicate UDP packets using nc (-u option). Send data content as below and compute the checksum using the IP Address and port number used and verify it with checksum value in wireshark capture. ABCDE and ABCDEUQUQUQ Are the two checksum same? Why or why not? What other characters can you attach to ABCDE to have the same checksum value!21

22 Hands-On 1b: UDP Msg Boundary Data Transfer Clients sends data (100 bytes) every 2s (10 times) AA.. (1 st pkt), BB..(2 nd pkt),, JJ..(10 th pkt) Server reads 40 bytes at a time What would server receive and display? S1 S2!22

23 Hands-On 1c: UDP Packet Loss Data Transfer Clients sends data (100 bytes) every 2s (10 times) AA.. (1 st pkt), BB..(2 nd pkt),, JJ..(10 th pkt) Break the link between switch at 7th sec and restore after 12 sec Server reads full 100 bytes. What would server receive and display? S1 S2!23

24 Hands-On 1d: TCP Streaming Data Transfer Clients sends data (100 bytes) every 2s (10 times) AA.. (1 st pkt), BB..(2 nd pkt),, JJ..(10 th pkt) Server reads 30 bytes at a time What would server display S1 S2!24

25 Hands-On 1e:TCP Recovery Data Transfer Clients sends data (100 bytes) every 2s (10 times) AA.. (1 st pkt), BB..(2 nd pkt),, JJ..(10 th pkt) Break the link between switch at 7 th sec and restore after 12 th sec Server reads 30 bytes at a time What would server receive: S1 S2!25

26 Hands-On 1f:TCP Timeouts TCP timeout study T0: break the link between S1 and S2 Connect client to server How many SYN packets are transmitted What is the time difference between SYN pkts When does client give up Repeat the experiment, but with restoring the link after 1 minute. S1 S2!26

27 Hands-On 1g:TCP Recovery & Streaming Data Transfer Clients sends data (100 bytes) every 2s (10 times) AA.. (1 st pkt), BB..(2 nd pkt),, JJ..(10 th pkt) Break the link between switch at 7 th sec and restore after 12 th sec Server reads 30 bytes at a time Study the timeouts of retransmission Analyze the segments on retransmission Do multiple segments combine in a single transmit What happens if combination is more than MTU?!27

28 Day 2: Transport Layer & IP Routing Overview: Transport Layer TCP Streaming, Reliability and UDP Msg Boundary Handson-1: Transport layer Basics of IP routing Overlapping subnets, Longest prefix match Handson-2: Understanding IP Routing ICMP errors ICMP Redirect, PMTU discovery Handson-3: Experiment ICMP error Understanding ARP, Proxy ARP, Gratuitous ARP Handson-4: working with ARP Summary!28

29 Life of Packet in Internet DNS Record: -> Q: User at host A types ping -c1 What is the packet flow?!29

30 IP datagram format IP protocol version number header length (bytes) type of data max number remaining hops (decremented at each router) ver head. len 16-bit identifier time to live type of service upper layer 32 bits flgs length 32 bit source IP address fragment offset header checksum total datagram length (bytes) for fragmentation/ reassembly upper layer protocol to deliver payload to how much overhead? 20 bytes of TCP 20 bytes of IP = 40 bytes + app layer overhead 32 bit destination IP address options (if any) data (variable length, typically a TCP or UDP segment) e.g. timestamp, record route taken, specify list of routers to visit. Source: Kurose, Ross: Computer Networking, A Top Down Approach!30

31 Simple Routing!31

32 Multi Network Routing!32

33 TTL Expiry Send a ping (ICMP) pkt with TTL of 1 on Ha ping -c1 -t1 10.x.3.1 Send a ping (ICMP) Pkt with TTL of 2 on Ha ping -c1 -t2 10.x.3.1 Send a ping (ICMP) Pkt with TTL of 3 on Ha ping -c1 -t3 10.x.3.1 This should succeed.!33

34 Handson-3a: Basic Routing Ha: /24 Hc: / Router Hb-e1: /24 Hb-e2: /24 Enable routing on Hb sudo sysctl -w net.ipv4.ip_forward=1 Define routing of /24 on Ha Define routing of /24 on Hc Ping Hc from Ha Note down the ARP table of Ha and Hc. It should show MAC addresses of Hb!34

35 Handson-3b: Multi N/W Routing Enable routing on R1 and R2 sudo sysctl -w net.ipv4.ip_forward=1 Define routing of /24 on Ha Define routing of /24 on Hc Ping Hc from Ha Note down the ARP table of Ha and Hc. It should show MAC addresses of Hb!35

36 Day 2: Transport Layer & IP Routing Overview: Transport Layer TCP Streaming, Reliability and UDP Msg Boundary Handson-1: Transport layer Basics of IP routing Overlapping subnets, Longest prefix match Handson-2: Understanding IP Routing ICMP errors ICMP Redirect, PMTU discovery Handson-3: Experiment ICMP error Understanding ARP, Proxy ARP, Gratuitous ARP Handson-4: working with ARP Summary!36

37 IP fragmentation, reassembly network links have MTU (max.transfer size) - largest possible link-level frame different link types, different MTUs large IP datagram divided ( fragmented ) within net one datagram becomes several datagrams reassembled only at final destination IP header bits used to identify, order related fragments reassembly fragmentation: in: one large datagram out: 3 smaller datagrams Source: Kurose, Ross: Computer Networking, A Top Down Approach!37

38 IP fragmentation, reassembly example: 4000 byte datagram MTU = 1500 bytes length =4000 ID =x fragflag =0 one large datagram becomes several smaller datagrams offset = bytes in data field length =1500 ID =x fragflag =1 offset =0 offset = 1480/8 length =1500 ID =x fragflag =1 offset =185 length =1040 ID =x fragflag =0 offset =370 Source: Kurose, Ross: Computer Networking, A Top Down Approach!38

39 Example : Re-fragmentation Re-fragmentation? Src: Forouzan - Data Communication and Networking!39

40 Example : Re-fragmentation Re-fragmentation Src: Forouzan - Data Communication and Networking!40

41 IP fragmentation, reassembly Questions A pkt has arrived with an M bit of 0. Is this the first, last of middle segment? Can we say if pkt was fragmented? A pkt has arrived with an M bit of 1. Is this the first, last of middle segment? Can we say if pkt was fragmented? A pkt has arrived with an M bit of 1 and offset value 0. Is this the first, last of middle segment? Can we say if pkt was fragmented? A pkt has arrived with offset value 100, and HLEN value of 5, value of total length field is 100. What are the numbers of the first byte and last byte?!41

42 ICMP Redirect Src: Forouzan - Computer Networking!42

43 Path MTU Discovery It is a mechanism It is not a protocol Mechanism Intermediate router informs the sender error : destination not reachable code : Fragmentation required!43

44 PMTU Discovery Change MTU of link from R1 to R2 Change MTU of link from R2 to Hb. Ping Hb from Ha.!44

45 ICMP: internet control message protocol used by hosts & routers to communicate networklevel information error reporting: unreachable host, network, port, protocol echo request/reply (used by ping) network-layer above IP: ICMP msgs carried in IP datagrams ICMP message: type, code plus first 8 bytes of IP datagram causing error Source: Kurose, Ross: Computer Networking, A Top Down Approach Query Messages: Type Code description 0/8 0 Echo reply/request (ping) 13/14 0 Timestamp request/reply 10/9 0 Router solicitation/advt Error Reporting Messages 3 0 dest. network unreachable 3 1 dest host unreachable 3 2 dest protocol unreachable 3 3 dest port unreachable 3 6 dest network unknown 3 7 dest host unknown 4 0 source quench (congestion control - not used) 5 0 Redirect 11 0 TTL expired 12 0 bad IP header!45

46 ICMP Messages Few points to note No ICMP error msg will be generated for Response to datagram carrying an ICMP error message Fragmented datagram that is not the first fragment Datagram having multicast address Datagram having special address e.g , or !46

47 Handson-3: ICMP Redirect Ha: 10.x.1.1/ Switch Hc: 10.x.1.201/24 lo:10.x.3.201/24 Hb:10.x.1.101/24 lo:10.x.2.101/24 On Ha sudo ip route add 10.x.2.0/24 via 10.x sudo ip route add 10.x.3.0/24 via 10.x On Hb sudo ip route add 10.x.3.0/24 via 10.x On Hc sudo ip route add 10.x.3.0/24 via 10.x.1.101!47

48 Handson-3: PMTU Discovery Ha: 10.x.1.1/24 Hc: 10.x.3.201/ Router Hb-e1:10.x.1.101/24 Hb-e2:10.x.3.1/24 On Hb sudo ip link set dev eth2 mtu 1000 sudo sysctl -w net.ipv4.ip_forward=1 On Ha ping -c 2 s p !48

49 Handson-3b: ICMP Redirect Ha: 10.x.1.1/ Switch Hc: 10.x.1.201/24 lo:10.x.3.201/24 Hb:10.x.1.101/24 lo:10.x.2.101/24 On Ha sudo ip route add 10.x.2.0/24 via 10.x sudo ip route add 10.x.3.0/24 via 10.x On Hb sudo ip route add 10.x.3.0/24 via 10.x On Hc sudo ip route add 10.x.3.0/24 via 10.x.1.101!49

50 Handson-3c: IP Fragmentation Ha: 10.x.1.1/24 Hc: 10.x.3.201/ Router Router Hb-e1:10.x.1.101/24 Hb-e2:10.x.3.1/24 On Hb sudo ip link set dev eth2 mtu 1000 sudo sysctl -w net.ipv4.ip_forward=1 On Ha./udp_client -b s p c 2!50

51 Handson-3d: Longest Prefix LAN: eno1 eno1 Hb eno1 Router Router USB Routing table of Hb USB 10.x.1.65/24 10.x.1.34/27 10.x.1.129/26!51

52 Day 2: Transport Layer & IP Routing Overview: Transport Layer TCP Streaming, Reliability and UDP Msg Boundary Handson-1: Transport layer Basics of IP routing Overlapping subnets, Longest prefix match Handson-2: Understanding IP Routing ICMP errors ICMP Redirect, PMTU discovery Handson-3: Experiment ICMP error Understanding ARP, Proxy ARP, Gratuitous ARP Handson-4: working with ARP Summary!52

53 ARP - Address Resolution Protocol Packet delivery to a host requires two addresses Logical address - IP Address Physical address - MAC address Need to find mapping from logical to physical ARP is used - RFC 826 Src: Forouzan - Computer Networking!53

54 ARP - 4 cases MAC MAC Src: Forouzan - Computer Networking!54

55 ARP ARP Request and Reply ARP Request is broadcast ARP Reply is Unicast Other forms of ARP Proxy ARP (RFC 1027) Reverse ARP (RFC 903) Gratuitous ARP!55

56 Proxy ARP Router (Proxy ARP Server) replied to all requests Used when Splitting a network w/o changing hosts netmask Mobile IP Src: Forouzan - Computer Networking!56

57 Reverse ARP Reverse ARP (RARP) : RFC 903 Used for diskless stations Organization does not have enough IP Address Target as MAC Bcast does not cross the router Needs one RARP server for each subnet BOOTP Improvement over RARP Has a relay agent to forward across network Static mapping of MAC to IP Manageability issues DHCP - replaces BOOTP!57

58 Gratuitous ARP Ref: Gratuitous ARP Request Both src and dstn IP is set to that of m/c Dstn MAC is broadcast i.e. ff:ff:ff:ff:ff:ff Ordinarily, no reply will occur normally if a m/c exists, it may respond Gratuitous ARP Reply (for HA, LB, Spoofing) A reply to which no request has occurred!58

59 Gratuitous ARP Why Gratuitous ARP Help detect IP conflicts if a m/c receives G-ARP req which is its own, implies IP conflict Helps in updating other m/cs ARP tables Used in clustering solutions, when IP is moved Helps inform the switch to update its port table Each time an i/f comes up (after down), sends G-ARP!59

60 Handson-4a: ARP Understand ARP working. Know current ARP working arp -an ping H x (where H x is not in ARP table) but live See the ARP table to have Hx entry ping H y (where H y is not live) What does ARP table shows!60

61 Handson-4b: ARP Create state ARP entry for H z not in ARP table sudo arp -s <IP Addr> <MAC Addr> ping H z No ARP Request should be transmitted. ping -b -c5 <Broadcast address>!61

62 Handson-4c: Gratuituos ARP Use arping to issue gratuituous ARP On Ha, assign IP of Hc sudo ip addr del /24 dev eth0 sudo ip addr add /24 dev eth0 sudo arping -A -I eth Analyze ARP table of Hb!62

63 Handson-4d: Proxy ARP Ha: /22 Hc: / Router Hb-e1: /24 Hb-e2: /24 Enable proxy ARP, and routing on Hb sudo sysctl -w net.ipv4.conf.all.proxy_arp=1 sudo sysctl -w net.ipv4.ip_forward=1 Ping Hc from Ha Note down the ARP table of Ha and Hc. It should show MAC addresses of Hb!63

64 Day 2: Transport Layer & IP Routing Overview: Transport Layer TCP Streaming, Reliability and UDP Msg Boundary Handson-1: Transport layer Basics of IP routing Overlapping subnets, Longest prefix match Handson-2: Understanding IP Routing ICMP errors ICMP Redirect, PMTU discovery Handson-3: Experiment ICMP error Understanding ARP, Proxy ARP, Gratuitous ARP Handson-4: working with ARP Summary!64

65 Summary Transport Layer Multiplexing UDP Message boundary TCP Streaming TCP Reliability: timeouts and retransmits ICMP errors: Redirect, TTL expiry ARP, Gratuituous ARP IP routing, Longest prefix match!65

66 Thank You!66

Experiential Learning Workshop on Basics of Transport/Network Layer

Experiential Learning Workshop on Basics of Transport/Network Layer Experiential Learning Workshop on Basics of Transport/Network Layer July 05, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in Resources & Acknowledgements Resources https://rprustagi.com/elnt/experiential-

More information

Experiential Learning Workshop on Basics of Network Layer

Experiential Learning Workshop on Basics of Network Layer Experiential Learning Workshop on Basics of Network Layer July 03, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in Resources & Acknowledgements Resources https://rprustagi.com/elnt/experiential-

More information

NT1210 Introduction to Networking. Unit 10

NT1210 Introduction to Networking. Unit 10 NT1210 Introduction to Networking Unit 10 Chapter 10, TCP/IP Transport Objectives Identify the major needs and stakeholders for computer networks and network applications. Compare and contrast the OSI

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

10 minutes survey (anonymous)

10 minutes survey (anonymous) 10 minutes survey (anonymous) v Comments/Suggestions to my lecture/lab/ homework/exam v If you like this course, which part do you like? v If you don t like it, which part do you not like? Thanks! Transport

More information

CS Lecture 1 Review of Basic Protocols

CS Lecture 1 Review of Basic Protocols CS 557 - Lecture 1 Review of Basic Protocols IP - RFC 791, 1981 TCP - RFC 793, 1981 Spring 2013 These slides are a combination of two great sources: Kurose and Ross Textbook slides Steve Deering IETF Plenary

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th edition Jim Kurose, Keith Ross Pearson/Addison Wesley

More information

Chapter 3 outline. 3.5 connection-oriented transport: TCP segment structure reliable data transfer flow control connection management

Chapter 3 outline. 3.5 connection-oriented transport: TCP segment structure reliable data transfer flow control connection management 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

CSC 401 Data and Computer Communications Networks

CSC 401 Data and Computer Communications Networks CSC 401 Data and Computer Communications Networks Transport Layer Connection Oriented Transport: TCP Sec 3.5 Prof. Lina Battestilli Fall 2017 Transport Layer Chapter 3 Outline 3.1 Transport-layer Services

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 TCP: Overview RFCs: 793,1122,1323,

More information

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 9

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 9 CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 9 1 Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and demultiplexing 3.3

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

Computer Networking Introduction

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

More information

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page:

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page: CSE 3214: Computer Networks Protocols and Applications Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cse.yorku.ca/course/3214 These slides are

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 4: Outline Literature: Lecture 4: Transport Layer Forouzan: ch 11-12 RFC? Transport layer introduction UDP TCP 2004 Image Coding Group, Linköpings Universitet 2 The Transport Layer Transport layer

More information

CSE 4213: Computer Networks II

CSE 4213: Computer Networks II Next CSE 4213: Computer Networks II The layer Suprakash Datta datta@cs.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cs.yorku.ca/course/4213 These slides are adapted

More information

Network Layer: Internet Protocol

Network Layer: Internet Protocol Network Layer: Internet Protocol Motivation Heterogeneity Scale Intering IP is the glue that connects heterogeneous s giving the illusion of a homogenous one. Salient Features Each host is identified by

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer Part b Connection-Oriented Transport Transport Layer 3-1 Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and demultiplexing 3.3 connectionless transport: UDP 3.4

More information

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP Transport layer Review principles: Reliable data transfer Flow control Congestion control Instantiation in the Internet UDP TCP 1 UDP: User Datagram Protocol [RFC 768] No frills, bare bones Internet transport

More information

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control Transport layer Review principles: Reliable data transfer Flow control Congestion control Instantiation in the Internet UDP TCP 1 UDP: User Datagram Protocol [RFC 768] No frills, bare bones Internet transport

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 4: Transport Layer Literature: Forouzan: ch 11-12 2004 Image Coding Group, Linköpings Universitet Lecture 4: Outline Transport layer responsibilities UDP TCP 2 Transport layer in OSI model Figure

More information

CS 4390 Computer Networks. Pointers to Corresponding Section of Textbook

CS 4390 Computer Networks. Pointers to Corresponding Section of Textbook CS 4390 Computer Networks UT D application transport network data link physical Session 10 Transmission Control Protocol (TCP) An Overview Adapted from Computer Networking a Top-Down Approach 1996-2012

More information

Chapter 3- parte B outline

Chapter 3- parte B outline Chapter 3- parte B 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:

More information

Computer Networks. (Intensive Learning Experience) July 03, 2018

Computer Networks. (Intensive Learning Experience) July 03, 2018 Computer Networks (Intensive Learning Experience) July 03, 2018 Dr. Ram P Rustagi Dept of CSE KSIT, Bangalore rprustagi@ksit.edu.in http://www.rprustagi.com!1 Executive Summary Why ILE Covering employability

More information

RSC Part III: Transport Layer 3. TCP

RSC Part III: Transport Layer 3. TCP RSC Part III: Transport Layer 3. TCP Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the companion slides to the book Computer Networking: A Top Down

More information

Exercises: Basics of Network Layer Experiential Learning Workshop

Exercises: Basics of Network Layer Experiential Learning Workshop Exercises: Basics of Network Layer Experiential Learning Workshop 1 General Guidelines 1. Make a team of two or three unless stated otherwise. 2. For each exercise, use wireshark capture to verify contents

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 4: Transport Layer Literature: Forouzan: ch 11-12 2004 Image Coding Group, Linköpings Universitet Lecture 4: Outline Transport layer responsibilities UDP TCP 2 Transport layer in OSI model Figure

More information

CS118 Discussion 1A, Week 4. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

CS118 Discussion 1A, Week 4. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m. CS118 Discussion 1A, Week 4 Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m. 1 Outline Lecture review: Transport layer Project Questions? Midterm logistics 2 Stop and Wait Protocol Main Issue: limited

More information

TSIN02 - Internetworking

TSIN02 - Internetworking TSIN02 - Internetworking Literature: Lecture 4: Transport Layer Forouzan: ch 11-12 Transport layer responsibilities UDP TCP 2004 Image Coding Group, Linköpings Universitet 2 Transport layer in OSI model

More information

Lecture 5. Transport Layer. Transport Layer 1-1

Lecture 5. Transport Layer. Transport Layer 1-1 Lecture 5 Transport Layer Transport Layer 1-1 Agenda The Transport Layer (TL) Introduction to TL Protocols and Services Connectionless and Connection-oriented Processes in TL Unreliable Data Transfer User

More information

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing Network layer: Overview Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing 1 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

Network layer: Overview. Network Layer Functions

Network layer: Overview. Network Layer Functions Network layer: Overview Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing 1 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

Experiential Learning Workshop on Basics of Socket Programming

Experiential Learning Workshop on Basics of Socket Programming Experiential Learning Workshop on Basics of Socket June 28, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in Resources https://rprustagi.com/elnt/experiential- Learning.html

More information

ICS 451: Today's plan

ICS 451: Today's plan ICS 451: Today's plan ICMP ping traceroute ARP DHCP summary of IP processing ICMP Internet Control Message Protocol, 2 functions: error reporting (never sent in response to ICMP error packets) network

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Chair for

More information

ENEE 457: Computer Systems Security 11/07/16. Lecture 18 Computer Networking Basics

ENEE 457: Computer Systems Security 11/07/16. Lecture 18 Computer Networking Basics ENEE 457: Computer Systems Security 11/07/16 Lecture 18 Computer Networking Basics Charalampos (Babis) Papamanthou Department of Electrical and Computer Engineering University of Maryland, College Park

More information

Lecture 08: The Transport Layer (Part 2) The Transport Layer Protocol (TCP) Dr. Anis Koubaa

Lecture 08: The Transport Layer (Part 2) The Transport Layer Protocol (TCP) Dr. Anis Koubaa NET 331 Computer Networks Lecture 08: The Transport Layer (Part 2) The Transport Layer Protocol (TCP) Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth Edition

More information

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner Communication Networks (0368-3030) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University Allon Wagner Kurose & Ross, Chapter 4 (5 th ed.) Many slides adapted from: J. Kurose & K. Ross

More information

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction The Network layer Host, network layer functions: Network layer Routing protocols path selection R, OSPF, BGP Transport layer: TCP, forwarding table Link layer physical layer protocol addressing conventions

More information

TCP (Part 2) Session 10 INST 346 Technologies, Infrastructure and Architecture

TCP (Part 2) Session 10 INST 346 Technologies, Infrastructure and Architecture TCP (Part 2) Session 10 INST 346 Technologies, Infrastructure and Architecture Muddiest Points Reading pseudocode Reading finite state diagrams What parts of rdt are in TCP? Goals for Today Finish up TCP

More information

ARP, IP, TCP, UDP. CS 166: Introduction to Computer Systems Security 4/7/18 ARP, IP, TCP, UDP 1

ARP, IP, TCP, UDP. CS 166: Introduction to Computer Systems Security 4/7/18 ARP, IP, TCP, UDP 1 ARP, IP, TCP, UDP CS 166: Introduction to Computer Systems Security 4/7/18 ARP, IP, TCP, UDP 1 IP and MAC Addresses Devices on a local area network have IP addresses (network layer) MAC addresses (data

More information

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer 1 CPSC 826 Intering The Network Layer: Routing & Addressing Outline The Network Layer Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu November 10, 2004 Network layer

More information

Chapter 6 Transport Layer

Chapter 6 Transport Layer Chapter 6 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

TCP : Fundamentals of Computer Networks Bill Nace

TCP : Fundamentals of Computer Networks Bill Nace TCP 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Administrivia Lab #1 due now! Reminder: Paper Review

More information

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link. Internet Layers Application Application Transport Transport Network Network Network Network Link Link Link Link Ethernet Fiber Optics Physical Layer Wi-Fi ARP requests and responses IP: 192.168.1.1 MAC:

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology 2017 internet technologies and standards Piotr Gajowniczek Andrzej Bąk Michał Jarociński Network Layer The majority of slides presented in

More information

Correcting mistakes. TCP: Overview RFCs: 793, 1122, 1323, 2018, TCP seq. # s and ACKs. GBN in action. TCP segment structure

Correcting mistakes. TCP: Overview RFCs: 793, 1122, 1323, 2018, TCP seq. # s and ACKs. GBN in action. TCP segment structure Correcting mistakes Go-back-N: big picture: sender can have up to N unacked packets in pipeline rcvr only sends cumulative acks doesn t ack packet if there s a gap sender has r for oldest unacked packet

More information

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting Quiz v 10/30/2013 (Wednesday), 20 mins v Midterm question (available on website) v TCP basics Segment structure and fields Flow control (rwnd) Timeout interval v TCP Congestion control Phases transition

More information

Chapter III: Transport Layer

Chapter III: Transport Layer Chapter III: Transport Layer UG3 Computer Communications & Networks (COMN) Myungjin Lee myungjin.lee@ed.ac.uk Slides copyright of Kurose and Ross TCP: Overview RFCs: 793,1122,1323, 2018, 2581 point-to-point:

More information

ECE 650 Systems Programming & Engineering. Spring 2018

ECE 650 Systems Programming & Engineering. Spring 2018 ECE 650 Systems Programming & Engineering Spring 2018 Networking Transport Layer Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) TCP/IP Model 2 Transport Layer Problem solved:

More information

Transport Layer. <protocol, local-addr,local-port,foreign-addr,foreign-port> ϒ Client uses ephemeral ports /10 Joseph Cordina 2005

Transport Layer. <protocol, local-addr,local-port,foreign-addr,foreign-port> ϒ Client uses ephemeral ports /10 Joseph Cordina 2005 Transport Layer For a connection on a host (single IP address), there exist many entry points through which there may be many-to-many connections. These are called ports. A port is a 16-bit number used

More information

Router Architecture Overview

Router Architecture Overview Chapter 4: r Introduction (forwarding and routing) r Review of queueing theory r Router design and operation r IP: Internet Protocol m IPv4 (datagram format, addressing, ICMP, NAT) m Ipv6 r Generalized

More information

The Transport Layer: TCP & Reliable Data Transfer

The Transport Layer: TCP & Reliable Data Transfer The Transport Layer: TCP & Reliable Data Transfer Smith College, CSC 249 February 15, 2018 1 Chapter 3: Transport Layer q TCP Transport layer services: v Multiplexing/demultiplexing v Connection management

More information

Transport Layer: outline

Transport Layer: outline Transport Layer: outline Transport-layer services Multiplexing and demultiplexing Connectionless transport: UDP Principles of reliable data transfer Connection-oriented transport: TCP Segment structure

More information

Pipelined protocols: overview

Pipelined protocols: overview Pipelined protocols: overview Go-back-N: sender can have up to N unacked packets in pipeline receiver only sends cumulative ack doesn t ack packet if there s a gap sender has timer for oldest unacked packet

More information

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access Last time Wireless link-layer Introduction Wireless hosts, base stations, wireless links Characteristics of wireless links Signal strength, interference, multipath propagation Hidden terminal, signal fading

More information

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang CS 356: Computer Network Architectures Lecture 10: IP Fragmentation, ARP, and ICMP Xiaowei Yang xwy@cs.duke.edu Overview Homework 2-dimension parity IP fragmentation ARP ICMP Fragmentation and Reassembly

More information

32 bits. source port # dest port # sequence number acknowledgement number not used. checksum. Options (variable length)

32 bits. source port # dest port # sequence number acknowledgement number not used. checksum. Options (variable length) 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 Connectionoriented transport: TCP segment

More information

Networking Technologies and Applications

Networking Technologies and Applications Networking Technologies and Applications Rolland Vida BME TMIT Transport Protocols UDP User Datagram Protocol TCP Transport Control Protocol and many others UDP One of the core transport protocols Used

More information

Chapter 4: Network Layer

Chapter 4: Network Layer Chapter 4: Introduction (forwarding and routing) Review of queueing theory Routing algorithms Link state, Distance Vector Router design and operation IP: Internet Protocol IPv4 (datagram format, addressing,

More information

CS 4390 Computer Networks. Transport Services and Protocols

CS 4390 Computer Networks. Transport Services and Protocols CS 4390 Computer Networks UT D data Session 07 Transport Layer Overview and UDP Adapted from Computer Networking a Top-Down Approach 1996-2012 by J.F Kurose and K.W. Ross, All Rights Reserved Transport

More information

Lecture 12: Transport Layer TCP again

Lecture 12: Transport Layer TCP again Lecture 12: Transport Layer TCP again COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F Kurose and K.W.

More information

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers Layer 4: UDP, TCP, and others based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers Concepts application set transport set High-level, "Application Set" protocols deal only with how handled

More information

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet Chapter 2 - Part 1 The TCP/IP Protocol: The Language of the Internet Protocols A protocol is a language or set of rules that two or more computers use to communicate 2 Protocol Analogy: Phone Call Parties

More information

Exercises: Basics of Networking II Experiential Learning Workshop

Exercises: Basics of Networking II Experiential Learning Workshop Exercises: Basics of Networking II Experiential Learning Workshop 1 General Guidelines 1. Make a team of two or three unless stated otherwise. 2. For each exercise, use wireshark capture to verify contents

More information

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved. Introduction to Networking Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved. Distributed File Systems Operating Systems In Depth XXVII 2 Copyright 2017 Thomas W.

More information

CS 3516: Advanced Computer Networks

CS 3516: Advanced Computer Networks Welcome to CS 3516: Advanced Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am M, T, R, and F Location: Fuller 320 Fall 2017 A-term 1 Some slides are originally from the course materials of the textbook

More information

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane This presentation is adapted from slides produced by Jim Kurose and Keith Ross for their book, Computer Networking:

More information

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 4 The Network Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

TDTS06: computer Networks

TDTS06: computer Networks TDTS06: computer Networks Lecturer: Johannes Schmidt The slides are taken from the book s companion Web site with few modifications: Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith

More information

CSCD 330 Network Programming

CSCD 330 Network Programming CSCD 330 Network Programming Lecture 10 Transport Layer Continued Spring 2018 Reading: Chapter 3 Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 Last Time.

More information

CSE 4/589 Midterm Review. Hengtong Zhang SUNY Buffalo 10/30/2018

CSE 4/589 Midterm Review. Hengtong Zhang SUNY Buffalo 10/30/2018 CSE 4/589 Midterm Review Hengtong Zhang SUNY Buffalo 10/30/2018 Chapter 1 overview: what s the Internet? what s a protocol? network edge; hosts, access net, physical media network core: packet/circuit

More information

Announcement. Homework 1 due last night, how is that? Will discuss some problems in the lecture next week

Announcement. Homework 1 due last night, how is that? Will discuss some problems in the lecture next week Announcement Homework 1 due last night, how is that? Will discuss some problems in the lecture next week Should have completed at least part II of project 1 Homework 2 will be out next week Review of Previous

More information

NWEN 243. Networked Applications. Layer 4 TCP and UDP

NWEN 243. Networked Applications. Layer 4 TCP and UDP NWEN 243 Networked Applications Layer 4 TCP and UDP 1 About the second lecturer Aaron Chen Office: AM405 Phone: 463 5114 Email: aaron.chen@ecs.vuw.ac.nz Transport layer and application layer protocols

More information

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis Introduction to Internet Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis What about inter-networks communications? Between LANs? Ethernet?? Ethernet Example Similarities and Differences between

More information

Transport Layer: Outline

Transport Layer: Outline Transport Layer: Outline Transport-layer services Multiplexing and demultiplexing Connectionless transport: UDP Principles of reliable data transfer Connection-oriented transport: TCP Segment structure

More information

TCP/IP Networking. Part 4: Network and Transport Layer Protocols

TCP/IP Networking. Part 4: Network and Transport Layer Protocols TCP/IP Networking Part 4: Network and Transport Layer Protocols Orientation Application Application protocol Application TCP TCP protocol TCP IP IP protocol IP IP protocol IP IP protocol IP Network Access

More information

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia IP - The Internet Protocol Based on the slides of Dr. Jorg Liebeherr, University of Virginia Orientation IP (Internet Protocol) is a Network Layer Protocol. IP: The waist of the hourglass IP is the waist

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

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

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols 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

CS 3516: Computer Networks

CS 3516: Computer Networks Welcome to CS 3516: Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am M, T, R, and F Location: AK 219 Fall 2018 A-term 1 Some slides are originally from the course materials of the textbook Computer

More information

Dongsoo S. Kim Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis

Dongsoo S. Kim Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis Session 8. TCP/IP Dongsoo S. Kim (dskim@iupui.edu) Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis IP Packet 0 4 8 16 19 31 Version IHL Type of Service Total Length Identification

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology 2015 internet technologies and standards Piotr Gajowniczek Andrzej Bąk Michał Jarociński Network Layer The majority of slides presented in

More information

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12 CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12 1 Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram networks 4.3 what

More information

Transport Layer. Chapter 3: Transport Layer

Transport Layer. Chapter 3: Transport Layer Transport Layer EECS 3214 Slides courtesy of J.F Kurose and K.W. Ross, All Rights Reserved 29-Jan-18 1-1 Chapter 3: Transport Layer our goals: understand principles behind layer services: multiplexing,

More information

CSCI Computer Networks Fall 2016

CSCI Computer Networks Fall 2016 source: computer-s-webdesign.com CSCI 4760 - Computer Networks Fall 2016 Instructor: Prof. Roberto Perdisci perdisci@cs.uga.edu These slides are adapted from the textbook slides by J.F. Kurose and K.W.

More information

Network Layer: Router Architecture, IP Addressing

Network Layer: Router Architecture, IP Addressing Network Layer: Router Architecture, IP Addressing UG3 Computer Communications & Networks (COMN) Mahesh Marina mahesh@ed.ac.uk Slides thanks to Myungjin Lee and copyright of Kurose and Ross Router Architecture

More information

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture Routers Session 12 INST 346 Technologies, Infrastructure and Architecture Goals for Today Finish up TCP Flow control, timeout selection, close connection Network layer overview Structure of a router Getahead:

More information

User Datagram Protocol

User Datagram Protocol Topics Transport Layer TCP s three-way handshake TCP s connection termination sequence TCP s TIME_WAIT state TCP and UDP buffering by the socket layer 2 Introduction UDP is a simple, unreliable datagram

More information

ET4254 Communications and Networking 1

ET4254 Communications and Networking 1 Topic 9 Internet Protocols Aims:- basic protocol functions internetworking principles connectionless internetworking IP IPv6 IPSec 1 Protocol Functions have a small set of functions that form basis of

More information

CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. ** Slides are attributed to J. F.

CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. ** Slides are attributed to J. F. CSEN 503 Introduction to Communication Networks Mervat AbuElkheir Hana Medhat Ayman Dayf ** Slides are attributed to J. F. Kurose Chapter 3 outline Transport-layer services Multiplexing and demultiplexing

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Slides adopted from original ones provided by the textbook authors. Transport

More information

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology Transport Over IP CSCI 690 Michael Hutt New York Institute of Technology Transport Over IP What is a transport protocol? Choosing to use a transport protocol Ports and Addresses Datagrams UDP What is a

More information

TCP. TCP: Overview. TCP Segment Structure. Maximum Segment Size (MSS) Computer Networks 10/19/2009. CSC 257/457 - Fall

TCP. TCP: Overview. TCP Segment Structure. Maximum Segment Size (MSS) Computer Networks 10/19/2009. CSC 257/457 - Fall TCP Kai Shen 10/19/2009 CSC 257/457 - Fall 2009 1 TCP: Overview connection-oriented: handshaking (exchange of control msgs) to initialize sender, receiver state before data exchange pipelined: multiple

More information

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing Last time Network layer Introduction forwarding vs. routing Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding tables, longest prefix matching IP: the Internet Protocol

More information

CSE/EE 461 Lecture 13 Connections and Fragmentation. TCP Connection Management

CSE/EE 461 Lecture 13 Connections and Fragmentation. TCP Connection Management CSE/EE 461 Lecture 13 Connections and Fragmentation Tom Anderson tom@cs.washington.edu Peterson, Chapter 5.2 TCP Connection Management Setup assymetric 3-way handshake Transfer sliding window; data and

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

Fall 2012: FCM 708 Bridge Foundation I

Fall 2012: FCM 708 Bridge Foundation I Fall 2012: FCM 708 Bridge Foundation I Prof. Shamik Sengupta Instructor s Website: http://jjcweb.jjay.cuny.edu/ssengupta/ Blackboard Website: https://bbhosted.cuny.edu/ Intro to Computer Networking Transport

More information