The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

Size: px
Start display at page:

Download "The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax."

Transcription

1 The Network Layer Nixu Oy PL 21 (Mäkelänkatu 91) Helsinki, Finland tel fax info@nixu.fi

2 OVERVIEW The Internet Protocol IP addresses, address resolution IP in LAN environment Static routing Dynamic routing Copyright 2002 Nixu Oy 2/48 The Network Layer

3 Network Layer Network layer packets are transmitted from the sending network entity all the way to the reciever, spanning several LANs and data link layer technologies There are several network layer protocols Internet Protocol (IP) is currently the most common one X.25 is almost obsolete > Provides realiable, connection oriented packet networking Copyright 2002 Nixu Oy 3/48 The Network Layer

4 IP IP = The Internet Protocol Defined in RFC 791 IP sends simple datagrams over network. It provides unreliable and connectionless delivery service. unreliable = no guarantees, ICMP error messages connectionless = each packet is routed separately Large IP packets may be fragmented and reassembled in transmission Copyright 2002 Nixu Oy 4/48 The Network Layer

5 IP Packet Format version hdr len type of service total length identification flags fragmentation offset time to live protocol header checksum source IP address destination IP address options... padding data Normal size for IP header is 20 bytes, plus options & padding. Copyright 2002 Nixu Oy 5/48 The Network Layer

6 IP Packet Format Version is 4 until IPv6 comes. Type of Service contains quality parameters, like maximize throughput or reliability. Often not implemented. Identification is set by sending host to unique value for each sent IP-packet, usually this is an incremental counter. Flags tell if this packet is fragmented or if this packet should not be fragmented Fragment offset tells how far from the head of original datagram this fragment is Time to Live is decremented by one by every router passed. When 0 is reached, the packet is discarded and an ICMP-message sent back. Protocol may be TCP, UDP, ICMP or one of several others Options are rarely used and not widely supported. They are loose and strict source routing, route recording and timestamping and military security options (RFC 1108). Copyright 2002 Nixu Oy 6/48 The Network Layer

7 IP Addresses IP address identifies a network interface. A host can have several interfaces. Current length 32 bits (IPv4). Future length (IPv6) 128 bits. General syntax: 4 components separated by dots ( dotted quad ) decimal numbers (0-255) for example: Addresses have two components, the network id and the host id. Copyright 2002 Nixu Oy 7/48 The Network Layer

8 Address Classes A B C D E 1 7 network host network host 21 8 network host 28 multicast address 27 reserved for future use first byte: Copyright 2002 Nixu Oy 8/48 The Network Layer

9 Address Classes The network part of the address is used to route a packet to the right LAN The host part tells which host on a LAN should recieve the packet If a host is sending a packet to an address, which network part is not same as the sender s the packet is sent to a gateway (router), if the network part is same, the packet is sent to the LAN There isonly a small number of class A networks but they can have many hosts Class B networks are almost all taken There are quite a few class C networks but they can only have 254 hosts each Class based routing is now mostly obsolete and replaced by clasless routing (CIDR) Copyright 2002 Nixu Oy 9/48 The Network Layer

10 CIDR (Classless InterDomain Routing) Arbitrary length host and network fields instead of A, B and C classes Commonly used to make superblocks of C classes for routing (aka. supernetting) In the future may be used to split unused A classes Network mask marks the boundary For example /22 netmask is The number after the slash (/) tells how many bits in the mask are 1, the rest are 0 RFC 1518, 1519 Copyright 2002 Nixu Oy 10/48 The Network Layer

11 Special Addresses is used for "any" or "no" IP address is local broadcast address 127 followed by hostid is the loopback address (e.g ) netid followed by all zeros is the network address (e.g /24) netid followed by all ones is network broadcast address (e.g /24) Copyright 2002 Nixu Oy 11/48 The Network Layer

12 Subnetting Large networks are often divided into smaller units Subnetting hides the details of internal network organization for example, /16 ( hosts) could be subnetted to /24 (2 8 subnets with hosts in each) netid subnetid hostid default netmask subnet mask host IP address AND network mask = network IP address Copyright 2002 Nixu Oy 12/48 The Network Layer

13 ICMP ICMP = Internet Control Message Protocol Defined in RFC 792 ICMP packet syntax TYPE CODE CHECKSUM DATA Type identifies the message: echo request, echo reply, destination unreachable, etc. Code defines the reason: host unreachable, port unreachable, etc. Data contains part of the IP packet that caused the error. Copyright 2002 Nixu Oy 13/48 The Network Layer

14 ICMP ICMP messages are transmitted in IP datagrams. IP header ICMP header ICMP data Communicates error messages and other conditions that require attention. Can be utilized to track network infrastructure (ping, traceroute). Copyright 2002 Nixu Oy 14/48 The Network Layer

