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

Size: px
Start display at page:

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

Transcription

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 1

2 Background: Local Area Networks E7310/Internet basics/comnet 2

3 Ethernet Most widespread LAN technology Shared medium: Carrier sense multiple access with collision detection (CSMA/CD) Host 1 Host 2 Host 3 Host 4 Shared Ethernet segment Everyone receives everyone s traffic! Supports broadcast (=a host can send a packet to everyone) Limited length! (divide data into shorter pieces - frames) Each frame contains source and destination addresses and error-checking data so that damaged data can be detected and re-transmitted. E7310/Internet basics/comnet 3

4 Interconnecting Ethernet segments with repeaters Repeaters repeats traffic of one segment on the other segment Host 1 Host 2 Host 3 Host 1 Host 2 Host 3 Host 4 Repeater Host 5 Hubs are multi-port repeaters Hub Still everyone receives everyone s traffic! Limited number of repeaters! E7310/Internet basics/comnet 4

5 Bridges learn where hosts are and forward packets only to the segment of the destination Prior to discovery bridges/switches pass all traffic between segments Host 1 Host 2 Host 3 Allows different speeds in different segments Network size not physically limited Host 4 Host 5 Broadcast traffic sent Bridge/switch to all devices (if there is no FIB entry, broadcast/when bridge sees a frame, it learns addresses = MAC learning) A bridge/switch is a improved repeater. E7310/Internet basics/comnet 5

6 Example Host 1 Host 1 Host 2 Host 3 Host 4 Switch Host 2 Host 3 Host 4 Switch Host 1 has a packet to send to Host 4 The switch receives the packet and learns that Host 1 is on interface 1 The switch does not know Host 4 The packet is sent on all interfaces Host 4 has a packet to send to Host 1 The switch receives the packet and learns that Host 4 is on interface 4 The switch now knows that Host 1 is on interface 1 The packet is sent on interface 1 E7310/Internet basics/comnet 6

7 A spanning tree connects all segments without loops Spanning tree protocol Only one possible path between two devices loops are impossible Some bridges are redundant Redundant bridge 1 Note that the packet from host 1 to host 2 must be sent via two bridges, not one! 2 Bridge Bridge Active bridge Bridge A layer 2 network Bridge E7310/Internet basics/comnet 7

8 IP allows building large networks and interconnecting various technologies Internet is a network of networks IP adds a layer, the network layer, on top of the underlying network technologies A common packet format, the IP packet A common address, the IP address Routing end-to-end Routers implement packet forwarding on the network layer Ethernet Router ATM Router Token Ring Router Router Router Frame relay Router Ethernet A layer 3 network E7310/Internet basics/comnet 8

9 Issues to be addressed for the usage of Ethernet in WANs Avoid broadcasting of packets to an unknown destination Limit use of broadcasting Use the shortest path instead of a spanning tree Use all available links for load balancing Faster convergence (rapid spanning tree) Forwarding table size (flat topology) Peering, policies, address hierarchy Do we re-invent IP when these are implemented in Ethernet? E7310/Internet basics/comnet 9

10 Internet Architecture E7310/Internet basics/comnet 10

11 Internet Architecture Principles IP over everything by Vinston Cerf Internet connects different types of networks Each with different framing, addressing, Interconnection based on translation Mapping through a gateway Never perfect Detecting loops is difficult Translation still needed in many cases E.g. signaling interworking, IPv4 to IPv6 mapping Interconnection based on overlay Approach used by IP Single protocol over all underlying networks Simple to adapt to new technologies Define framing or encapsulation Define address resolution: IPaddress! network address Unique IP-address E7310/Internet basics/comnet 11

12 Internet Architecture Principles IP over everything HTTP, FTP, IMAP, SMTP,... TCP, UDP,... IP IEEE-802, ATM, X.25,... This is what has made IP so powerful! This is also what has made it so difficult to replace IP (e.g. with a newer IP)! E7310/Internet basics/comnet 12

13 Routed IP vs. switched Ethernet Routed IP Interworking between network technologies Complex, expensive One route per destination shorter routes load distribution Address allocation Hierarchical address space Switched Ethernet Works with Ethernets Simple, cheap, less layers All destinations use the same spanning tree longer routes congestion on the tree Fixed addresses Flat address space E7310/Internet basics/comnet 13

