Precept 5 Router & Assignment 2 1 Peng Sun. How VNS works Just informational You don’t have to know it to finish assignment 2.

Slides:



Advertisements
Similar presentations
Florida State UniversityCOP Advanced Unix Programming Raw Sockets Datalink Access Chapters 25, 26.
Advertisements

Router Implementation Project-2
Precept 3 Host Configuration 1 Peng Sun. What TCP conn. running? Commands netstat [-n] [-p] [-c] (Linux) lsof -i -P (Mac) ss (newer version of netstat)
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
Lab 4: Simple Router CS144 Lab 4 Screencast May 2, 2008 Ben Nham Based on slides by Clay Collier and Martin Casado.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
1 Some TCP/IP Basics....NFSDNSTELNETSMTPFTP UDPTCP IP and ICMP Ethernet, serial line,..etc. Application Layer Transport Layer Network Layer Low-level &
Spring 2003CS 4611 Internetworking COS 461 Spring 2003.
Internet Networking Spring 2003
IP Routing: an Introduction. Quiz
1 Reminding - ARP Two machines on a given network can communicate only if they know each other’s physical network address ARP (Address Resolution Protocol)
CSC458/2209 PA1 Simple Router Based on slides by: Antonin Seyed Amir Hejazi 19/09/2014 CSC458/ Computer Networks, University of Toronto.
ICMP: Ping and Trace CCNA 1 version 3.0 Rick Graziani Spring 2005.
1 Internet Control Message Protocol (ICMP) RIZWAN REHMAN CCS, DU.
1 ICMP – Using Ping and Trace CCNA Semester
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Defining the IP Packet Delivery Process INTRO v2.0—4-1.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Internet Control Message Protocol ICMP. ICMP has two major purposes: –To report erroneous conditions –To diagnose network problems ICMP has two major.
DHCP: Dynamic Host Configuration Protocol
Aug 20 th, 2002 Sigcomm Education Workshop 1 Teaching tools for a network infrastructure teaching lab The Virtual Router and NetFPGA Sigcomm Education.
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005.
Copyright 2002, Marchany TCP/IP Review Randy Marchany VA Tech Computing Center Spring, 2001.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
PA3: Router Junxian (Jim) Huang EECS 489 W11 /
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Examining TCP/IP.
A day in the life: scenario
IP Forwarding.
CS 453 Computer Networks Lecture 21 Layer 3 Network Layer Network Layer of the Internet.
CDPA 網管訓練 駭客任務 2 Ethernet Switching ARP, IP, LAN, Subnet IP Header, Routing ICMP
Internet Ethernet Token Ring Video High Speed Router Host A: Client browser: REQUEST:http//mango.ee.nogradesu.edu/c461.
5: Link Layer Part Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
Birgit Bonham: Prospect High School ARP….or What’s your MAC address?
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
1 Requirements for Internet Routers (Gateways) and Hosts Relates to Lab 3. (Supplement) Covers the compliance requirements of Internet routers and hosts.
Any PC networksyour router http server 1 http server 2 eth0: eth2: eth1:
or call for office visit,
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Internet Control Message Protocol (ICMP)
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Internet Control Message Protocol (ICMP)
Networking CS 3470, Section 1 Sarah Diesburg
or call for office visit, or call Kathy Cheek,
Network Tools and Utilities
Building an Internet Router
Internet Control Message Protocol (ICMP)
or call for office visit,
ICMP – Using Ping and Trace
Network Architecture Introductory material
Internet Control Message Protocol (ICMP)
CS 457 – Lecture 10 Internetworking and IP
Internet Control Message Protocol (ICMP)
ICMP – Using Ping and Trace
Internet Control Message Protocol (ICMP)
Review of Important Networking Concepts
Chapter 6 The Data Link layer
Advanced Computer Networks
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Wide Area Networks and Internet CT1403
46 to 1500 bytes TYPE CODE CHECKSUM IDENTIFIER SEQUENCE NUMBER OPTIONAL DATA ICMP Echo message.
Synthesis A day in the life of a web request
Networking and Network Protocols (Part2)
Packet Switch Architectures
Presentation transcript:

Precept 5 Router & Assignment 2 1 Peng Sun

How VNS works Just informational You don’t have to know it to finish assignment 2

How VNS works 3 Virtual Router Server A B Application Servers Firewall Virtual Router Client Raw Ethernet Frame

Your VR Client Receive a Raw Ethernet Frame Analyze headers to decide actions Modify the frame e.g., decrement TTL, update checksum Or generate new frame e.g., ARP reply, ICMP echo reply Specify interface & Send the new frame to VR server 4

How Router works Scenario: A TCP connection to one application server 5

6 A A A Virtual Router Server Application Servers Firewall Your Client IP0 IP1 IP3 IP2 IP5 IP4 dstgweth IP3 eth1 IP4 eth2 OtherIP5eth0 Routing Table IPHW ARP Table 1. ARP Request on eth0: How has IP3?

7 A A A Virtual Router Server Application Servers Firewall Your Client IP0 IP1 IP3 IP2 IP5 IP4 dstgweth IP3 eth1 IP4 eth2 OtherIP5eth0 Routing Table IPHW ARP Table 2. ARP Reply on eth0: eth0 HW has IP3

8 A A A Virtual Router Server Application Servers Firewall Your Client IP0 IP1 IP3 IP2 IP5 IP4 dstgweth IP3 eth1 IP4 eth2 OtherIP5eth0 Routing Table IPHW ARP Table 3. IP packet on eth0: destined for IP3

9 A A A Virtual Router Server Application Servers Firewall Your Client IP0 IP1 IP3 IP2 IP5 IP4 dstgweth IP3 eth1 IP4 eth2 OtherIP5eth0 Routing Table IPHW ARP Table 4. ARP request on eth1: Who has IP3?

10 A A A Virtual Router Server Application Servers Firewall Your Client IP0 IP1 IP3 IP2 IP5 IP4 dstgweth IP3 eth1 IP4 eth2 OtherIP5eth0 Routing Table IPHWeth IP3HW3eth1 ARP Table 5. ARP reply on eth1: HW3 has IP3

11 A A A Virtual Router Server Application Servers Firewall Your Client IP0 IP1 IP3 IP2 IP5 IP4 dstgweth IP3 eth1 IP4 eth2 OtherIP5eth0 Routing Table ARP Table 6.IP packet on eth1: HW3 in Ethernet header. Destined for IP3 IPHWeth IP3HW3eth1

Big / Little endian Network order: big endian Host order: usually little endian (x86) Functions: htonl, htons ntohl, ntohs 12

Some Exam Questions Spring’11 Midterm Q1 Spring’10 Midterm Q1 Spring’09 Midterm Q4 etc. 13