15 IP on LAN Usually one physical segment = one IP network Each IP network has a network address and a broadcast address Problem: IP addresses only make sense to the TCP/IP protocol suite, not to the hardware interface Solution: ARP maps IP addresses to hardware addresses If a booting host doesn t know its IP address, RARP, BOOTP or DHCP can be used Copyright 2002 Nixu Oy 15/48 The Network Layer

16 IP on LAN Host interfaces must be activated Loopback interface: ifconfig lo Ethernet interface: ifconfig eth broadcast \ netmask Other interfaces Default route route add default Copyright 2002 Nixu Oy 16/48 The Network Layer

17 IP on LAN gato tsilven 6$ ifconfig -a lo Link encap:local Loopback inet addr: Bcast: Mask: UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:77 errors:0 dropped:0 overruns:0 frame:0 TX packets:77 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 eth0 Link encap:ethernet HWaddr 00:60:08:06:2A:36 inet addr: Bcast: Mask: UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets: errors:0 dropped:0 overruns:0 frame:0 TX packets:43770 errors:0 dropped:0 overruns:0 carrier:0 collisions:20 Interrupt:5 Base address:0x6c00 gato tsilven 7$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Iface U 1500 eth U 3584 lo UG 1500 eth0 Copyright 2002 Nixu Oy 17/48 The Network Layer

18 ARP (Address Resolution Protocol) A host finds other hosts by broadcasting an ARP query for the IP address The host with correct IP address replies with its hardware address The address pair is added to receivers dynamic ARP cache Features: proxy ARP, gratuitous ARP RFC 826 Copyright 2002 Nixu Oy 18/48 The Network Layer

19 ARP Packet Format hard type prot type hard size prot size OP sender MAC address sender IP address target MAC address target IP address Encapsulated into link layer frame Data always 28 bytes hard type = hardware address type (0x0001 = Ethernet) prot type = protocol address type (0x0800 = IP) OP = operation (ARP/RARP request/reply) Copyright 2002 Nixu Oy 19/48 The Network Layer

20 ARP, an Example gato tsilven 15$ arp -a jalopeno.nixu.fi ( ) at 08:00:20:74:F1:2C [ether] on eth0 fajitas.nixu.fi ( ) at 08:00:20:18:06:14 [ether] on eth0 tapas.nixu.fi ( ) at 08:00:09:6D:B6:44 [ether] on eth0 gato tsilven 16$ ping PING ( ): 56 data bytes 64 bytes from : icmp_seq=0 ttl=64 time=3.0 ms 64 bytes from : icmp_seq=1 ttl=64 time=0.7 ms ping statistics packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.7/1.8/3.0 ms gato tsilven 17$ arp -a jalopeno.nixu.fi ( ) at 08:00:20:74:F1:2C [ether] on eth0 sueno.nixu.fi ( ) at 00:60:08:54:2D:D9 [ether] on eth0 fajitas.nixu.fi ( ) at 08:00:20:18:06:14 [ether] on eth0 tapas.nixu.fi ( ) at 08:00:09:6D:B6:44 [ether] on eth0 Copyright 2002 Nixu Oy 20/48 The Network Layer

21 ARP, an Example bash-2.02# tcpdump -i eth0 -n -t -q\ host tcpdump: listening on eth0 arp who-has tell arp reply is-at 0:60:8:54:2d:d > : icmp: echo request > : icmp: echo reply > : icmp: echo request > : icmp: echo reply 6 packets received by filter 0 packets dropped by kernel Copyright 2002 Nixu Oy 21/48 The Network Layer

22 Bootstrapping an IP host in the LAN RARP (Reverse ARP), a host broadcasts its hardware address and receives an IP address to use as its own BOOTP (Bootstrap Protocol) is better: IP address and other information can be given Both now replaced by DHCP (Dynamic Host Configuration Protocol) Copyright 2002 Nixu Oy 22/48 The Network Layer

23 DHCP DHCP (Dynamic Host Configuration Protocol) extends BOOTP: automatic assignment of (permanent) IP addresses dynamic assignment for a limited time Extends vendor-specific area from 64 to 312 bytes RFC 1531 Supports distributed configuration Message forwarding or local servers Not a trivial service to configure for large installations Copyright 2002 Nixu Oy 23/48 The Network Layer

24 DHCP Messages are sent using UDP over IP Server in port 67, client in port 68 The DHCP server on the LAN segment is found using a boradcast First packet to from (client does not know its own address) Message types: DISCOVER, OFFER, REQUEST, DECLINE, ACK, NAK, RELEASE The server returns all necessary information IP address, netmask, gateway to the client DNS server s address also Address assingment for limited time or permanently The IP address can be from a pool or static Copyright 2002 Nixu Oy 24/48 The Network Layer