14 Classical Ethernet vs. IP Flat addressing! each FIB entry is for a single node Spanning tree! no loops Broadcast zone for frames with unknown destination-mac! broadcast storms! limited scalability to nr of network nodes MAC learning populates FIB = adaptive method Hierarchical addressing! aggregate routing entries TTL! packet killed if it loops Route to default route when destination unknown/ broadcast limited to special cases Routing protocols populate RIB and!fib = distributed method Carrier grade Ethernet: FIB populated by management layer, No-MAC-learning and no-broadcasting of frames with unknown dest MACs.! Scales better, more predictable service, but still does not scale as well as IP because of 1) flat addressing and 2) slow management layer. Routed Ethernet improves on the last argument but still just single domain. E7310/Internet basics/comnet 14

15 Internet Architecture Principles End-to-end principle Hop-by-hop control vs. Intelligence in the network Error and flow control on each hop Used in X.25 by David D. Clark End-to-end control Intelligence in end station Error and flow control in end station Used in IP The network can not be trusted The user must in any case check for errors Network control is redundant Error checking and flow control by TCP in the end stations No state information in the network The network is not aware of any connections Packets routed independently If a link fails, another route is used However, NATs (Network Address Translators) break this principle Interconnection; ambiguity caused by address hiding (private IP addresses) E7310/Internet basics/comnet 15

16 Internet Architecture Principles Connectivity is its own reward The value of a network increases in proportion to the square of the number of nodes on the network Be liberal with what you receive, conservative with what you send Try to do your best to understand what you receive Maximum adherence to standard when sending Robert Metcalf's law by Jon Postel Snowballing effect keeps all interested in connectivity, thus, keep adhering to standards E7310/Internet basics/comnet 16

17 Fundamentals, addressing, IPv4, ICMP E7310/Internet basics/comnet 17

18 The IP address defines the interface (not the host) Host 3 IP address C IP address F IP address B Router IP address D IP address E IP address A Host 2 Host 1 E7310/Internet basics/comnet 18

19 On the link layer, every interface has a media specific MAC address Host 3 IP address C MAC c IP address B MAC b Router IP address D MAC d IP address E MAC e IP address F MAC f Host 1 IP address A MAC a Host 2 This represents a subnet (e.g. an Ethernet segment), in which all hosts can send to each other without the help of a router. E7310/Internet basics/comnet 19

20 The Internet layer model in hosts and routers Host 1 Router Host 2 Application Layer URL, SIP address, Application Application Transport Layer port number TCP/ UDP TCP/ UDP Network Layer IP address IP IP IP Link Layer MAC address MAC MAC MAC Physical Layer Network 1 Network 2 Note that a router only operates on the network layer E7310/Internet basics/comnet 20

21 Layers and message forwarding Host 1 Router IP address B MAC b IP address A MAC a IP address C MAC c Host 2 IP address D MAC d Application Application TCP/UDP Router TCP/UDP IP A B IP C D IP MAC a b MAC c d MAC network 1 network 2 Encapsulation: a b, IP Ethernet header A D, TCP IP header TCP header Data Encapsulation: c d, IP Ethernet header A D, TCP IP header TCP header Data E7310/Internet basics/comnet 21

22 IPv4 address formats Originally a two-level (network, host) hierarchy bits MSB Network 0 7 bits 24 bits bits Host 16 bits bits 8 bits bits - multicast address For experimental and future use Class A B C D E E7310/Internet basics/comnet 22

23 IPv4 address formats A new level for easier network administration 1984 Example: Network Subnet Host Address: Mask: Network: first bit = Subnet: address* AND mask = Host: address AND NOT mask = address* = address with network part zeroed NB: Also written as / 14 Later updated by CIDR (Classless Inter-Domain Routing) (discussed later) E7310/Internet basics/comnet 23

24 IPv4 address examples Mask IP address Network Subnet Host /16 /23 /23 / A: B: C: Mask in traditional notation Mask in CIDR notation High order bits: ! A-class ! B-class ! C-class E7310/Internet basics/comnet 24

25 IP address classes A, B, C Network Type Max No. Of Networks Scope of IP Addresses Max No. Of Hosts Private Address Scope A 126 2^7-2) B 16384(2^14) C (2^21) E7310/Internet basics/comnet 25

26 The key functions of routing: 1. Packet forwarding On which interface should this packet be forwarded? Which is the following destination on that network? Host 3 address C address B Router address D address E address F address A Host 2 Host 1 Look in the routing table! E7310/Internet basics/comnet 26

27 The key functions of routing: 2. Collection of information Routers exchange routing information with routing protocols (e.g. RIP, OSPF, BGP) Routing Information Protocol (RIP) Open Shortest Path First (OSPF) Border Gateway Protocol (BGP) Router Router Router E7310/Internet basics/comnet 27

