CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.

Slides:



Advertisements
Similar presentations
Discussion Monday ( ). ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier header checksum time to live.
Advertisements

TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
Announcement r Recitation tomorrow on Project 2 r Midterm Survey at the end of this class.
CS4550 Computer Networks II IP : internet protocol, part 3 : routing policies, IPv6.
CISCO NETWORKING ACADEMY Chabot College ELEC Routed and Routing Protocols.
Network Layer Packet Forwarding IS250 Spring 2010
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Announcement r Project 3 out, due 3/10 r Homework 3 out last week m Due next Mon. 3/1.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
Routing.
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
1 Internet Control Message Protocol (ICMP) RIZWAN REHMAN CCS, DU.
Network Layer Moving datagrams. How do it know? Tom-Tom.
4: Network Layer4a-1 IP datagram format ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier Internet checksum time.
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 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
Exam 2 Review Networking CS 3470, Section 1 Sarah Diesburg.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Routing and Routing Protocols Routing Protocols Overview.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
4: Network Layer4a-1 Hierarchical Routing r aggregate routers into regions, “autonomous systems” (AS) r routers in same AS run same routing protocol m.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Chapter 9. Implementing Scalability Features in Your Internetwork.
Border Gateway Protocol
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
4: Network Layer4a-1 Routing in the Internet r The Global Internet consists of Autonomous Systems (AS) interconnected with each other: m Stub AS: small.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Sem1 - Module 10 Routing Fundamentals and Subnets Review.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
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.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
Chapter-8 Network Layer in the Internet. IP Protocol: IP V4 At network layer, internet can be viewed as a collection of sub-networks or Autonomous Systems.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
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 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
IP. Classless Inter-Domain Routing Classful addressing scheme wasteful – IP address space exhaustion – A class B net allocated enough for 65K hosts Even.
The Internet Network layer
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
Spring 2008CPE Computer Networks1 Routing: Part II Outline Algorithms Scalability Reading: Section 4.3.
Inter-domain Routing Outline Border Gateway Protocol.
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.
Border Gateway Protocol BGP-4 BGP environment How BGP works BGP information BGP administration.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Routing.
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Wide Area Networks and Internet CT1403
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Routing.
32 bit destination IP address
Presentation transcript:

CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina

2/15/20052 Open Shortest Path First (OSPF) A link-state routing protocol Each router tests status of all its links and broadcasts its link status to all routers on network Use IP to carry its message Provide features superior to RIP

2/15/20053 OSPF Message Format ver- sion type packet length router IDarea ID checksum auth type authenticationdata

2/15/20054 Autonomous Systems A collection of networks administered by single entity, e.g. a corporation or a campus Three categories of AS Stub AS Multihomed AS Transit AS

2/15/20055 Example of Autonomous System Source: Internetworking Technologies Handbook by Cisco Press

2/15/20056 IGP and EGP Each AS selects its interior gateway protocol (IGP) for communications between routers in this AS E.g. RIP, OSPF Multiple AS’s use exterior gateway protocol (EGP) for communications between routers in different AS’s E.g. EGP, BGP

2/15/20057 Border Gateway Protocol (BGP) An exterior gateway protocol Distance-vector protocol but enumerates route to each destination Allow policy-based routing Use TCP to transport its messages

2/15/20058 BGP Message Types BGP uses four message types Open message Keepalive message Update message Notification message

2/15/20059 Classless Interdomain Routing (CIDR) Solve two problems Shortage of class B network IDs Explosion in routing table size due to allocation of multiple class C network IDs Summarize multiple IP addresses into a smaller number of routing table entries

2/15/ Requirements of CIDR Multiple IP addresses to be summarized need to share same high-order bits Routing decisions need to be based on 32-bit IP address and 32-bit mask Routing protocols need to carry 32-bit mask in addition to 32-bit address

2/15/ Example of CIDR CIDR Block Prefix# Equivalent Class C# of Host Addresses /271/8th of a Class C32 hosts /261/4th of a Class C64 hosts /251/2 of a Class C128 hosts /241 Class C256 hosts /232 Class C512 hosts … /15512 Class C131,072 hosts /141,024 Class C262,144 hosts /132,048 Class C524,288 hosts

2/15/ User Datagram Protocol (UDP) A datagram-oriented transport layer protocol Each output operation by a process produces exactly one UDP datagram Provide no reliability

2/15/ UDP Header bytes destination port number UDP checksumUDP length data (if any) source port number

2/15/ UDP Checksum Cover UDP header and UDP data End-to-end checksum calculated by sender and verified by receiver Should always be enabled 16-bit one’s complement sum of header (including a pseudo header) and data is calculated

2/15/ Computation of UDP Checksum destination port number UDP checksumUDP length data (if any) UDP header source port number UDP lengthzero protocol(17) destination IP address source IP address pad byte(0) UDP pseudo header

2/15/ Fragmentation Need to fragment if size of resulting IP datagram exceeds MTU Can take place at source or at an intermediate router Fragments are reassembled at destination

2/15/ Example of UDP Fragmentation IP header UDP header UDP data IP header UDP header IP header 201

2/15/ ICMP Unreachable Error (Fragmentation Required) type(3)code(0-15) checksum IP header + first 8 bytes of original datagram data unused (must be 0)MTU of next-hop network

2/15/ Next Class UDP Broadcasting and multicasting Class MulticastSocket Read TI Ch. 11, 12, JNP Ch. 22