25 DHCP Event Diagram Server Client Server DHCPDISCOVER DHCPOFFER DHCPREQUEST DHCPDISCOVER DHCPOFFER DHCPREQUEST DHCPACK DHCPRELEASE Copyright 2002 Nixu Oy 25/48 The Network Layer

26 Static Routing When host has an IP datagram to send, it checks the routing table for the correct destination When a host receives an IP datagram, it checks datagram s destination address if there is a match, IP layer deliveres the datagram to correct protocol module else the datagram is silently discarded A (Unix) system can be configured to act as a router in addition to acting as a host routers can forward IP datagrams from one of its interfaces to another Copyright 2002 Nixu Oy 26/48 The Network Layer

27 Router Router is a network component, which passes traffic between networks. Two or more network interfaces For each and every given destination address, router must be able to make routing decision. Where (to what interface) I send this packet? Routing decision might also be: No such destination, cannot send. This applies also to workstations and servers even though they usually have only one network interface. Routing decisions are based on routing table. Data structure, which contains information about possible destinations. Copyright 2002 Nixu Oy 27/48 The Network Layer

28 Routing Table, an Example gato tsilven 19$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Iface U 1500 eth U 3584 lo UG 1500 eth0 Copyright 2002 Nixu Oy 28/48 The Network Layer

29 Routing table Can be fixed (configured by hand to each device) Static routing Common at the edges of the network, workstations, servers Not feasible on big and redundant networks Usually very robust Copyright 2002 Nixu Oy 29/48 The Network Layer

30 Routing table... Can also be dynamic (configured by hand, distributed automatically) Routers exchange information using routing protocols Routing protocol events (routing updates) affect directly to routing table. > This causes interesting dynamic problems Debugging can be painful Copyright 2002 Nixu Oy 30/48 The Network Layer

31 Routing table contents For each destination, routing table contains Addresses for this destination > Might be some kind of wild card, e.g. all destinations not mentioned elsewhere in routing table (default route) > Usually expressed as network number / mask > E.g / 24 (class C network, 24 network bits) > Modern routing mechanisms are classless, any number of network bits allowed > Old-fashioned implementations usually are more or less class-bound. Next hop (where to send traffic to this destination) Additional information (cost and/or other administrative information) Copyright 2002 Nixu Oy 31/48 The Network Layer

32 Routing table contents... In practice, most transit providers accept only routes with 24 or less network bits E.g. no routes smaller than class C are accepted Now backbone transit providers are moving towards allowing /16 networks > Usually called superblocks (254 C classes) The routing table has usually a cost associated to each link Not a monetary cost, more like a preference (lowest preferred) Copyright 2002 Nixu Oy 32/48 The Network Layer

33 Routing table... Common case: LAN connected to Internet using serial line Internet s0 R e /24 Routing table is very simple, typical case for static routing: Destination Next hop Comment /24 e0 Local LAN (Ethernet) * s0 Serial line to Internet (default route) Copyright 2002 Nixu Oy 33/48 The Network Layer

34 Routing table... When amount of routers and redundant links increase to non-trivial numbers, something more flexible is needed Inet L2, 2 Mbps R1 L1, 2M bps /24 R2 L3, 64 kbps s1 e0 s0 R /24 Static routing can not handle redundant links nor link faults > Except on some environments (and even there unreliable) Copyright 2002 Nixu Oy 34/48 The Network Layer

35 Routing table... Routing table for router R3 Destination Next hop Cost Comment /24 e0 0 Directly connected /24 s0 1 Fastest route /24 s1 10 Backup via R2 * s0 1 Fastest route via R1 * s1 10 Slower Cost added to routing table, priorisation of redundant routes How we can know which links are up? > Routing protocol again! Copyright 2002 Nixu Oy 35/48 The Network Layer

36 Routing table... What if we can not have default route at all? Internet "backbone" Multihomed network > Internet connections from many (> 1) ISPs In this case routing table will be very big > And it changes practically all the time Practical example on Internet router ( ) > prefixes (routes) > Routes consume 16MB of memory > Realistic minimum memory for router 64MB Copyright 2002 Nixu Oy 36/48 The Network Layer

37 Routing protocols Routers learn information on network with routing protocols Routing protocols can be divided either by algorithm or by area. By algorithm: No routing protocol (static routes) Link state protocols (SPF) Distance vector protocols (Bellman-Ford) By area: Routing protocols used internally by one AS. Routing protocols used between ASes. Copyright 2002 Nixu Oy 37/48 The Network Layer

38 Distance vector protocols Also known as Bellman-Ford Routers send their entire routing table to their neighbouring routers at regular intervals The routing table is updated based on the information (costs) received from neighbour routers. Only one route to given destination is known at any given time Although changes in network topology change routing table Copyright 2002 Nixu Oy 38/48 The Network Layer

