based on Chapter 8 of CompTIA Network+ Exam Guide, Mike Meyers

Similar documents
Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Exam 1 Review Questions

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

The IP Transmission Process. V1.4: Geoff Bennett

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

CHAPTER 3 STATIC ROUTING

IP Addressing Introductory material.

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

How To Configure InterVLAN Routing on Layer 3 Switches

Configuring IP Load Sharing in AOS Quick Configuration Guide

Wave Relay System and General Project Details

Layer 3 Routing User s Manual

IP Addressing. IP Addresses. Introductory material.

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

CCT vs. CCENT Skill Set Comparison

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW)

Computer Networks I Laboratory Exercise 1

GregSowell.com. Mikrotik Basics

DG Forwarding Algorithm

Internetworking II: VPNs, MPLS, and Traffic Engineering

LAB THREE STATIC ROUTING

Internetworking and Internet-1. Global Addresses

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Ethernet. Ethernet. Network Devices

ICS 351: Today's plan. IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration

Cisco Certified Network Associate (CCNA) 120 Hours / 12 Months / Self-Paced WIA Fee: $

Future Internet Technologies

Introduction to LAN/WAN. Network Layer (part II)

ICS 351: Today's plan

Internet Addresses (You should read Chapter 4 in Forouzan)

Device Interface IP Address Subnet Mask Default Gateway

Router and Routing Basics

Internet Control Protocols Reading: Chapter 3

configure WAN load balancing

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

CUSTOMIZED ASSESSMENT BLUEPRINT COMPUTER SYSTEMS NETWORKING PA. Test Code: 8148 Version: 01

Lab IP Addressing Overview

Part A:Background/Preparation

04 Internet Protocol (IP)

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

Lab a Basic Subnetting

Virtual LANs. or Raj Jain

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall How to Deal With Heterogeneity & Scale?

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

Lecture Computer Networks

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Advanced routing scenarios POLICY BASED ROUTING: CONCEPTS AND LINUX IMPLEMENTATION

IP Routing Configuring Static Routes

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Technical Support Information Belkin internal use only

Final for ECE374 05/06/13 Solution!!

Networking Technology Online Course Outline

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

How To Load balance traffic of Mail server hosted in the Internal network and redirect traffic over preferred Interface

Lab Organizing CCENT Objectives by OSI Layer

What is VLAN Routing?

Network Layer: Network Layer and IP Protocol

Troubleshooting Bundles and Load Balancing

One of the most important topics in any discussion of TCP/IP is IP. IP Addressing

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

The Internet/Network Layer

Cisco Configuring Basic MPLS Using OSPF

How To Make A Network Secure

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

IP Routing Features. Contents

- Hubs vs. Switches vs. Routers -