28 The key functions of routing: 3. Generation and selection of routes Routers implement a routing algorithm to generate the routing tables based on the collected information. The routing algorithm and routing protocol are tightly linked. Destination Interface Next hop Distance / / / / / E7310/Internet basics/comnet 28

29 Routers maintain routes to networks (not to hosts) Example Network / 16 Destination Interface Next hop Dist / / / / / Host 3 Network / Network / 16 Router Host 2 Host 1 E7310/Internet basics/comnet 29

30 Aggregation describes several destinations in a single entry to reduce size of routing tables Example Host 3 Network / 16 Network / Network / 16 Router Host 2 Host 1 Network / 8 E7310/Internet basics/comnet 30

31 Special purpose addresses An unknown network is replaced by 0 Only used as source address (e.g. a booting host) = this host in this network 0.X.Y.Z = host X.Y.Z in this network Limited broadcast address To all hosts in the local network Directed broadcast addresses A , B.B , C.C.C.255 To all hosts in a specified network Loopback-address 127.X.X.X (usually ) Internal in one host Multicast-addresses (e.g = all routers on this subnet) E7310/Internet basics/comnet 31

32 IPv4 packet header Version IHL Type of service Total length Identification Flag Fragment offset Time-to-live (TTL) Protocol Header checksum Source IP Address Destination IP Address Optional Padding 32 bits RFC- 791 E7310/Internet basics/comnet 32

33 IPv4 packet header Version IP version number. The current version is 4. IHL Type of service Identification Flag Fragment offset 32 bits Total length Time-to-live (TTL) Protocol Header checksum Internet header Contains 2 fields: length. Expressed Source packet IP Address priority and as number of Destination service IP Address type. 32-bit words. Optional Differentiated the Padding header Services reuses the field for DSCP. Expressed as number of octets in the payload and in RFC- 791 E7310/Internet basics/comnet 33

34 IPv4 packet header Version IHL Time-to-live (TTL) Type of service Identification Flag Fragment offset Protocol Source IP Address Total length Time-to-live. An upper bound on the Destination IP Address Expressed Used when as large time that an IP datagram can Optional exist in number packets are of octets an Internet system. The TTL field is in fragmented the payload when set by the sender of the datagram, and and underlying network reduced by every router on the route 32 bits the has header maximum packet to its destination. The packet length. is deleted when TTL reaches 0. Header checksum Padding E7310/Internet basics/comnet 34

35 IPv4 packet header Protocol, that the receiving host should use to process the packet, e.g. 6=TCP, 17=UDP, 1=ICMP, 89=OSPF Version IHL Time-to-live (TTL) Type of service Identification Flag Fragment offset Protocol Optional Protect the header of IPv4 data packets against data corruption. The header checksum is calculated as 16 bit one s complement sum Source IP Address Destination IP Address Total length Header checksum Padding IP address of the sender of the packet. IP address of the receiver of the packet 32 bits Used for special types of information or tricks. One packet can carry many option fields. E7310/Internet basics/comnet 35

36 The most important fields in routing are the destination address and the time-to-live Version IHL Type of service Total length Identification Flag Fragment offset Time-to-live (TTL) Protocol Source IP Address Destination IP Address Options Header checksum Padding Every router decrements the TTL! must calculate new checksum Options (e.g. source routing, record route, timestamp) rarely/never used in practice. E7310/Internet basics/comnet 36

37 The original Type of service field Precedence D T R C Precedence The packet with the highest precedence is first taken from the queue to be routed. Route selection criteria D minimization of delay T maximization of transmission capacity R maximization of reliability C minimization of cost Only one can be selected. In practice, these were not used E7310/Internet basics/comnet 37

38 DiffServ reuses the Type of service field DSCP ECN Differentiated Services Code Point (DSCP) Indicates the traffic class Each traffic class receives different behavior in case of congestion. Classes defined by the operator Explicit Congestion Notification (ECN) Used to mark packets when congestion occurs (instead of dropping them) 00 - Non ECN-Capable Transport 10 - ECN Capable Transport ECN Capable Transport Congestion Encountered Requires support from upper layer protocols (TCP) E7310/Internet basics/comnet 38

39 Options: Source routing allows the sender to determine the route Type Length Pointer Address 1 Address 2... Address N Common to all options Implemented with the source routing options Loose source routing (type 131, ) The packet is sent to the next address in the list using normal routing. Strict source routing (type 137, ) The packet is sent to the next address in the list. If there is no direct link to the address, the packet is destroyed. Slow and unsecure Rarely used Can be replaced by encapsulation: A!C, IP-IP A!B, TCP TCP Data E7310/Internet basics/comnet 39