39 Link state protocols Also known as SPF (Shortest Path First) Router sends link state messages to other routers in the network. These packets are flooded to all routers When a router receives link state packet it Builds a table of all routers and networks > Each router knows full network topology Calculates the best route to every network Link state information originates from node, which is "responsible" for the link E.g. nodes connected to that link Copyright 2002 Nixu Oy 39/48 The Network Layer

40 Internal routing protocols Internal routing is routing within one Autonomous System (AS) RIP Routing Information Protocol Old, simple and limited distance-vector protocol > 10 years old RIP-2 Addresses some shortcomings of RIP (E)IGRP (Extended) Interior Gateway Routing Protocol Newer and better distance-vector protocol Proprietary protocol of Cisco Nearly as complex as OSPF Copyright 2002 Nixu Oy 40/48 The Network Layer

41 Internal routing protocols... OSPF Open Shortest Path First Complex but good link-state protocol Developed and recommended by IETF for Internet Good selection of metrics Concept of areas Copyright 2002 Nixu Oy 41/48 The Network Layer

42 External routing protocols External routing is routing between Autonomous Systems Autonomous System is a set of routers and networks under the same administration. Without the concept of AS Internet-routing would become impossible: too many networks. AS3 AS1 AS2 Copyright 2002 Nixu Oy 42/48 The Network Layer

43 External routing protocols... Old protocol: EGP Exterior Gateway Protocol organizes the exchange of reachability information several problems in large networks (looping etc.) New protocol: BGP Border Gateway Protocol Path-vector concept prevents looping Route filtering > Usually a must because somebody will always advertise bogus routes. Copyright 2002 Nixu Oy 43/48 The Network Layer

44 BGP Current version BGP-4 Used between ASes Users: ISPs, transit providers, corporations, multihomed networks Every IP address belongs to one AS For each destination, we find shortest AS path Typical implementation contains gazillion tuning options Route filtering, route advertising, route using, neighborhood,... On some occasions, supports even load balancing Copyright 2002 Nixu Oy 44/48 The Network Layer

45 What routing protocols to implement? RIP Everybody speaks RIP (if anything) Suitable for small environments Simple OSPF Good features Widely used in large environments BGP The external routing protocol Copyright 2002 Nixu Oy 45/48 The Network Layer

46 Special Addresses On the Internet there is an agreement that some addresses are not routed to the backbone / / /12 These addresses are called private networks and used for NAT (Network Address Translation) Copyright 2002 Nixu Oy 46/48 The Network Layer

47 Common routing problems Missing default route On statically routed environments Configuration faults On many platforms, syntax of configuration commands is very hard to manage and/or confusing On some environments, route filtering is a must because some parties advertise bogus routes Routing protocols do not usually have security features Rotten software Some vendors distribute alpha-quality software Bad documentation Copyright 2002 Nixu Oy 47/48 The Network Layer

48 Common routing problems... Lack of expertise Very small amount of Internet specialists actually can manage routing configurations, esp. in non-trivial cases Better documentation needed Bad performance Internet grows all the time and router manufacturers barely keep up with the developments On some environments, some router features (e.g. ACLs) can not be used because of performance issues Copyright 2002 Nixu Oy 48/48 The Network Layer

The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax. The Network Layer Nixu Oy PL 21 (Mäkelänkatu 91) 00601 Helsinki, Finland tel. +358 9 478 1011 fax. +358 9 478 1030 info@nixu.fi http://www.nixu.fi OVERVIEW The Internet Protocol IP addresses, address resolution

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 2: The Internet Protocol Literature: Forouzan: ch 4-9 and ch 27 2004 Image Coding Group, Linköpings Universitet Outline About the network layer Tasks Addressing Routing Protocols 2 Tasks of the

More information

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP IP ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP Peter R. Egli 1/37 Contents 1. IP Routing 2. Routing Protocols 3. Fragmentation in the IP Layer 4. Proxy ARP 5. Routing and IP forwarding

More information

Chapter 5 Network Layer

Chapter 5 Network Layer Chapter 5 Network Layer Network Layer IPv4 2 IP Header Application Header + data 3 IP IP IP IP 4 Focus on Transport Layer IP IP 5 Network Layer The Network layer (Layer 3) provides services to exchange

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

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

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

Vorlesung Kommunikationsnetze

Vorlesung Kommunikationsnetze Picture 15 13 Vorlesung Kommunikationsnetze Prof. Dr. H. P. Großmann mit B. Wiegel sowie A. Schmeiser und M. Rabel Sommersemester 2009 Institut für Organisation und Management von Informationssystemen

More information

The Network Layer and the Transport Layer. IP, TCP and UDP

The Network Layer and the Transport Layer. IP, TCP and UDP The Network Layer and the Transport Layer IP, TCP and UDP Verkkokerros Internet-protokolla (IP) toteuttaa verkkokerroksen Tietoliikennepaketit välitetään erilaisten fyysisten kerrosten ylitse koneelta

