Figure 2-17 Relationship of layers and addresses in TCP/IP Example: web browser implementing HTTP Implemented in TCP and UDP software. HTTP uses TCP. Interface.

Slides:



Advertisements
Similar presentations
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Advertisements

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 2 TCP/IP Fundamentals.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
CSCI 4550/8556 Computer Networks
Transmission Control Protocol (TCP)
Chapter 11 Unicast Routing Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Unicast Routing Protocols: RIP, OSPF, and BGP
RIP – Routing Information Protocol Syeda Momina Tabish MIT - 7.
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
Unicast Routing Protocols: RIP, OSPF, and BGP
Extending Networks. Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”
Computer Networks Transport Layer. Topics F Introduction  F Connection Issues F TCP.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Gursharan Singh Tatla Transport Layer 16-May
RIP. A PPROACHES TO S HORTEST P ATH R OUTING There are two basic routing algorithms found on the Internet. 1. Distance Vector Routing Each node knows.
Lecture 8 Modeling & Simulation of Communication Networks.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
TCP/IP Protocol Suite1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
Process-to-Process Delivery:
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
1 Transport Layer Computer Networks. 2 Where are we?
Jan 29, 2008CS573: Network Protocols and Standards1 NAT, DHCP Autonomous System Network Protocols and Standards Winter
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
CS 4396 Computer Networks Lab
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
Slide /2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
10/13/20151 TCP/IP Transmission Control Protocol Internet Protocol.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
ICS156 final review Xiaowei Yang. What this course is about  Reinforcing basic networking concepts  Practical networking knowledge  Today Review concepts.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
1 TCP/IP Internetting ä Subnet layer ä Links stations on same subnet ä Often IEEE LAN standards ä PPP for telephone connections ä TCP/IP specifies.
Chapter 12 Transmission Control Protocol (TCP)
1 Chapter 14 Routing Protocols (RIP, OSPF, and BGP) Chapter 14 Routing Protocols (RIP, OSPF, and BGP) Mi-Jung Choi Dept. of Computer Science and Engineering.
ECE453 – Introduction to Computer Networks Lecture 17 – Top – Down Approach (A Review)
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
1 Kyung Hee University Chapter 11 Unicast Routing Protocols (RIP, OSPF, and BGP)
ECE 4110 – Internetwork Programming
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Introduction to Networks
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Dynamic Routing Protocols part2
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
Routing Protocols (RIP, OSPF, BGP)
Routing Information Protocol (RIP)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Routing.
Dynamic Routing Protocols part2
Chapter 11 Unicast Routing Protocols (RIP, OSPF, and BGP)
Routing.
Transport Layer 9/22/2019.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

Figure 2-17 Relationship of layers and addresses in TCP/IP Example: web browser implementing HTTP Implemented in TCP and UDP software. HTTP uses TCP. Interface. Eg. WINSOCK on PCs Implemented in IP software Eg. Ethernet Medium Access Control (MAC) implemented in NIC card (Network Interface Card) and driver software Eg. Ethernet PHY layer. Implemented in NIC card Eg. TCP port 80 for web server Eg (32- bit) Eg. Ethernet address (48-bit)

Figure 2-19 IP addresses (A logical address necessary for universal communication over the internet, and is independent of the underlying physical networks) Note: We commonly uses names such as (called Domain Names). To translate from names to IP addresses, needs to use DNS (Domain Name Service) implemented at the Application level.

BBridge/switch

IP Addressing

Figure 4.1 Dotted Decimal Notation Figure 4.6 Classful IP Addresses Class A: Large networks Class B: Medium networks Class C: Small networks Hostid with all 0’s or all 1’s are special.

Similar to Figure 5.2 subnetting (Three levels of hierarchy) Usable addresses: to

Similar to Figure 5.12 Subnet mask vs Supernet mask

Classless Interdomain Routing (CIDR)

ARP RARP IP ICMP BOOTP DHCP

Figure 7.1ARP and RARP