40 ICMP Internet Control Message Protocol Purpose: Give feedback about the network operation. An ICMP packet is sent to the source if e.g. The destination is unreachable TTL expires All hosts and routers must support ICMP. ICMP messages are transported in IP packets If a ICMP message is dropped, a new one is not generated to avoid the snowballing effect. RFC- 792 E7310/Internet basics/comnet 40

41 ICMP messages Types: 0 - Echo reply (used for ping ) 3 - Destination unreachable 4 - source quench (= slow down ) (dropped from recommendations) 5 - Redirect 8 - Echo (used for ping ) 9 - Router advertisement 10 - Router solicitation 11 - Time exceeded (TTL reached 0) 12 - Parameter problem 13 - Timestamp 14 - Timestamp reply 15 - Information request 16 - Information reply Codes for Destination Unreachable 0 - network unreachable 1 - host unreachable 2 - protocol (TCP/UDP/OSPF) unreachable 3 - port unreachable 4 - fragmentation needed and the DF-bit (Don t Fragment) is set 5 - source route failed Type Code Header checksum 0-field IP header + leading 8 octets of original datagram 32 bits E7310/Internet basics/comnet 41

42 Packet sending how to determine the next hop The sender checks if the destination address is in the same sub-network by comparing the masked values of the source and destination address. If same, the destination is in the same subnet (next hop = destination). Otherwise, the packet must be sent to a router (next hop = router). It then obtains the media address (MAC-address) of the next hop using the ARP-protocol. (ARP: Address Resolution Protocol) Sender ARP request (broadcast) ARP reply The destination recognizes its own address The media address is stored in the cache. Note: All hosts in the same subnet store the address in their cache. E7310/Internet basics/comnet 42

43 ARP Address Resolution Protocol Purpose: Translate an IP-address to a MAC-address ARP maps IP to the underlying protocol Each network technology requires its own ARP adaptation. Easy if the network supports broadcast or multicast. E.g. Ethernet, Token Ring, FDDI Broadcast to everyone, the indicated destination replies ATM requires a special ARP-server Manually defined address for point-to-point links E.g. X.25, ISDN, Frame-Relay Works on top of Ethernet (not on top of IP) RFC- 826 E7310/Internet basics/comnet 43

44 Router discovery How does the host know the address of the router? Configure manually Obtain with DHCP Dynamic Host Configuration Protocol Configured by administrator, still needs manual work Listen to routing protocols Uses resources of the host, too many routing protocols! not used today Automatic router discovery with ICMP network Y X LAN1 LAN2 B E7310/Internet basics/comnet 44

45 ICMP router discovery (1) The routers send router advertisements to all hosts periodically (e.g. in 7 minute intervals) network ICMP messages: Y Router advertisement (to all hosts) X LAN1 LAN2 B List of the router s addresses. The preference of the addresses, which are used to identify the normal, reserve, etc. router or router address (the preference of the default router is highest) Lifetime of the information (e.g. 30 min) RFC E7310/Internet basics/comnet 45

46 ICMP router discovery (2) The host would have to wait up to 7 minutes before it can send packets outside its sub-network. Using a router solicitation, the host gets the advertisement immediately network X ICMP messages: Router advertisement Y Router solicitation (to all routers) LAN1 B LAN2 E7310/Internet basics/comnet 46

47 ICMP router discovery (3) The host chooses the router with the highest priority as its default router (default gateway). All packets for destinations outside the sub-network are then sent to the default router. Any advertisement from a router outside the sub-network is discarded E7310/Internet basics/comnet 47

48 A network may have many routers, the closest to the destination should be used A packet sent through the default router reaches the destination, but may waste resources A Packet A! B (a!x) Y network X Default router Packet A! B (x!y) Packet A! B (y!b) B E7310/Internet basics/comnet 48

49 A network may have many routers, the closest to the destination should be used The router can send a redirect to indicate a shorter route to the destination A Packet A! B (a!x) Y Type Code Header checksum IP address! router=y IP header + 8 octets of the original network datagram Type X Default Code router 5 redirect 0 redirect for network (no mask!) 1 redirect for host 2 for type of service and network 4 for type of service and host Packet A! B (x!y) Packet A! B (y!b) ICMP redirect use router Y instead Packet A! B (a!y) Packet A! B (y!b) B E7310/Internet basics/comnet 49

50 Host must have feedback from the first router to avoid sending to a black hole Feedback may be TCP acknowledgements Router advertisements ARP-replies ICMP echo reply (ping) Between routers, routing protocols provide similar feedback and help in detecting failed router neighbors. E7310/Internet basics/comnet 50