More information

The Interconnection Structure of. The Internet. EECC694 - Shaaban

The Interconnection Structure of. The Internet. EECC694 - Shaaban The Internet Evolved from the ARPANET (the Advanced Research Projects Agency Network), a project funded by The U.S. Department of Defense (DOD) in 1969. ARPANET's purpose was to provide the U.S. Defense

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

EEC-684/584 Computer Networks

EEC-684/584 Computer Networks EEC-684/584 Computer Networks Lecture 14 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of last lecture Internetworking

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

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ... 1 Inter-networking COS 460 & 540 2 Problem 3 LAN s are great but We want to connect them together...across the world Inter-networking 4 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 2: Internet Protocol Literature: Forouzan: ch (4-6), 7-9 and ch 31 2004 Image Coding Group, Linköpings Universitet Lecture 2: IP Goals: Understand the benefits Understand the architecture IPv4

More information

FiberstoreOS IP Service Configuration Guide

FiberstoreOS IP Service Configuration Guide FiberstoreOS IP Service Configuration Guide Contents 1 Configuring ARP...4 1.1 Overview...4 1.2 Configuring ARP... 4 1.3 Validation commands...5 2 Configuring Proxy ARP... 7 2.1 Overview...7 2.2 Configuring

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

IP Protocols. ALTTC/Oct

IP Protocols. ALTTC/Oct IP Protocols Internet or IP technology over the years has emerged as the most prominent data communication technology. TCP/IP protocol has become de-facto data comm standard throughout the world. It can

More information

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1 Lecture 8 Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1 Outline Chapter 3 - Internetworking 3.1 Switching and Bridging 3.2

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

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

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model Lecture 8 Basic Internetworking (IP) Reminder: Homework 3, Programming Project 2 due on Tuesday. An example internet is shown at right. Routers or gateways are used to connect different physical networks.

More information

Networking Fundamentals

Networking Fundamentals Networking Fundamentals Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license (http://creativecommons.org/licenses/by-nc/4.0/)

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

Auxiliary protocols. tasks that IP does not handle: Routing table management (RIP, OSPF, etc.). Congestion and error reporting (ICMP).

Auxiliary protocols. tasks that IP does not handle: Routing table management (RIP, OSPF, etc.). Congestion and error reporting (ICMP). Auxiliary protocols IP is helped by a number of protocols that perform specific tasks that IP does not handle: Routing table management (RIP, OSPF, etc.). Congestion and error reporting (ICMP). Multicasting

More information

Introduction to routing in the Internet

Introduction to routing in the Internet Introduction to routing in the Internet Internet architecture IPv4, ICMP, ARP Addressing, routing principles (Chapters 2 3 in Huitema) Internet-1 Internet Architecture Principles End-to-end principle by

More information

IP - The Internet Protocol

IP - The Internet Protocol IP - The Internet Protocol 1 Orientation IP s current version is Version 4 (IPv4). It is specified in RFC 891. TCP UDP Transport Layer ICMP IP IGMP Network Layer ARP Network Access Link Layer Media 2 IP:

More information

FiberstoreOS. IP Service Configuration Guide

FiberstoreOS. IP Service Configuration Guide FiberstoreOS IP Service Configuration Guide Contents 1 Configuring ARP... 1 1.1 Overview... 1 1.2 Configuring ARP... 1 1.3 Validation commands...2 2 Configuring Proxy ARP...4 2.1 Overview... 4 2.2 Configuring

More information

FSOS IP Service Configuration Guide

FSOS IP Service Configuration Guide FSOS IP Service Configuration Guide Contents 1 Configuring ARP... 5 1.1 Overview... 5 1.2 Configuring ARP... 5 1.3 Validation commands...6 2 Configuring Proxy ARP...8 2.1 Overview... 8 2.2 Configuring

More information

IPv4. Christian Grothoff.

IPv4. Christian Grothoff. IPv4 christian@grothoff.org http://grothoff.org/christian/ Sites need to be able to interact in one single, universal space. Tim Berners-Lee 1 The Network Layer Transports datagrams from sending to receiving

More information

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab bacademy for Science &T Technology and Maritime Transport Internet Protocol Suite IP Suite Dr.

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

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi). Assignments Reading for Lecture 9: Section 3.3 3.2 Basic Internetworking (IP) Bridges and LAN switches from last section have limited ability CS475 Networks Lecture 8 Chapter 3 Internetworking is a logical

More information

Aside: Interaction with Link Layer Computer Networking. Caching ARP Entries. ARP Cache Example

Aside: Interaction with Link Layer Computer Networking. Caching ARP Entries. ARP Cache Example Aside: Interaction with Link Layer 15-441 Computer Networking Lecture 8 Addressing & Packets How does one find the Ethernet address of a? ARP Broadcast search for address E.g., who-has 128.2.184.45 tell