How To Load Balance On A Cisco Cisco Cs3.X With A Csono Css 3.X And Csonos 3.5.X (Cisco Css) On A Powerline With A Powerpack (C

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Chapter 6 Configuring IP

CS335 Sample Questions for Exam #2

Enabling NAT and Routing in DGW v2.0 June 6, 2012

Configure WAN Load Balancing

Hands-on MESH Network Exercise Workbook

Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Transport and Network Layer

Session Title: Exploring Packet Tracer v5.3 IP Telephony & CME. Scenario

PART IV. Network Layer

SSVP SIP School VoIP Professional Certification

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Networking. Systems Design and. Development. CRC Press. Taylor & Francis Croup. Boca Raton London New York. CRC Press is an imprint of the

Internet Protocol version 4 Part I

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Configuring the Transparent or Routed Firewall

IP address format: Dotted decimal notation:

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

Overview of Routing between Virtual LANs

Chapter 7. Firewalls

Transcription:

Routing and IPv4 based on Chapter 8 of CompTIA Network+ Exam Guide, Mike Meyers Routing Hosts on separate subnets are connected by many possible paths through the Internet Choosing a path to follow, based on IP addresses, is the process of routing 1

Open Visual Traceroute The point of this chapter is: How does the Internet choose a route to someplace like unam.mx? brief answer Each router in the path chooses another router to send the packet to, based on its IP address No router knows the entire path This is distributed knowledge So how does each router decide what "next" router to forward the packet to????? 2

Topics Home Routers and Backbone Routers Routing Tables Network Address Translation Dynamic Routing Distance Vector Link State BGP Hybrid Working with Routers Routers Routers: Receive an incoming packet on a port Inspect its IP address Choose an outgoing port based on the network ID portion of the IP address Forward the packet to that port IP addresses are layer 3 values so routers are layer 3 devices 3

Home Routers Home routers are actually multi-function devices Ethernet switch layer-2 device 802.11 Access Point layer-2 device two-port router layer-3 device Routers operate on two (or more) different networks the local one and the "Internet connection" This diagram shows a Linksys wireless router, implementing the Internet link and the local network as two VLANs ("Virtual LAN") The Access Point would be part of vlan0 Backbone Routers High-capacity routers handle multiple throughputs Example: Cisco XR12410 "core router" 10 slots 10 Gbps per slot 200 Gbps total throughput Many kinds of ports available to plug into slots Ethernet, SONET, FDDI, etc. $61,000 for a refurbished unit plus port adapters Dimensions: 37.5 inches high, 19 inches wide, 24 inches deep, 275 pounds 4

Configuring a router Web interfaces - Router has a built-in webserver - Home routers in particular Dedicated ports on the router itself - Requires physical access to the router - Generally on commercial routers - Cisco, et al provide their own configuration software and interfaces Network connection via SSH - Secure Shell encrypted network connection between nodes - Allows more secure remote access to routers The Routing Function Many data packets are addressed to destinations on other networks than the source Broadcasting an ARP who-has to the entire Internet is impractical Packets must be moved from the source s network to the destination s network Routers must know how to get from network to network a routing animation: montcs.bloomu.edu/networking/simulations/tomsho/router.swf http://montcs.bloomu.edu/networking/simulations/tomsho/router.swf 5

Router Hops This transmission takes three hops from source router to destination router. Another route might take more, or fewer. Routing Tables Router queues incoming packets layer-2 headers are discarded Packet's destination IP address is compared to entries in the router's routing table Best-matching entry in routing table provides: Gateway: IP address for next hop (next router) Interface: which router port to forward packet to 6

A Basic Routing Table Destination Subnet Mask Gateway Interface Metric 148.137.59.0 255.255.255.0 148.137.59.1 eth0 2 192.168.122.0 255.255.255.192 * eth1 1 0.0.0.0 0.0.0.0 * eth0 2 default 0.0.0.0 148.137.59.1 eth0 2 Destination a network ID all directly connected networks are included Subnet mask description of entry s size Gateway IP address of the next-hop router Interface the appropriate outgoing port Metric "cost" in hops to use this route Routing Tables and Network Nodes Routers and hosts all have routing tables Linux: route or netstat r Windows: route print or netstat r 7

Routing Tables and Network Nodes Routers and hosts all have routing tables but not many entries in individual hosts tables Windows: route print or netstat r Linux: route or netstat r Routing-Table Entries (Windows version) Where is it going? How much of the address is network ID? What gateway is it going to? Which interface leads to that gateway? How "expensive" is that link? 8

Routing-Table Entries 1 The most-specific applicable entry will be used: 0.0.0.0, 0.0.0.0 Default route. Matches anything, sends to the local subnet gateway via this node's NIC. 127.0.0.0, 255.0.0.0 Any address in the Loopback net goes to 127.0.0.1 Routing-Table Entries 2 148.137.59.0, 255.255.255.0 Local subnet. This node can use ARP to send directly, so is its own "gateway". 148.137.59.42, 255.255.255.255 Node is sending to itself. Goes to Loopback (127.0.0.1) 9

Linux Configured As A Router The "eth1" IP address is 172.16.0.1 Any 172.16.0.0/19 traffic goes through NIC "eth1" Any 192.168.122.0/24 traffic goes through "eth0" All other traffic goes through "eth0" to another router, at 192.168.122.1 Routing-Table Entries 3 148.137.255.255, 255.255.255.255 Broadcast to the BloomU network. Campus routers may accept or reject these. 224.0.0.0, 240.0.0.0 Multicast addresses. Handled on this machine. 255.255.255.255, 255.255.255.255 Global IP broadcast. Backbone routers reject these, nowadays. 10

example a Cisco router s routing table Routing Table Can t contain all possible IP addresses this would be nearly 4 billion entries! Destination Address Range Link Interface 11001000 00010111 00010000 00000000 through 0 11001000 00010111 00010111 11111111 4 billion possible entries 11001000 00010111 00011000 00000000 through 1 11001000 00010111 00011000 11111111 11001000 00010111 00011001 00000000 through 2 11001000 00010111 00011111 11111111 otherwise 3 11

Longest prefix matching Prefix Match Link Interface 11001000 00010111 00010 0 11001000 00010111 00011000 1 11001000 00010111 00011 2 otherwise 3 Examples DestAddr: 11001000 00010111 00010110 10100001 Which interface? DestAddr: 11001000 00010111 00011000 10101010 Which interface? 12