51 Virtual Router Redundancy Protocol (VRRP) network A X Master Y Backup Router advertisement from virtual MAC address E XX I m alive! I m alive! Purpose: Provide a backup for the default router Several physical routers advertise a virtual router to the hosts Only one of the physical routers (the master router) is active, doing the actual routing on behalf of the virtual router The master router periodically sends multicast packets to all VRRP routers Based on Cisco's Hot Standby Router Protocol (HSRP) RFC E7310/Internet basics/comnet 51

52 Virtual Router Redundancy Protocol (VRRP) network A X Master Y Backup Router advertisement from virtual MAC address E XX I m alive! I m alive! X Router advertisement from the same virtual MAC address E XX I m alive! Timeout Becomes Master If no multicast message is received within a timeout, the master router is considered to have failed and a backup router becomes the master router RFC E7310/Internet basics/comnet 52

53 DNS Domain Name Service Purpose: Map a host name to an IP address Why DNS? Easier to remember names than addresses Allows address changes without changing the name Several addresses per host Several names per host Extensions: service location (e.g. server), ENUM DNS does not affect routing, routers only deal with IP addresses RFC RFC E7310/Internet basics/comnet 53

54 Routing algorithms E7310/Internet basics/comnet 54

55 Internet routing is based on routing protocols, which collect information Routing is completely automatic and distributed No offline route planning Only dimensioning is made offline The routers communicate with a routing protocol The routing protocol implements a routing algorithm that finds the shortest (cheapest, fastest, etc.) route to every destination E7310/Internet basics/comnet 55

56 Routing in the Internet is generally dynamic, but static routing is used in some cases Dynamic routing is based on routing protocols which create and maintain the routing tables automatically examples of routing protocols are RIP, OSPF, BGP... Dynamic routing is cooperative in nature and assumes an implicit trust between the routers. Static routing is based on manually configured routing tables. Static routing is used when e.g. two peer providers do not trust each other To connect an organization to a service provider with a single connection Static routing is difficult to maintain E7310/Internet basics/comnet 56

57 Routing is divided into interior and exterior exterior neighbors Autonomous System (AS) = networks operated by a single organization and having a common routing strategy border router - at least one neighbor belongs to another autonomous system interior neighbors In this course we only deal with interior routing. Exterior routing in S Network Service Provisioning E7310/Internet basics/comnet 57

58 Routing is divided into interior and exterior Interior routing protocols Routing Information Protocol (RIP), RIP-2 Open Shortest Path First (OSPF) Interior Gateway Routing Protocol (IGRP), EIGRP Intermediate System-to-Intermediate System (IS-IS) Exterior routing protocols External Gateway Protocol (EGP) (historical) Border Gateway Protocol version 4 (BGP-4) E7310/Internet basics/comnet 58

59 Routing algorithms Proactive vs. reactive Proactive The router creates and maintains routes to all destinations The routes are available in advance The routing algorithms in the Internet are proactive Reactive Routes are created only when they are needed Used in e.g. ad hoc networks (discussed later in this course) E7310/Internet basics/comnet 59

60 Routing algorithms Distance vector vs. link state Distance vector Distance vectors are sent, until the state of the network is stable Routers only have a local view of the network The routers cooperate to generate the routes Example: RIP Link state Topology descriptions are sent periodically and nodes generate a map over the network Every router generates the routes independently of the other routers Example: OSPF E7310/Internet basics/comnet 60

61 Routing algorithms Distance vector vs. link state Distance vector Simple and lightweight + Slow convergence - Only one route per destination - Only one metric - Link state Complex and heavy - Fast convergence + Several routes per destination + Supports different metrics + E7310/Internet basics/comnet 61

62 Hop-by-hop routing vs. source routing Hop-by-hop routing (not to be confused with hop-by-hop error & flow control) The sender specifies only the destination Intermediate nodes use a routing table to forward the traffic closer to the destination Requires consistent routes in all nodes Internet: Used in the Internet PSTN: Corresponds to SOC (Sequential Office Control) Source routing The sender lists the nodes through which the traffic should be sent Requires that the sender has complete information (e.g. from OSPF) of the network Internet: Possible with source routing option but rarely used (if route inserted by a host, it can not be trusted) PSTN: Corresponds to OOC (Originating Office Control) Loose source routing can be thought as a mix between these E7310/Internet basics/comnet 62

63 Address prefixes in BGP routing table E7310/Internet basics/comnet 63