More information

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2.

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2. CS 356: Computer Network Architectures Lecture 14: Switching hardware, IP auxiliary functions, and midterm review [PD] chapter 3.4.1, 3.2.7 Xiaowei Yang xwy@cs.duke.edu Switching hardware Software switch

More information

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG Lecture 2: Internet Protocol (IP) Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4185 2-1 Network Layer Provides the upper layers with independence from the data

More information

Internetworking Part 2

Internetworking Part 2 CMPE 344 Computer Networks Spring 2012 Internetworking Part 2 Reading: Peterson and Davie, 3.2, 4.1 19/04/2012 1 Aim and Problems Aim: Build networks connecting millions of users around the globe spanning

More information

Introduction to routing in the Internet

Introduction to routing in the Internet Introduction to routing in the Internet Internet architecture IPv4, ICMP, ARP Addressing, routing principles (Chapters 2 3 in Huitema) Internet-1 Internet Architecture Principles End-to-end principle by

More information

Addressing and Routing

Addressing and Routing Addressing and Routing Andrew Scott a.scott@lancaster.ac.uk Physical/ Hardware Addresses Aka MAC* or link(-layer) address Can only talk to things on same link Unique ID given to every network interface

More information

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst EITF25 Internet Techniques and Applications L7: Internet Stefan Höst What is Internet? Internet consists of a number of networks that exchange data according to traffic agreements. All networks in Internet

More information

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall: Network Layer The Network Layer Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control 1 2 Contents 4.1.1 Connection-Oriented and Connectionless

More information

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control The Network Layer 1 Network Layer Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control 2 Contents Connection-Oriented (virtual circuit)

More information

Internetworking. different kinds of network technologies that can be interconnected by routers and other networking devices to create an internetwork

Internetworking. different kinds of network technologies that can be interconnected by routers and other networking devices to create an internetwork UNIT - II Internetworking An internetwork is a collection of individual networks, connected by intermediate networking devices, that functions as a single large network. different kinds of network technologies

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

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Lecture 3. The Network Layer (cont d) Network Layer 1-1 Lecture 3 The Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router? Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets

More information

Detecting Sniffers on Your Network

Detecting Sniffers on Your Network Detecting Sniffers on Your Network Sniffers are typically passive programs They put the network interface in promiscuous mode and listen for traffic They can be detected by programs such as: ifconfig eth0

More information

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address Outline IP The Internet Protocol o IP Address IP subnetting CIDR o ARP Protocol o IP Function o Fragmentation o NAT o IPv6 2 IP Address o Hostname & IP Address IP Address o The Address ping www.nu.ac.th

More information

ICMP (Internet Control Message Protocol)

ICMP (Internet Control Message Protocol) Today s Lecture ICMP (Internet Control Message Protocol) Internet Protocols CSC / C 573 I. ICMP Overview II. ICMP rror Reporting III. ICMP Query / Response Messages IV. ICMP Message Processing Fall, 2005

More information

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery Computer Networks ICS 651 IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery Routing Information Protocol DV modified with split horizon and poisoned reverse distance

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

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways) Exercise Sheet 4 Exercise 1 (Routers, Layer-3-Switches, Gateways) 1. What is the purpose of Routers in computer networks? (Also explain the difference to Layer-3-Switches.) 2. What is the purpose of Layer-3-Switches

More information

Topics for This Week

Topics for This Week Topics for This Week Routing Protocols in the Internet OSPF, BGP More on IP Fragmentation and Reassembly ICMP Readings Sections 5.6.4-5.6.5 1 Hierarchical Routing aggregate routers into regions, autonomous

More information

Chapter 4 Network Layer

Chapter 4 Network Layer Sungkyunkwan University Chapter 4 Network Layer Prepared by H. Choo 2018-Fall Computer Networks Copyright 2000-2014 2000-2018 Networking Laboratory 1/52 Presentation Outline 4.1 Introduction 4.2 Network-Layer

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

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications. The Internet 9.1 Introduction The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications. Associated with each access network - ISP network, intranet,

More information

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer 1 Switching 2 Page 1 Objectives MAC address table Describe the features

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

Module 7 Internet And Internet Protocol Suite

Module 7 Internet And Internet Protocol Suite Module 7 Internet And Internet Protocol Suite Lesson 22 IP addressing. ICMP LESSON OBJECTIVE General The lesson will continue the discussion on IPv4 along with the idea of ICMP. Specific The focus areas

More information

Internet protocols: ICMP, ARP, DHCP

Internet protocols: ICMP, ARP, DHCP Internet protocols: ICMP, ARP, DHCP Claudio Cicconetti International Master on Information Technology International Master on Communication Networks Engineering Table of Contents

More information

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly The Internet Protocol IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly IP Addresses IP Addresses are 32 bit. Written in dotted decimal format:

More information

Chapter 19 Network Layer: Logical Addressing