Figure 8.2 IP Datagram HLEN: Actual number of bytes in header / 4 Version = 4 Total number of bytes (header + data) Actually count hops. Decremented by one each time the packet is routed

Figure 8.9 Detailed fragmentation example (note: the diagram in the book is incorrect)

Transport Layer - UDP

Figure 11-6 Socket Address Figure 11-7 UDP datagram format

Transport Layer - TCP

Sliding window protocol: window management

Implementation issue: Silly window syndrome A small amount of data. For example: 1 byte It comes to a point when the sender naturally sends small amount of data  inefficient Nagle’s solution: collect enough data before sending Clark’s solution: only advertise window sizes that are reasonably large

Figure Corrupted segment Error Control: Example – corrupted segment. Other examples in the text.

TCP timer management What is a reasonable timeout period? RTT: the best current estimate of the round-trip time to the destination in question RTT =  RTT + (1-  )M where M is the current measured time for the ack to get back before the timer expires;  is a smoothing factor that determines how much weight is given to the old value. Typically = 7/8

TCP timer management Karn's alogirthm When retransmission occurs, one cannot tell which transmission an Ack corresponds to, and the estimate of RRT will not be accurate. Karn proposed that RTT not updated, but timeout doubled, until you send a segment and receive an acknowledgment without the need for retransmission. (Note: Recall that RTT  timeout) Persistence Timer For zero-window probe: Whenever a window closes completely, the sender periodically probes the receiver with small amount to data (because a lost window update may cause a deadlock.) Keepalive Timer When a connection has been idle for a long time, check to see if the other side is still there. Time-Waited Timer During connection termination. A connection is not considered really closed until the end of a time-waited period. Usually two times the expected lifetime of a segment

Figure Slow Start and Congestion Avoidance

Figure TCP Segment Format Valid only if urg bit is set. Urgent data always appear in the beginning of the data, and the pointer point to the first byte of the normal data after the urgent data. Number of bytes / 4 Buffers available

Figure Connection Establishment :Three-way handshake

Figure Connection Release: Four-way handshake Closing data stream in this direction only

Routing

Figure 13-2 Autonomous system (AS) concepts Figure 13-1 AS = a group of networks and routers under the authority of a single administration EGP

Distance Vector Routing Dynamic Sharing knowledge about the entire AS Sharing only with neighbors Sharing at regular interval Sharing the distance vector: a router’s distance to all other routers within the AS Routes are calculated based on the distance vectors received from the neighbors. RIP (Routing Information Protocol) – the older Internet routing protocol, is an example –encapsulated in UDP: Well known port 520.( –RFC 1058 (RIPv1); RFC 1388 (RIPv2)

Figure 13-3 Examples of RIP updates (done at the current router.)

Figure Remedies for instability Triggered updates: Sending a change immediately Split horizons: a router that receives updates from an interface must not send back the same information through this interface. Poison reverse: a variation of split horizons. Lie by advertising infinity (16) Figure 13-15

Link State Routing Dynamic Sharing knowledge about the neighborhood- link states: who I am directly connected to and the distance (based on minimum delay, maximum throughput, cost, hop counts etc.) Sharing with every other router – broadcast by flooding Sharing when there is a change OSPF (Open Shortest Path First), the newer Internet routing protocol is an example. General steps –Hello: discovering reachability –Build link state packets (advertisements) –Broadcast the link state packets: initially and when there are changes –Build a map from the received link state packets –From the map calculate the shortest path

Dijkstra Algorithm: for calculating shortest paths 1.Start with the local node (router): the root of the tree 2.Assign a cost of 0 to this node and make it the first permanent node. 3.Examine each non-permanent neighbor node of the node that was the last permanent node. 4.Assign a cumulative cost to each node and make it tentative 5.Among the list of tentative nodes 1.Find the node with the smallest cumulative cost and make it permanent 2.If a node can be reached from more than one direction 1.Select the direction with the shortest cumulative cost. 6.Repeat steps 3 to 5 until every node becomes permanent

Figure Path vector packets