64 Number of Autonomous Systems Internet AS Allocated AS AS announced on the Internet AS Date E7310/Internet basics/comnet 64

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

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. 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

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

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

The Internetworking Problem. Internetworking. A Translation-based Solution

The Internetworking Problem. Internetworking. A Translation-based Solution Cloud Cloud Cloud 1 The Internetworking Problem Internetworking Two nodes communicating across a network of networks How to transport packets through this heterogeneous mass? A B The Internetworking Problem

More information

Introduction to Internetworking

Introduction to Internetworking Introduction to Internetworking Introductory terms Communications Network Facility that provides data transfer services An internet Collection of communications networks interconnected by bridges and/or

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

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

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

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

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

Internet Protocols (chapter 18)

Internet Protocols (chapter 18) Internet Protocols (chapter 18) CSE 3213 Fall 2011 Internetworking Terms 1 TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol

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

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

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12 TCP/IP Networking Training Details Training Time : 9 Hours Capacity : 12 Prerequisites : There are no prerequisites for this course. About Training About Training TCP/IP is the globally accepted group

More information

The Internet Protocol (IP)

The Internet Protocol (IP) The Internet Protocol (IP) The Blood of the Internet (C) Herbert Haas 2005/03/11 "Information Superhighway is really an acronym for 'Interactive Network For Organizing, Retrieving, Manipulating, Accessing

More information

CHAPTER-2 IP CONCEPTS

CHAPTER-2 IP CONCEPTS CHAPTER-2 IP CONCEPTS Page: 1 IP Concepts IP is a very important protocol in modern internetworking; you can't really comprehend modern networking without a good understanding of IP. Unfortunately, IP

More information

Network Layer (4): ICMP

Network Layer (4): ICMP 1 Network Layer (4): ICMP Required reading: Kurose 4.4.3, 4.4.4 CSE 4213, Fall 2006 Instructor: N. Vlajic 2 1. Introduction 2. Network Service Models 3. Architecture 4. Network Layer Protocols in the Internet

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

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

SEN366 (SEN374) (Introduction to) Computer Networks

SEN366 (SEN374) (Introduction to) Computer Networks SEN366 (SEN374) (Introduction to) Computer Networks Prof. Dr. Hasan Hüseyin BALIK (12 th Week) The Internet Protocol 12.Outline Principles of Internetworking Internet Protocol Operation Internet Protocol

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

(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

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

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

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

Agenda L2 versus L3 Switching IP Protocol, IP Addressing IP Forwarding ARP and ICMP IP Routing First Hop Redundancy

Agenda L2 versus L3 Switching IP Protocol, IP Addressing IP Forwarding ARP and ICMP IP Routing First Hop Redundancy Primer IP Technology L2 Ethernet Switching versus L3 routing IP Protocol, IP Addressing, IP Forwarding ARP and ICMP IP Routing, OSPF Basics First Hop Redundancy (HSRP) Agenda L2 versus L3 Switching IP

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

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land IPv6 1 IPv4 & IPv6 Header Comparison IPv4 Header IPv6 Header Ver IHL Type of Service Total Length Ver Traffic Class Flow Label Identification Flags Fragment Offset Payload Length Next Header Hop Limit

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

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

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

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

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

Unit 5: Internet Protocols skong@itt-tech.edutech.edu Internet Protocols She occupied herself with studying a map on the opposite wall because she knew she would have to change trains at some point. Tottenham

More information

Table of Contents. Cisco TCP/IP

Table of Contents. Cisco TCP/IP Table of Contents TCP/IP Overview...1 TCP/IP Technology...1 TCP...1 IP...2 Routing in IP Environments...4 Interior Routing Protocols...5 RIP...5 IGRP...6 OSPF...6 Integrated IS IS...6 Exterior Routing

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

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples. About the Tutorial Internet Protocol version 4 (IPv4) is the fourth version in the development of the Internet Protocol (IP) and the first version of the protocol to be widely deployed. IPv4 is described

More information

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local 1 v4 & v6 Header Comparison v6 Ver Time to Live v4 Header IHL Type of Service Identification Protocol Flags Source Address Destination Address Total Length Fragment Offset Header Checksum Ver Traffic Class

More information

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address ARP, IP Chong-Kwon Kim Routing Within a LAN MAC Address Each station (or network interface) should be uniquely identified Use 6 byte long address Broadcast & Filter Broadcast medium Signals are transmitted

More information

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri Department of Computer and IT Engineering University of Kurdistan Network Layer By: Dr. Alireza Abdollahpouri What s the Internet: nuts and bolts view PC server wireless laptop cellular handheld millions

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

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

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC Internet Control Message Protocol (ICMP), RFC 79 Prof Lin Weiguo Copyleft 009~07, School of Computing, CUC Oct 07 Overview } The IP (Internet Protocol) relies on several other protocols to perform necessary

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