Chapter 19 Network Layer: Logical Addressing Chapter 19 Network Layer: Logical Addressing 19.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 19.2 19-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address

More information

Lecture 8. Network Layer (cont d) Network Layer 1-1

Lecture 8. Network Layer (cont d) Network Layer 1-1 Lecture 8 Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets Network

More information

HY 335 Φροντιστήριο 8 ο

HY 335 Φροντιστήριο 8 ο HY 335 Φροντιστήριο 8 ο Χειμερινό Εξάμηνο 2009-2010 Παπακωνσταντίνου Άρτεμις artpap@csd.uoc.gr 4/12/2009 Roadmap IP: The Internet Protocol IPv4 Addressing Datagram Format Transporting a datagram from source

More information

ECE4110 Internetwork Programming. Introduction and Overview

ECE4110 Internetwork Programming. Introduction and Overview ECE4110 Internetwork Programming Introduction and Overview 1 EXAMPLE GENERAL NETWORK ALGORITHM Listen to wire Are signals detected Detect a preamble Yes Read Destination Address No data carrying or noise?

More information

IPv6: An Introduction

IPv6: An Introduction Outline IPv6: An Introduction Dheeraj Sanghi Department of Computer Science and Engineering Indian Institute of Technology Kanpur dheeraj@iitk.ac.in http://www.cse.iitk.ac.in/users/dheeraj Problems with

More information

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6 RMIT University Data Communication and Net-Centric Computing COSC 1111/2061 Internetworking IPv4, IPv6 Technology Slide 1 Lecture Overview During this lecture, we will understand The principles of Internetworking

More information

IP: Addressing, ARP, Routing

IP: Addressing, ARP, Routing IP: Addressing, ARP, Routing Network Protocols and Standards Autumn 2004-2005 Oct 21, 2004 CS573: Network Protocols and Standards 1 IPv4 IP Datagram Format IPv4 Addressing ARP and RARP IP Routing Basics

More information

Solution of Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

Solution of Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways) Solution of Exercise Sheet 4 Exercise 1 (Routers, Layer-3-Switches, Gateways) 1. What is the purpose of Routers in computer networks? (Also explain the difference to Layer-3-Switches.) They forward packets

More information

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS 1. General (5p) a) The so-called hourglass model (sometimes referred to as a wine-glass ) has been used

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

The Internet. The Internet is an interconnected collection of netw orks.

The Internet. The Internet is an interconnected collection of netw orks. The Internet The Internet is an interconnected collection of netw orks. Internetw orking-1 Internetworking! Communications Network: A facility that provides a data transfer service among stations attached

More information

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Today Network layer: Internet Protocol (v4) Forwarding Next 2 classes:

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

Information Network Systems The network layer. Stephan Sigg

Information Network Systems The network layer. Stephan Sigg Information Network Systems The network layer Stephan Sigg Tokyo, November 1, 2012 Error-detection and correction Decoding of Reed-Muller codes Assume a second order (16, 11) code for m = 4. The r-th order

More information

TCP/IP Protocol Suite

TCP/IP Protocol Suite TCP/IP Protocol Suite Computer Networks Lecture 5 http://goo.gl/pze5o8 TCP/IP Network protocols used in the Internet also used in today's intranets TCP layer 4 protocol Together with UDP IP - layer 3 protocol

More information

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Janno< Administrivia IP out today. Your job: Find partners and tell us Implement

More information

Hostname and IP Address

Hostname and IP Address 1/19 IP Addressing Surasak Sanguanpong nguan@ku.ac.th http://www.cpe.ku.ac.th/~nguan Last updated: 27 June 2002 Hostname and IP Address 2/19 browser What is the IP address of www.isoc.org? www.isoc.org

More information

Debian/GNU Linux Networking

Debian/GNU Linux Networking Debian/GNU Linux Networking Basics of the Networking Károly Erdei October 15, 2014 Károly Erdei Debian/GNU Linux Networking 1/41 Agenda 1 Networks 2 Ethernet 3 Internet Protocol 4 TCP 5 DHCP 6 Check Network

More information

BTEC Level 3 Extended Diploma

BTEC Level 3 Extended Diploma BTEC Level 3 Extended Diploma Unit 9 Computer Network Routing and Routing Protocols BTEC Level 3 Extended Diploma Introduction to Routing Routing is the process that a router uses to forward packets toward

More information

(Chapters 2 3 in Huitema) E7310/Internet basics/comnet 1

(Chapters 2 3 in Huitema) E7310/Internet basics/comnet 1 Introduction to routing in the Internet Ethernet, switching vs. routing Internet architecture IPv4 Addressing Routing principles Protocols: IPv4, ICMP, ARP (Chapters 2 3 in Huitema) E7310/Internet basics/comnet

More information

(ICMP), RFC

