Midterm Review. Lab 4: dynamic routing protocols.

Slides:



Advertisements
Similar presentations
IP Forwarding Relates to Lab 3.
Advertisements

1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
Media Access Control (MAC) addresses in the network access layer ▫ Associated w/ network interface card (NIC) ▫ 48 bits or 64 bits IP addresses for the.
1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
CS 356: Computer Network Architectures Lecture 10: IP forwarding
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
Internet Control Message Protocol (ICMP)
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
CSEE W4140 Networking Laboratory Lecture 3: IP Forwarding and ICMP Jong Yul Kim
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 11 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CSEE W4140 Networking Laboratory Lecture 3: IP Forwarding and ICMP Jong Yul Kim
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
EEC-484/584 Computer Networks Lecture 11 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Lecture 1 Overview: roadmap 1.1 What is computer network? the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  network.
EEC-484/584 Computer Networks Lecture 11 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
IP Addressing. Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
1 Overview Midterm Solution Lab 5 Questions Lab Trouble Shooting Techniques.
DHCP: Dynamic Host Configuration Protocol
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
ITS CSS Desktop Support Introduction to networking concepts Last updated: 9/30/2008 by pxahelp.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
IP Forwarding.
ICS 156: Lecture 2 (part 1) Today:  IP addressing  Data link protocols and ARP  Notes about lab.
ICS156 final review Xiaowei Yang. What this course is about  Reinforcing basic networking concepts  Practical networking knowledge  Today Review concepts.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
© Jörg Liebeherr, Organization Addresses TCP/IP Protocol stack Forwarding Internet.
1 Network Layer Lecture 15 Imran Ahmed University of Management & Technology.
Transport Layer3-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
BAI513 - PROTOCOLS ARP BAIST – Network Management.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
1 The Network Layer 1.Review of ARP 2.IP - The Internet Protocol 3.ICMP - Internet Control Message Protocol 4.IP Forwarding 5.Notes on lab References:
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
1 Address Resolution Protocol (ARP). 2 Overview 3 Need for Address Translation Note: –The Internet is based on IP addresses –Local area networks use.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Address Resolution Protocol (ARP)
Scaling the Network Chapters 3-4 Part 2
IP: Addressing, ARP, Routing
Address Resolution Protocol (ARP)
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
ICMP ICMP – Internet Control Message Protocol
Address Resolution Protocol (ARP)
Net 323: NETWORK Protocols
Address Resolution Protocol (ARP)
IP Forwarding Relates to Lab 3.
EEC-484/584 Computer Networks
IP Forwarding Relates to Lab 3.
EEC-484/584 Computer Networks
Wide Area Networks and Internet CT1403
Address Resolution Protocol (ARP)
IP Addressing Introductory material
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Address Resolution Protocol (ARP)
1 ADDRESS RESOLUTION PROTOCOL (ARP) & REVERSE ADDRESS RESOLUTION PROTOCOL ( RARP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University,
IP Forwarding Relates to Lab 3.
IP Forwarding Relates to Lab 3.
Presentation transcript:

Midterm Review

Lab 4: dynamic routing protocols

3 Typo on Page 144 Table 4.2 –Should be router 4 instead of router 1

4 How Cost is Set on a Router The default cost each router adds is 1. When Router B announces to Router C the network /24, the cost metric is 1. Offset-list 0 in value Iface (increases the metric of incoming RIP packets) Offset-list 0 out value Iface (increases the metric of outgoing RIP packets) At router B, if we run offset-list 0 out 10 eth1, then the metric for /24 is 11; if we run offset-list 0 in 10 eth1, then the metric for the network /24 announced by C becomes 11. Router ARouter B Router C / / / / eth0eth1

5 Exercise (4B): count-to-infinity Time consuming to reproduce, but interesting. Why does count-to-infinity still exist with split horizon? Lab report due after midterm Router2 Router4 Router3 Router

6 Why does count-to-infinity still exist with split horizon? Router2 Router4 Router3 Router X /24 Router3’s routing table: /24 ?? 1 Router2’s routing table: /24 ?? 1 Router4’s routing table: /24 Router3 3 Router2 is not Router4’s next hop. Router4 sends to router2 the routing update Router2’s routing table: /24 Router 4 4 This lie will be told to Router3 and Circulates in the system  count-to-infinity Suppose updates happen in the following sequence: 1.The update from PC3 arrives at Router 3 2.The update from Router 3 arrives at Router 2 3.The update from Router 4 arrives at Router 2 PC3

Midterm review

8 What you’ll be tested on Basic lab commands –E.g., ping, traceroute, tcpdump, ethereal, ifconfig, how to copy a file, how to list a directory Basic trouble shooting –E.g., I cannot ping , why? Basic networking concepts –E.g., layering principle, multiplexing, and encapsulation Protocols we’ve covered so far –ARP –ICMP –IP How to design a protocol

9 Address translation protocol What is it used for? What is an ARP cache used for? Proxy ARP ARP is “hop-by-hop”

10 Address Translation with ARP ARP Request: Argon broadcasts an ARP request to all stations on the network: “What is the hardware address of ?”

11 Address Translation with ARP ARP Reply: Router 137 responds with an ARP Reply which contains the hardware address

12 ARP Packet Format

13 Example ARP Request from Argon: Source hardware address: 00:a0:24:71:e4:44 Source protocol address: Target hardware address: 00:00:00:00:00:00 Target protocol address: ARP Reply from Router137: Source hardware address: 00:e0:f9:23:a8:20 Source protocol address: Target hardware address: 00:a0:24:71:e4:44 Target protocol address:

14 ARP Cache Since sending an ARP request/reply for each IP datagram is inefficient, hosts maintain a cache (ARP Cache) of current entries. The entries expire after a time interval. Contents of the ARP Cache: ( ) at 00:10:4B:C5:D1:15 [ether] on eth0 ( ) at 00:B0:D0:E1:17:D5 [ether] on eth0 ( ) at 00:B0:D0:DE:70:E6 [ether] on eth0 ( ) at 00:05:3C:06:27:35 [ether] on eth1 ( ) at 00:B0:D0:E1:17:DB [ether] on eth0 ( ) at 00:B0:D0:E1:17:DF [ether] on eth0

15 Proxy ARP Proxy ARP: Host or router responds to ARP Request that arrives from one of its connected networks for a host that is on another of its connected networks.

16 ICMP What is it used for? –E.g. error reporting, route redirect When will an ICMP message be triggered? Application programs that use ICMP –Ping, traceroute

17 IP Network order versus host order Structure of an IP address CIDR addressing Route aggregation Longest prefix match Fragmentation

18 An IP address is often written in dotted decimal notation Each byte is identified by a decimal number in the range [0..255]: st Byte = nd Byte = rd Byte = th Byte =

19 Structure of an IP address network prefixhost number An IP address encodes both a network number (network prefix) and an interface number (host number). –network prefix identifies a network –the host number identifies a specific host (actually, an interface on the network). –All hosts on the same single segment network have the same network prefix. 0 31

20 Network prefix is variable length A network mask specifies the number of bits used to identify a network in an IP address Addr Mask

21 CIDR notation CIDR notation of an IP address: – /24 –/24 is the prefix length. It states that the first 24 bits are the network prefix of the address (and the remaining 8 bits are available for specific host addresses)

22 Network prefix versus address prefix CIDR notation can nicely express blocks of addresses –An address block –[ , ] –can be represented by an address prefix /16 –All addresses whose first 16 bits are the same as those in are in the address block or match the address prefix /16 –How many addresses are there in a /x address block? 2 (32-x) A network prefix is the first n bits in an IP address that identifies a single-segment network.

23 How to assign network prefixes from an address prefix An organization obtains an address prefix /16 The organization has two LANS. LAN1 has at most 500 hosts; LAN2 has at most 100 hosts. Assign network prefixes to each LAN. Algorithm 1.Figure out the length of the network prefix –2 32-x 1 ¸ 500  x 1 = 23 –2 32-x 2 ¸ 100  x 2 = 25 2.Allocate subdivisions of /16 to each LAN – /23 [ , ]  LAN1 – /25 [ , ]  LAN2

24 Protocol Design human protocols: “what’s the time?” “I have a question” introductions … specific msgs sent … specific actions taken when msgs received, or other events network protocols: machines rather than humans all communication activity in Internet governed by protocols protocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt

25 What’s a protocol? a human protocol and a computer network protocol: Q: Other human protocols? Hi Got the time? 2:00 TCP connection req TCP connection response Get time

26 How to review Lecture notes Lab and pre-lab Sample midterm