Configuring Routes on the ACE

Configuring Routes on the ACE CHAPTER2 This chapter describes how the ACE is considered a router hop in the network when it is in routed mode. In the Admin or user contexts, the ACE supports static routes only. The ACE supports up

More information

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I Hello and welcome to today s lecture on TCP/IP. (Refer Slide

More information

Introduction to IPv6. IPv6 addresses

Introduction to IPv6. IPv6 addresses Introduction to IPv6 (Chapter 4 in Huitema) IPv6,Mobility-1 IPv6 addresses 128 bits long Written as eight 16-bit integers separated with colons E.g. 1080:0000:0000:0000:0000:0008:200C:417A = 1080::8:800:200C:417A

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

Overview. Information About Layer 3 Unicast Routing. Send document comments to CHAPTER

Overview. Information About Layer 3 Unicast Routing. Send document comments to CHAPTER CHAPTER 1 This chapter introduces the basic concepts for Layer 3 unicast routing protocols in Cisco NX-OS. This chapter includes the following sections: Information About Layer 3 Unicast Routing, page

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

Internet Protocol, Version 6

Internet Protocol, Version 6 Outline Protocol, Version 6 () Introduction to Header Format Addressing Model ICMPv6 Neighbor Discovery Transition from to vs. Taken from:chun-chuan Yang Basics: TCP/ Protocol Suite Protocol (IP) Features:

More information

TCP /IP Fundamentals Mr. Cantu

TCP /IP Fundamentals Mr. Cantu TCP /IP Fundamentals Mr. Cantu OSI Model and TCP/IP Model Comparison TCP / IP Protocols (Application Layer) The TCP/IP subprotocols listed in this layer are services that support a number of network functions:

More information

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review. THE OSI MODEL Application Presentation Session Transport Network Data-Link Physical OSI Model Chapter 1 Review By: Allan Johnson Table of Contents Go There! Go There! Go There! Go There! Go There! Go There!

More information

Internetwork Protocols

Internetwork Protocols Internetwork Protocols Background to IP IP, and related protocols Internetworking Terms (1) Communications Network Facility that provides data transfer service An internet Collection of communications

More information

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms Chapter 15&16 Internetworking Internetwork Structure & Terms Internetworking Architecture Features Connection/Connectionless Architecture Fragmentation & Reassembly Internet Protocol & Services Addressing

More information

Networking: Network layer

Networking: Network layer control Networking: Network layer Comp Sci 3600 Security Outline control 1 2 control 3 4 5 Network layer control Outline control 1 2 control 3 4 5 Network layer purpose: control Role of the network layer

More information

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964 The requirements for a future all-digital-data distributed network which provides common user service for a wide range of users having different requirements is considered. The use of a standard format

More information

Administrivia CSC458 Lecture 4 Bridging LANs and IP. Last Time. This Time -- Switching (a.k.a. Bridging)

Administrivia CSC458 Lecture 4 Bridging LANs and IP. Last Time. This Time -- Switching (a.k.a. Bridging) Administrivia CSC458 Lecture 4 Bridging LANs and IP Homework: # 1 due today # 2 out today and due in two weeks Readings: Chapters 3 and 4 Project: # 2 due next week Tutorial today: Joe Lim on project 2

More information

EEC-484/584 Computer Networks

EEC-484/584 Computer Networks EEC-484/584 Computer Networks Lecture 13 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of lecture 12 Routing Congestion

More information

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁 II Sören Schwertfeger 师泽仁 Outline Review Network Layer Routing Transport Layer Applications HTTP Demos Internet: Huge network of networks Billions of hosts (computers) Internet Structure Network Edge:

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

ECE 158A: Lecture 7. Fall 2015

ECE 158A: Lecture 7. Fall 2015 ECE 158A: Lecture 7 Fall 2015 Outline We have discussed IP shortest path routing Now we have a closer look at the IP addressing mechanism We are still at the networking layer, we will examine: IP Headers

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

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

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

ETSF05/ETSF10 Internet Protocols Network Layer Protocols ETSF05/ETSF10 Internet Protocols Network Layer Protocols 2016 Jens Andersson Agenda Internetworking IPv4/IPv6 Framentation/Reassembly ICMPv4/ICMPv6 IPv4 to IPv6 transition VPN/Ipsec NAT (Network Address

More information

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August The requirements for a future all-digital-data distributed network which provides common user service for a wide range of users having different requirements is considered. The use of a standard format

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

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch 3.1.5 & 3.2 Xiaowei Yang xwy@cs.duke.edu Review Past lectures Single link networks Point-to-point,

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

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

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits Lecture 2 Outline Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits TCP/IP protocol suite Good name for our book! User application, e.g., http with Mozilla Communication

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

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

Networks. an overview. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. February 4, 2008

Networks. an overview. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. February 4, 2008 Networks an overview dr. C. P. J. Koymans Informatics Institute University of Amsterdam February 4, 2008 dr. C. P. J. Koymans (UvA) Networks February 4, 2008 1 / 53 1 Network modeling Layered networks

More information

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

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network Question No: 1( M a r k s: 1 ) A ---------- Relies on the hardware manufacturer to assign a unique physical

More information

Routing Overview. Information About Routing CHAPTER

Routing Overview. Information About Routing CHAPTER 21 CHAPTER This chapter describes underlying concepts of how routing behaves within the ASA, and the routing protocols that are supported. This chapter includes the following sections: Information About

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

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

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

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen Lecture 4 - Network Layer Networks and Security Jacob Aae Mikkelsen IMADA September 23, 2013 September 23, 2013 1 / 67 Transport Layer Goals understand principles behind network layer services: network

More information

Information About Routing

Information About Routing 19 CHAPTER This chapter describes underlying concepts of how routing behaves within the adaptive security appliance, and the routing protocols that are supported. The chapter includes the following sections:,

More information

ICS 351: Networking Protocols

ICS 351: Networking Protocols ICS 351: Networking Protocols IP packet forwarding application layer: DNS, HTTP transport layer: TCP and UDP network layer: IP, ICMP, ARP data-link layer: Ethernet, WiFi 1 Networking concepts each protocol

More information

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram networks 4.3 what s inside a router 4.4 IP: Internet Protocol datagram format IPv4 addressing ICMP 4.5 routing algorithms link state

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

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Original slides by Cisco Press & Priscilla Oppenheimer Selection Criteria for Switching and Routing Protocols Network traffic

More information

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting Outline Routing Fundamentals of Computer Networks Guevara Noubir Introduction Broadcasting and Multicasting Shortest Path Unicast Routing Link Weights and Stability F2003, CSG150 Fundamentals of Computer

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

Lecture 19: Network Layer Routing in the Internet

Lecture 19: Network Layer Routing in the Internet Lecture 19: Network Layer Routing in the Internet COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F

More information

Layering and Addressing CS551. Bill Cheng. Layer Encapsulation. OSI Model: 7 Protocol Layers.

Layering and Addressing CS551.  Bill Cheng. Layer Encapsulation. OSI Model: 7 Protocol Layers. Protocols CS551 Layering and Addressing Bill Cheng Set of rules governing communication between network elements (applications, hosts, routers) Protocols define: Format and order of messages Actions taken

More information

ICMP (Internet Control Message Protocol)

ICMP (Internet Control Message Protocol) ABSTRACT : ICMP stands for internet control message protocol it is a vital protocol of network layer among the seven layers of OSI(open system interconnection). Here we deal with the several situations

More information

Network Security Fundamentals. Network Security Fundamentals. Roadmap. Security Training Course. Module 2 Network Fundamentals

Network Security Fundamentals. Network Security Fundamentals. Roadmap. Security Training Course. Module 2 Network Fundamentals Network Security Fundamentals Security Training Course Dr. Charles J. Antonelli The University of Michigan 2013 Network Security Fundamentals Module 2 Network Fundamentals Roadmap Network Fundamentals

More information

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16 CIS 551 / TCOM 401 Computer and Network Security Spring 2006 Lecture 16 Announcements Midterm II March 21st (One week from today) In class Same format as last time Will cover all material since Midterm

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

Introduction to Computer Networks

Introduction to Computer Networks Introduction to Computer Networks Tian Song ( 嵩天 ), Ph.D., Assoc. Prof. songtian@bit.edu.cn Introduction to Computer Networks ICMP, ARP, DHCP, OSPF, BGP Tian Song ( 嵩天 ), Ph.D., Assoc. Prof. songtian@bit.edu.cn

More information

Lab 4: Routing using OSPF

Lab 4: Routing using OSPF Network Topology:- Lab 4: Routing using OSPF Device Interface IP Address Subnet Mask Gateway/Clock Description Rate Fa 0/0 172.16.1.17 255.255.255.240 ----- R1 LAN R1 Se 0/0/0 192.168.10.1 255.255.255.252

More information