(ICMP), RFC Internet et Control o Message Protocol (ICMP), RFC 792 http://icourse.cuc.edu.cn/networkprogramming/ linwei@cuc.edu.cn Nov. 2009 Overview The IP (Internet Protocol) relies on several other protocols to

More information

The Transport Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

The Transport Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax. The Transport Layer Nixu Oy PL 21 (Mäkelänkatu 91) 00601 Helsinki, Finland tel. +358 9 478 1011 fax. +358 9 478 1030 info@nixu.fi http://www.nixu.fi OVERVIEW User Datagram Protocol Transmission Control

More information

CS 457 Lecture 11 More IP Networking. Fall 2011

CS 457 Lecture 11 More IP Networking. Fall 2011 CS 457 Lecture 11 More IP Networking Fall 2011 IP datagram format IP protocol version number header length (bytes) type of data max number remaining hops (decremented at each router) upper layer protocol

More information

The IP and Related Protocols

The IP and Related Protocols The IP and Related Protocols IP, CIDR, NAT, ICMP, ARP, DHCP Summer 2013 Internet Service Internet provides an unreliable best effort, connectionless packet delivery system The service makes the earnesst

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

Lecture 11: Networks & Networking

Lecture 11: Networks & Networking Lecture 11: Networks & Networking Contents Distributed systems Network types Network standards ISO and TCP/IP network models Internet architecture IP addressing IP datagrams AE4B33OSS Lecture 11 / Page

More information

Unit 3: Dynamic Routing

Unit 3: Dynamic Routing Unit 3: Dynamic Routing Basic Routing The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. Routers don t really care about

More information

Why dynamic route? (1)

Why dynamic route? (1) Routing Why dynamic route? (1) Static route is ok only when Network is small There is a single connection point to other network No redundant route 2 Why dynamic route? (2) Dynamic Routing Routers update

More information

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Network Layer PREPARED BY AHMED ABDEL-RAOUF Network Layer PREPARED BY AHMED ABDEL-RAOUF Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on receiving side, delivers segments to transport

More information

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3 CS 356: Computer Network Architectures Lecture 15: DHCP, NAT, and IPv6 [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3 Xiaowei Yang xwy@cs.duke.edu Dynamic Host Configuration Protocol (DHCP) Dynamic Assignment

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

Sirindhorn International Institute of Technology Thammasat University

Sirindhorn International Institute of Technology Thammasat University 1 Name...ID....Section. Seat No.. Sirindhorn International Institute of Technology Thammasat University Midterm Examination: Semester 2/2007 Course Title : ITS 332 Information Technology II Lab (Networking)

More information

IP : Internet Protocol

IP : Internet Protocol 1/20 IP : Internet Protocol Surasak Sanguanpong nguan@ku.ac.th http://www.cpe.ku.ac.th/~nguan Last updated: July 30, 1999 Agenda 2/20 IP functions IP header format Routing architecture IP layer 3/20 defines

More information

Internet Control Message Protocol (ICMP)

Internet Control Message Protocol (ICMP) Internet Control Message Protocol (ICMP) 1 Overview The IP (Internet Protocol) relies on several other protocols to perform necessary control and routing functions: Control functions (ICMP) Multicast signaling

More information

2/22/2008. Outline Computer Networking Lecture 9 IP Protocol. Hop-by-Hop Packet Forwarding in the Internet. Internetworking.

2/22/2008. Outline Computer Networking Lecture 9 IP Protocol. Hop-by-Hop Packet Forwarding in the Internet. Internetworking. Outline 5-44 Computer Networking Lecture 9 Protocol Traditional addressing CIDR addressing Peter Steenkiste Departments of Computer Science and Electrical and Computer Engineering Forwarding examples 5-44

More information

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP outing Info 341 Networking and Distributed Applications Context Layer 3 Addresses, fragmentation, reassembly Layer 4 end-to-end communication UDP, TCP outing At layer 3 Often relies on layer 4 Application

More information

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 5 The Network Layer part II Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it IP datagram format IP protocol version number header length (bytes) type of data max number remaining

More information

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding. Integrated Services An architecture for streaming multimedia Aimed at both unicast and multicast applications An example of unicast: a single user streaming a video clip from a news site An example of

More information

CS 477/677 Computer Communications & Networks The Network Layer: IP

CS 477/677 Computer Communications & Networks The Network Layer: IP Network Layer 1 CS 477/677 Computer Communications & Networks The Network Layer: IP Text: Data and Computer Communications, 8 th Edition, William Stallings Chapters 18-18.5, 12, (optional: 19.2-19.4) Objectives:

More information

Question 7: What are Asynchronous links?

Question 7: What are Asynchronous links? Question 1:.What is three types of LAN traffic? Unicasts - intended for one host. Broadcasts - intended for everyone. Multicasts - intended for an only a subset or group within an entire network. Question2:

More information