SlideShare a Scribd company logo
1 of 89
The Wonderful World of Routing




          Chapter 8
Objectives
• Explain how routers work
• Describe dynamic routing technologies
• Install and configure a router successfully
Overview
Three Parts to Chapter 8
• How Routers Work
• Dynamic Routing
• Working with Routers
How Routers Work
• Router
  – Hardware or software
  – Forwards packet based on destination IP
    address
  – Layer 3, the Network layer
  – Classically, dedicated boxes
    • At least two connections
  – Popular router: CISCO 2600
Figure 8.1 Cisco 2611 router
• Home router
  –   First exposure to a router for most techs
  –   Connect PC to DSL receiver or cable modem
  –   More than it appears to be
  –   LAN side may connect internally to a built-in
      switch
Figure 8.2 Business end of a typical home router
Figure 8.3 Cisco router diagram
Figure 8.4 Linksys home router diagram
• All routers
  – Examine packets
  – Send packets to proper destination
• Routing Tables
  – Router strips off Layer 2 information
  – Drops IP packet into a queue
     • Source address is not important
     • Every packet dropped into the same queue based
       on time of arrival
  – Router inspects the destination IP address
  – Router send IP packet out correct port
  – Routing table tells router where to send packets
Figure 8.5 Incoming packets
Figure 8.6 All incoming packets stripped of Layer 2
            data and dropped into a common queue
• Routing Tables (cont.)
  – Example home router (Figure 8.7)
     • Two ports
     • Each row in table defines a single route
     • Each column identifies specific criteria
          – Destination LAN IP
          – Subnet Mask
     • If packet’s network ID matches a Destination LAN IP,
       router uses other information in row to determine
       where to send it
• Routing Tables (cont.)
  – Example home router (Figure 8.7)
     • Third and fourth columns
        – Gateway
            » IP address for the next hop router
            » Packet sent to Gateway if network ID does not
              match one of the directly connected ports
        – Interface
            » Tells router which port to use
            » “LAN” or “WAN” on sample router
            » Other routing tables use IP address or other info
• Routing Tables (cont.)
  – Example home router (Figure 8.7)
     • First Router compares destination IP address to
       every listing in the routing table
     • Then router makes a decision
• Routing Tables (cont.)
  – Example home router (Figure 8.7)
     • Every router (with two exceptions) has a default route
     • Default route in Figure 8.7
         – Destination LAN IP: 0.0.0.0
         – Subnet Mask: 0.0.0.0
         – Gateway: 76.30.4.1
         – Interface: WAN
     • Router sends incoming packet to default route unless
       another line gives another route
• Routing Tables (cont.)
  – Example home router (Figure 8.7)
     • Destination LAN IP: 10.12.14.0 (any packet for this
       network)
     • Subnet Mask: 255.255.255.0 (using /24 network ID)
     • Gateway: 0.0.0.0 (don’t use a gateway)
     • Interface: LAN (ARP on the LAN interface to get MAC
       address and send directly to host)
• Routing Tables (cont.)
  – Example home router (Figure 8.7)
     • Destination LAN IP: 76.30.4.0 (any packet for this
       network)
     • Subnet Mask: 255.255.254.0 (using /23 network ID)
     • Gateway: 0.0.0.0 (don’t use a gateway)
     • Interface: WAN (ARP on the WAN interface to get MAC
       address and send directly to host)
Figure 8.7 Routing table from a home
  router
Figure 8.8 Electronic diagram of the router
Figure 8.9 The network based on the routing table
• Routing Tables (cont.)
  – Every node on the network has a routing table
     • Some computers (multi-homed) have more
       than one NIC
     • IP uses a routing table for every packet it sends
         – Send directly to a host on a LAN or …
         – Send to the default gateway
• Routing Tables (cont.)
  – Computer routing table (next slide)
     • More routes than example home router
     • Computer IP address: 10.12.14.201/24
     • Computer loopback: 127.0.0.1
     • Metric: a relative value defining the “cost” of using a
       route
         – When more than one route to a destination,
           lower metric is used
         – When route with lower metric goes down,
           other route used
Figure 8.10 Two routes to the same network
Figure 8.11 When a route no longer works, the
  router         automatically switches
Routing table on an XP computer connected to Figure 8.7 router
IPv4 portion of Vista route print command
• Freedom from Layer 2
  – Routers can connect different network
    technologies
  – Routers strip off all Layer 2 data
  – Routers can connect almost anything that
    stores IP packets
Figure 8.12 Modular Cisco router
Figure 8.13 Network setup
Figure 8.14 Ports at work
Figure 8.15 Redone network IDs; nodes in the LAN
            use private IP addressees internally
• Inside the router
  – Host 192.168.10.202 sends a packet to 12.43.65.223
  – Packet is sent to the gateway router
  – Router replaces the sending host’s IP with its
    own public IP address
  – Router then adds the destination IP address
    and the source ephemeral port to the
    NAT translation table
  – On receiving response, router reverses the IP
    addresses and ports
Figure 8.16 NATing a packet
Figure 8.17 Updating the packet
• Inside the router (cont.)
  – Router compares incoming destination
    port and source address to entries in NAT
    translation table
  – Determines which local IP address to put
    back on the packet
  – Sends packet to the correct computer on
    the LAN
• Port forwarding
  – Hides a port number from the Internet
  – Enables public servers to work behind a
    NAT router
  – Gives servers the protection of NAT while
    allowing access to a local server from the
    Internet
Dynamic Routing
A. Background
  1. Routers have static routes
    I. Manually entered
    II. Detected at setup by the router
• Background (cont.)
  2. Dynamic routing protocols defined
    I. Routers communicate among themselves
         with change information
    II. Update each other on changes about direct
         connections and distant routers
    III. A passage of a packet through a single router
         is a hop
Figure 8.22 Lots of routers
Figure 8.23 Hopping through a WAN
Dynamic Routing Makes the Internet
  1. Internet depends on dynamic routing for
     self-healing
  2. Manual updating impossible with so many
     routes coming up and going down
Table 8.1     Dynamic Routing Protocols

 Protocol Type                IGP(Intergateway protocol)or Notes
                              BGP(Border Gateway)?
 RIPv1      Distance vector   IGP   Old; only used classful subnets
 RIPv2      Distance vector   IGP   Supports CIDR
 BGP-4      Distance vector   BGP   Used on the Internet, connects
                                    Autonomous Systems
 OSPF       Link state        IGP   Fast, popular, uses Area IDs
                                    (Area 0/backbone)
 IS-IS      Link state        IGP   Alternative to OSPF
 EIGRP      Hybrid            IGP   Cisco proprietary
Working with Routers
A. Simple physical installation
  1. Home router
    I. Give it power
    II. Plug in connections
  2. Business-class router
    I. Insert it into a rack
    II. Give it power
    III. Plug in connections
B. Connecting to Routers
  1. Each router must be configured
  2. Yost cable
    I. Oldest method for connecting to router for
         configuration
    II. Almost unique to Cisco-brand routers
    III. Also called rollover cable
Figure 8.39 Cisco console cable
B. Connecting to Routers
  3. Managed devices include both routers
     and advanced switches that can be
     configured
  4. Plug the rollover into console port on
     Cisco router; plug other end into serial
     port on a PC (may need USB-to-serial
     adapter)
Figure 8.40 Console port
B. Connecting to Routers
  5. Use a terminal emulation program to talk
     to the router from the PC over this
     connection
    I. PuTTY
    II. HyperTerminal
    III. Serial port settings: 9600 baud, 8 data bits,
         1 stop bit, no parity
Figure 8.41 Configuring PuTTY
B. Connecting to Routers
  6. Once connected and running terminal
     emulator
    I. You will see the initial router prompt
    II. On Cisco router, this is the Cisco IOS prompt
    III. Working with IOS commands
       a.   Type enable and press ENTER
       b.   Prompt changes to Router#
       c.   IOS is complex
       d.   Newer CISCO routers will lead you through initial
            configuration for basic setup
Figure 8.42 Initial router prompt
B. Connecting to Routers
  7. Normally, you will access a router
     through Web access or network
     management software (both explored
     next)
  8. Web access
    I. Most routers have a built-in Web server
    II. Can do everything you need to do
B. Connecting to Routers
  8. Web access
    III. Easier than working with Cisco
         command-line IOS
    IV. Web access only works if router has a built-in
         IP address from the factory, or you must
         enable Web interface after assigning an IP
         address to the router
    V. To access the Web interface, you must know
         the IP address
B. Connecting to Routers
  8. Web access
    VI. Most techs use a laptop and a special cable
        (Yost or rollover or crossover) to connect
        directly to router for initial configuration
       a. Know the IP address of the router
       b. Assign to the laptop an IP address with the same
          network ID of the router
       c. Connect to router
Figure 8.43 Default IP address
B. Connecting to Routers
  8. Web access
       d. Check the link lights to verify proper connection
       e. Open the Web browser and enter the IP address
          of the router
       f. You will need to enter the default user name and
          password (check the router’s documentation)
       g. Once logged in, find the settings you need
Figure 8.44 Entering the IP address
Figure 8.45 User name and password
B. Connecting to Routers
  9.
B. Connecting to Routers
  9. Network Management Software
    III. Often a Web site
    IV.Administrators manage network and
         make necessary changes
    V. Proprietary tools (OEM)
      a. By manufacturers of managed devices
      b. Usually very powerful and easy to use
      c. Only work on that OEM’s devices
Figure 8.46 Cisco Network Assistant
B. Connecting to Routers
  9. Network Management Software
    VI.Third-party NMS tools
      a. Some free
      b. Usually harder to configure
      c. Must constantly be updated to work with as
         many devices as possible
      d. Usually lack the amount of detail in an OEM
         NMS
B. Connecting to Routers
  9.Network Management Software
    VI.Third-party NMS tools
      e. While CiscoWorks enables you to change the
         IP address of a port, third-party tools only let
         you see the IP settings
      f. OpenNMS is a popular open-source NMS
Figure 8.47 OpenNMS
B. Connecting to Routers
  10.Other connection methods
    I. Most routers have more than one way
        to connect
    II. Home router may come with a USB port
        and configuration software
      a. More powerful routers may allow connection
         with Telnet protocol or newer Secure Shell
         (SSH)
B. Connecting to Routers
  10.Other connection methods
      a. Terminal emulations protocols that look like
         the terminal emulators seen earlier, but that
         use the network rather than a serial cable
      b. More on terminal emulators in Chapter 9,
         “TCP/IP Applications”
C.                         Basic Router
                           Configuration
     1.Must have at least two connections
     2.You must properly configure every port on

     3.Make sure the routing table sends packets
C. Basic Router Configuration
  4. STEP 1: Set up the WAN side
    I. WAN side in home or small business router
         connects to an ISP
    II. Get setup information from ISP
    III. Most home routers use DHCP on the WAN
         side and just need to be configured to use
         DHCP
C. Basic Router Configuration
  4. STEP 1: Set up the WAN side
    i. May need to enter a static address
    ii. You can buy a single static IP address
    iii. If static address, ISP will tell you what to
         enter into the router
Figure 8.48 The setup
Figure 8.49 WAN router setup
C. Basic Router Configuration
  5. STEP 2: Set up the LAN
    I.                        You usually have
                              total control over the

                              LAN side
    II.                       Choose a network ID
                              from the private
                              range
    III.                      Assign the correct IP
Figure 8.50 Entering a static IP
Figure 8.51 Setting up an IP address for LAN side
C. Basic Router Configuration
  6. STEP 3: Establish routes
    I. Router will usually build a routing table based
         on information you provided
    II. You may add more routes if needed
    III. Use IOS command line on Cisco routers
C. Basic Router Configuration
  7. STEP 4 (Optional): Configure a Dynamic
     Protocol
    I. Dynamic routing protocols tied to
        individual NICs
    II. When you connect two routers together,
        make sure the NICs are configured to use
        the same dynamic routing protocol
C. Basic Router Configuration
  7. STEP 4 (Optional): Configure a Dynamic
     Protocol
    III. Unless you are in charge of two or more
         routers, you will never use a dynamic
         routing protocol
    IV. Once a dynamic routing protocol is turned
         on, it is all automatic
C. Basic Router Configuration
  8. Document and back up
    I.Document what you’ve done to configure each

    II.Back up the configuration using whatever
D. Router Problems
  1.Consider non-router issues first, because

    I. Check NICs, computer, and switches
        before router
    II. Routers are more reliable than other
        equipment
D. Router Problems
  2. Keep in mind what your router is
     supposed to do
    I. Does it just route traffic?
    II. Does it also perform NAT?
    III. Is routing failing, or is another function
         of the router failing?
D. Router Problems
  3. Know how to use a few basic tools
     that can help you check the router
    I. TRACEROUTE
       a. Records the route between any two hosts
       b. Like PING, it sends out a single packet to
          another host
       c. Unlike PING, it returns information about
          every router between them
D. Router Problems
  3. Know how to use a few basic tools
     that can help you check the router
    I. TRACEROUTE
       d.   Tells you when things are not working
       e.   Gives you an idea of where to look for a problem
       f.   Windows – TRACERT
       g.   UNIX/Linux – TRACEROUTE
       h.   UNIX/Linux – My TRACEROUTE (MTR)
            i.Dynamic, continually updating the route
Figure 8.52 MTR in action

More Related Content

What's hot

Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
Uccn1003  -may10_-_lect04a_-_intro_to_routing_rulesUccn1003  -may10_-_lect04a_-_intro_to_routing_rules
Uccn1003 -may10_-_lect04a_-_intro_to_routing_rulesShu Shin
 
Uccn1003 -may10_-_lect01b_-_intro_to_network_devices_addressing
Uccn1003  -may10_-_lect01b_-_intro_to_network_devices_addressingUccn1003  -may10_-_lect01b_-_intro_to_network_devices_addressing
Uccn1003 -may10_-_lect01b_-_intro_to_network_devices_addressingShu Shin
 
Networking Chapter 12
Networking Chapter 12Networking Chapter 12
Networking Chapter 12mlrbrown
 
Chapter 3 Networking
Chapter 3 NetworkingChapter 3 Networking
Chapter 3 Networkingmlrbrown
 
Networking Chapter 14
Networking Chapter 14Networking Chapter 14
Networking Chapter 14mlrbrown
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1VISHNU N
 
Networking Chapter 16
Networking Chapter 16Networking Chapter 16
Networking Chapter 16mlrbrown
 
Networking Chapter 5
Networking Chapter 5Networking Chapter 5
Networking Chapter 5mlrbrown
 
Uccn1003 -may10_-_lect02a_-_intro_to_networking_commands_software
Uccn1003  -may10_-_lect02a_-_intro_to_networking_commands_softwareUccn1003  -may10_-_lect02a_-_intro_to_networking_commands_software
Uccn1003 -may10_-_lect02a_-_intro_to_networking_commands_softwareShu Shin
 
A presentation on networking and ccna
A presentation on networking and ccnaA presentation on networking and ccna
A presentation on networking and ccnavivek kumar
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of RoutersKishore Kumar
 
Topic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpipTopic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpipAtika Zaimi
 
Networking Chapter 9
Networking Chapter 9Networking Chapter 9
Networking Chapter 9mlrbrown
 
Networking Chapter 13
Networking Chapter 13Networking Chapter 13
Networking Chapter 13mlrbrown
 
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLSBASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLSamiteshg
 
Ccna PPT
Ccna PPTCcna PPT
Ccna PPTAIRTEL
 

What's hot (20)

Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
Uccn1003  -may10_-_lect04a_-_intro_to_routing_rulesUccn1003  -may10_-_lect04a_-_intro_to_routing_rules
Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
 
Uccn1003 -may10_-_lect01b_-_intro_to_network_devices_addressing
Uccn1003  -may10_-_lect01b_-_intro_to_network_devices_addressingUccn1003  -may10_-_lect01b_-_intro_to_network_devices_addressing
Uccn1003 -may10_-_lect01b_-_intro_to_network_devices_addressing
 
Networking Chapter 12
Networking Chapter 12Networking Chapter 12
Networking Chapter 12
 
Chapter 3 Networking
Chapter 3 NetworkingChapter 3 Networking
Chapter 3 Networking
 
Networking Chapter 14
Networking Chapter 14Networking Chapter 14
Networking Chapter 14
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Networking Chapter 16
Networking Chapter 16Networking Chapter 16
Networking Chapter 16
 
Networking Chapter 5
Networking Chapter 5Networking Chapter 5
Networking Chapter 5
 
Uccn1003 -may10_-_lect02a_-_intro_to_networking_commands_software
Uccn1003  -may10_-_lect02a_-_intro_to_networking_commands_softwareUccn1003  -may10_-_lect02a_-_intro_to_networking_commands_software
Uccn1003 -may10_-_lect02a_-_intro_to_networking_commands_software
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
Basic network training2
Basic network training2Basic network training2
Basic network training2
 
Basic network training1
Basic network training1Basic network training1
Basic network training1
 
Basic network training3
Basic network training3Basic network training3
Basic network training3
 
A presentation on networking and ccna
A presentation on networking and ccnaA presentation on networking and ccna
A presentation on networking and ccna
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 
Topic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpipTopic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpip
 
Networking Chapter 9
Networking Chapter 9Networking Chapter 9
Networking Chapter 9
 
Networking Chapter 13
Networking Chapter 13Networking Chapter 13
Networking Chapter 13
 
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLSBASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
 
Ccna PPT
Ccna PPTCcna PPT
Ccna PPT
 

Viewers also liked

Chapter_2_CCNA2
Chapter_2_CCNA2Chapter_2_CCNA2
Chapter_2_CCNA2sunabozu
 
Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static RoutingYaser Rahmati
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocolselvakumar_b1985
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
Step by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerStep by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerSorath Asnani
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And AnswersCCNAResources
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1CAVC
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer) Arz Sy
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 
Routing Information Protocol (RIP)
Routing Information Protocol(RIP)Routing Information Protocol(RIP)
Routing Information Protocol (RIP)waqasahmad1995
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 

Viewers also liked (16)

Chapter_2_CCNA2
Chapter_2_CCNA2Chapter_2_CCNA2
Chapter_2_CCNA2
 
Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static Routing
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocol
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Step by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerStep by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet Tracer
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And Answers
 
Presentation on router
Presentation on routerPresentation on router
Presentation on router
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer)
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
Routing Information Protocol (RIP)
Routing Information Protocol(RIP)Routing Information Protocol(RIP)
Routing Information Protocol (RIP)
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
IP Routing Tutorial
IP Routing TutorialIP Routing Tutorial
IP Routing Tutorial
 

Similar to Networking Chapter 8

Routing of netwok protocls and how .pptx
Routing of netwok protocls and how .pptxRouting of netwok protocls and how .pptx
Routing of netwok protocls and how .pptxsayidkhalif
 
11 coms 525 tcpip - internet protocol - forward
11   coms 525 tcpip - internet protocol - forward11   coms 525 tcpip - internet protocol - forward
11 coms 525 tcpip - internet protocol - forwardPalanivel Kuppusamy
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1Joshua Torres
 
Packet transfer mechanism using routers and IP addresses
Packet transfer mechanism using routers and IP addresses Packet transfer mechanism using routers and IP addresses
Packet transfer mechanism using routers and IP addresses myrajendra
 
1164 Routers
1164 Routers1164 Routers
1164 Routerstechbed
 
Advance Applied Networking with classes.
Advance Applied Networking with classes.Advance Applied Networking with classes.
Advance Applied Networking with classes.ArcyJeromeGallardo2
 
Week3 part 2
Week3  part 2Week3  part 2
Week3 part 2trayyoo
 
CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1Irsandi Hasan
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersĐồng Quốc Vương
 
BÀI TẬP 01.docx
BÀI TẬP 01.docxBÀI TẬP 01.docx
BÀI TẬP 01.docxssuseraf0e77
 
BÀI TẬP 01.docx
BÀI TẬP 01.docxBÀI TẬP 01.docx
BÀI TẬP 01.docxssuseraf0e77
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersĐồng Quốc Vương
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basicTapan Khilar
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6Waqas Ahmed Nawaz
 
All About Routers: Types Of Routers, Routing Table And IP Routing : Notes
All About Routers: Types Of Routers, Routing Table And IP Routing : NotesAll About Routers: Types Of Routers, Routing Table And IP Routing : Notes
All About Routers: Types Of Routers, Routing Table And IP Routing : NotesSubhajit Sahu
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tutnicolelemmimg
 

Similar to Networking Chapter 8 (20)

Routing of netwok protocls and how .pptx
Routing of netwok protocls and how .pptxRouting of netwok protocls and how .pptx
Routing of netwok protocls and how .pptx
 
Clase 4. Routing IP.pdf
Clase 4. Routing IP.pdfClase 4. Routing IP.pdf
Clase 4. Routing IP.pdf
 
11 coms 525 tcpip - internet protocol - forward
11   coms 525 tcpip - internet protocol - forward11   coms 525 tcpip - internet protocol - forward
11 coms 525 tcpip - internet protocol - forward
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1
 
Packet transfer mechanism using routers and IP addresses
Packet transfer mechanism using routers and IP addresses Packet transfer mechanism using routers and IP addresses
Packet transfer mechanism using routers and IP addresses
 
1164 Routers
1164 Routers1164 Routers
1164 Routers
 
Examen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en inglesExamen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en ingles
 
CCNA 1 Chapter 6 v5.0 2014
CCNA 1 Chapter 6 v5.0 2014CCNA 1 Chapter 6 v5.0 2014
CCNA 1 Chapter 6 v5.0 2014
 
Advance Applied Networking with classes.
Advance Applied Networking with classes.Advance Applied Networking with classes.
Advance Applied Networking with classes.
 
Week3 part 2
Week3  part 2Week3  part 2
Week3 part 2
 
CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answers
 
BÀI TẬP 01.docx
BÀI TẬP 01.docxBÀI TẬP 01.docx
BÀI TẬP 01.docx
 
BÀI TẬP 01.docx
BÀI TẬP 01.docxBÀI TẬP 01.docx
BÀI TẬP 01.docx
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
 
All About Routers: Types Of Routers, Routing Table And IP Routing : Notes
All About Routers: Types Of Routers, Routing Table And IP Routing : NotesAll About Routers: Types Of Routers, Routing Table And IP Routing : Notes
All About Routers: Types Of Routers, Routing Table And IP Routing : Notes
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut
 

More from mlrbrown

Cso gaddis java_chapter15
Cso gaddis java_chapter15Cso gaddis java_chapter15
Cso gaddis java_chapter15mlrbrown
 
Cso gaddis java_chapter14
Cso gaddis java_chapter14Cso gaddis java_chapter14
Cso gaddis java_chapter14mlrbrown
 
Cso gaddis java_chapter13
Cso gaddis java_chapter13Cso gaddis java_chapter13
Cso gaddis java_chapter13mlrbrown
 
Cso gaddis java_chapter12
Cso gaddis java_chapter12Cso gaddis java_chapter12
Cso gaddis java_chapter12mlrbrown
 
Cso gaddis java_chapter11
Cso gaddis java_chapter11Cso gaddis java_chapter11
Cso gaddis java_chapter11mlrbrown
 
Cso gaddis java_chapter10
Cso gaddis java_chapter10Cso gaddis java_chapter10
Cso gaddis java_chapter10mlrbrown
 
Cso gaddis java_chapter9ppt
Cso gaddis java_chapter9pptCso gaddis java_chapter9ppt
Cso gaddis java_chapter9pptmlrbrown
 
Cso gaddis java_chapter8
Cso gaddis java_chapter8Cso gaddis java_chapter8
Cso gaddis java_chapter8mlrbrown
 
Cso gaddis java_chapter7
Cso gaddis java_chapter7Cso gaddis java_chapter7
Cso gaddis java_chapter7mlrbrown
 
Cso gaddis java_chapter6
Cso gaddis java_chapter6Cso gaddis java_chapter6
Cso gaddis java_chapter6mlrbrown
 
Cso gaddis java_chapter5
Cso gaddis java_chapter5Cso gaddis java_chapter5
Cso gaddis java_chapter5mlrbrown
 
Cso gaddis java_chapter4
Cso gaddis java_chapter4Cso gaddis java_chapter4
Cso gaddis java_chapter4mlrbrown
 
Cso gaddis java_chapter3
Cso gaddis java_chapter3Cso gaddis java_chapter3
Cso gaddis java_chapter3mlrbrown
 
Cso gaddis java_chapter2
Cso gaddis java_chapter2Cso gaddis java_chapter2
Cso gaddis java_chapter2mlrbrown
 
Cso gaddis java_chapter1
Cso gaddis java_chapter1Cso gaddis java_chapter1
Cso gaddis java_chapter1mlrbrown
 
Networking Chapter 15
Networking Chapter 15Networking Chapter 15
Networking Chapter 15mlrbrown
 
Networking Chapter 10
Networking Chapter 10Networking Chapter 10
Networking Chapter 10mlrbrown
 
Student Orientation
Student OrientationStudent Orientation
Student Orientationmlrbrown
 

More from mlrbrown (18)

Cso gaddis java_chapter15
Cso gaddis java_chapter15Cso gaddis java_chapter15
Cso gaddis java_chapter15
 
Cso gaddis java_chapter14
Cso gaddis java_chapter14Cso gaddis java_chapter14
Cso gaddis java_chapter14
 
Cso gaddis java_chapter13
Cso gaddis java_chapter13Cso gaddis java_chapter13
Cso gaddis java_chapter13
 
Cso gaddis java_chapter12
Cso gaddis java_chapter12Cso gaddis java_chapter12
Cso gaddis java_chapter12
 
Cso gaddis java_chapter11
Cso gaddis java_chapter11Cso gaddis java_chapter11
Cso gaddis java_chapter11
 
Cso gaddis java_chapter10
Cso gaddis java_chapter10Cso gaddis java_chapter10
Cso gaddis java_chapter10
 
Cso gaddis java_chapter9ppt
Cso gaddis java_chapter9pptCso gaddis java_chapter9ppt
Cso gaddis java_chapter9ppt
 
Cso gaddis java_chapter8
Cso gaddis java_chapter8Cso gaddis java_chapter8
Cso gaddis java_chapter8
 
Cso gaddis java_chapter7
Cso gaddis java_chapter7Cso gaddis java_chapter7
Cso gaddis java_chapter7
 
Cso gaddis java_chapter6
Cso gaddis java_chapter6Cso gaddis java_chapter6
Cso gaddis java_chapter6
 
Cso gaddis java_chapter5
Cso gaddis java_chapter5Cso gaddis java_chapter5
Cso gaddis java_chapter5
 
Cso gaddis java_chapter4
Cso gaddis java_chapter4Cso gaddis java_chapter4
Cso gaddis java_chapter4
 
Cso gaddis java_chapter3
Cso gaddis java_chapter3Cso gaddis java_chapter3
Cso gaddis java_chapter3
 
Cso gaddis java_chapter2
Cso gaddis java_chapter2Cso gaddis java_chapter2
Cso gaddis java_chapter2
 
Cso gaddis java_chapter1
Cso gaddis java_chapter1Cso gaddis java_chapter1
Cso gaddis java_chapter1
 
Networking Chapter 15
Networking Chapter 15Networking Chapter 15
Networking Chapter 15
 
Networking Chapter 10
Networking Chapter 10Networking Chapter 10
Networking Chapter 10
 
Student Orientation
Student OrientationStudent Orientation
Student Orientation
 

Recently uploaded

Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 

Recently uploaded (20)

Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 

Networking Chapter 8

  • 1. The Wonderful World of Routing Chapter 8
  • 2. Objectives • Explain how routers work • Describe dynamic routing technologies • Install and configure a router successfully
  • 4. Three Parts to Chapter 8 • How Routers Work • Dynamic Routing • Working with Routers
  • 6. • Router – Hardware or software – Forwards packet based on destination IP address – Layer 3, the Network layer – Classically, dedicated boxes • At least two connections – Popular router: CISCO 2600
  • 7. Figure 8.1 Cisco 2611 router
  • 8. • Home router – First exposure to a router for most techs – Connect PC to DSL receiver or cable modem – More than it appears to be – LAN side may connect internally to a built-in switch
  • 9. Figure 8.2 Business end of a typical home router
  • 10. Figure 8.3 Cisco router diagram
  • 11. Figure 8.4 Linksys home router diagram
  • 12. • All routers – Examine packets – Send packets to proper destination
  • 13. • Routing Tables – Router strips off Layer 2 information – Drops IP packet into a queue • Source address is not important • Every packet dropped into the same queue based on time of arrival – Router inspects the destination IP address – Router send IP packet out correct port – Routing table tells router where to send packets
  • 15. Figure 8.6 All incoming packets stripped of Layer 2 data and dropped into a common queue
  • 16. • Routing Tables (cont.) – Example home router (Figure 8.7) • Two ports • Each row in table defines a single route • Each column identifies specific criteria – Destination LAN IP – Subnet Mask • If packet’s network ID matches a Destination LAN IP, router uses other information in row to determine where to send it
  • 17. • Routing Tables (cont.) – Example home router (Figure 8.7) • Third and fourth columns – Gateway » IP address for the next hop router » Packet sent to Gateway if network ID does not match one of the directly connected ports – Interface » Tells router which port to use » “LAN” or “WAN” on sample router » Other routing tables use IP address or other info
  • 18. • Routing Tables (cont.) – Example home router (Figure 8.7) • First Router compares destination IP address to every listing in the routing table • Then router makes a decision
  • 19. • Routing Tables (cont.) – Example home router (Figure 8.7) • Every router (with two exceptions) has a default route • Default route in Figure 8.7 – Destination LAN IP: 0.0.0.0 – Subnet Mask: 0.0.0.0 – Gateway: 76.30.4.1 – Interface: WAN • Router sends incoming packet to default route unless another line gives another route
  • 20. • Routing Tables (cont.) – Example home router (Figure 8.7) • Destination LAN IP: 10.12.14.0 (any packet for this network) • Subnet Mask: 255.255.255.0 (using /24 network ID) • Gateway: 0.0.0.0 (don’t use a gateway) • Interface: LAN (ARP on the LAN interface to get MAC address and send directly to host)
  • 21. • Routing Tables (cont.) – Example home router (Figure 8.7) • Destination LAN IP: 76.30.4.0 (any packet for this network) • Subnet Mask: 255.255.254.0 (using /23 network ID) • Gateway: 0.0.0.0 (don’t use a gateway) • Interface: WAN (ARP on the WAN interface to get MAC address and send directly to host)
  • 22. Figure 8.7 Routing table from a home router
  • 23. Figure 8.8 Electronic diagram of the router
  • 24. Figure 8.9 The network based on the routing table
  • 25. • Routing Tables (cont.) – Every node on the network has a routing table • Some computers (multi-homed) have more than one NIC • IP uses a routing table for every packet it sends – Send directly to a host on a LAN or … – Send to the default gateway
  • 26. • Routing Tables (cont.) – Computer routing table (next slide) • More routes than example home router • Computer IP address: 10.12.14.201/24 • Computer loopback: 127.0.0.1 • Metric: a relative value defining the “cost” of using a route – When more than one route to a destination, lower metric is used – When route with lower metric goes down, other route used
  • 27. Figure 8.10 Two routes to the same network
  • 28. Figure 8.11 When a route no longer works, the router automatically switches
  • 29. Routing table on an XP computer connected to Figure 8.7 router
  • 30. IPv4 portion of Vista route print command
  • 31. • Freedom from Layer 2 – Routers can connect different network technologies – Routers strip off all Layer 2 data – Routers can connect almost anything that stores IP packets
  • 32. Figure 8.12 Modular Cisco router
  • 34. Figure 8.14 Ports at work
  • 35. Figure 8.15 Redone network IDs; nodes in the LAN use private IP addressees internally
  • 36. • Inside the router – Host 192.168.10.202 sends a packet to 12.43.65.223 – Packet is sent to the gateway router – Router replaces the sending host’s IP with its own public IP address – Router then adds the destination IP address and the source ephemeral port to the NAT translation table – On receiving response, router reverses the IP addresses and ports
  • 37. Figure 8.16 NATing a packet
  • 38. Figure 8.17 Updating the packet
  • 39. • Inside the router (cont.) – Router compares incoming destination port and source address to entries in NAT translation table – Determines which local IP address to put back on the packet – Sends packet to the correct computer on the LAN
  • 40. • Port forwarding – Hides a port number from the Internet – Enables public servers to work behind a NAT router – Gives servers the protection of NAT while allowing access to a local server from the Internet
  • 42. A. Background 1. Routers have static routes I. Manually entered II. Detected at setup by the router
  • 43. • Background (cont.) 2. Dynamic routing protocols defined I. Routers communicate among themselves with change information II. Update each other on changes about direct connections and distant routers III. A passage of a packet through a single router is a hop
  • 44. Figure 8.22 Lots of routers
  • 45. Figure 8.23 Hopping through a WAN
  • 46. Dynamic Routing Makes the Internet 1. Internet depends on dynamic routing for self-healing 2. Manual updating impossible with so many routes coming up and going down
  • 47. Table 8.1 Dynamic Routing Protocols Protocol Type IGP(Intergateway protocol)or Notes BGP(Border Gateway)? RIPv1 Distance vector IGP Old; only used classful subnets RIPv2 Distance vector IGP Supports CIDR BGP-4 Distance vector BGP Used on the Internet, connects Autonomous Systems OSPF Link state IGP Fast, popular, uses Area IDs (Area 0/backbone) IS-IS Link state IGP Alternative to OSPF EIGRP Hybrid IGP Cisco proprietary
  • 49. A. Simple physical installation 1. Home router I. Give it power II. Plug in connections 2. Business-class router I. Insert it into a rack II. Give it power III. Plug in connections
  • 50. B. Connecting to Routers 1. Each router must be configured 2. Yost cable I. Oldest method for connecting to router for configuration II. Almost unique to Cisco-brand routers III. Also called rollover cable
  • 51. Figure 8.39 Cisco console cable
  • 52. B. Connecting to Routers 3. Managed devices include both routers and advanced switches that can be configured 4. Plug the rollover into console port on Cisco router; plug other end into serial port on a PC (may need USB-to-serial adapter)
  • 54. B. Connecting to Routers 5. Use a terminal emulation program to talk to the router from the PC over this connection I. PuTTY II. HyperTerminal III. Serial port settings: 9600 baud, 8 data bits, 1 stop bit, no parity
  • 56. B. Connecting to Routers 6. Once connected and running terminal emulator I. You will see the initial router prompt II. On Cisco router, this is the Cisco IOS prompt III. Working with IOS commands a. Type enable and press ENTER b. Prompt changes to Router# c. IOS is complex d. Newer CISCO routers will lead you through initial configuration for basic setup
  • 57. Figure 8.42 Initial router prompt
  • 58. B. Connecting to Routers 7. Normally, you will access a router through Web access or network management software (both explored next) 8. Web access I. Most routers have a built-in Web server II. Can do everything you need to do
  • 59. B. Connecting to Routers 8. Web access III. Easier than working with Cisco command-line IOS IV. Web access only works if router has a built-in IP address from the factory, or you must enable Web interface after assigning an IP address to the router V. To access the Web interface, you must know the IP address
  • 60. B. Connecting to Routers 8. Web access VI. Most techs use a laptop and a special cable (Yost or rollover or crossover) to connect directly to router for initial configuration a. Know the IP address of the router b. Assign to the laptop an IP address with the same network ID of the router c. Connect to router
  • 61. Figure 8.43 Default IP address
  • 62. B. Connecting to Routers 8. Web access d. Check the link lights to verify proper connection e. Open the Web browser and enter the IP address of the router f. You will need to enter the default user name and password (check the router’s documentation) g. Once logged in, find the settings you need
  • 63. Figure 8.44 Entering the IP address
  • 64. Figure 8.45 User name and password
  • 65. B. Connecting to Routers 9.
  • 66. B. Connecting to Routers 9. Network Management Software III. Often a Web site IV.Administrators manage network and make necessary changes V. Proprietary tools (OEM) a. By manufacturers of managed devices b. Usually very powerful and easy to use c. Only work on that OEM’s devices
  • 67. Figure 8.46 Cisco Network Assistant
  • 68. B. Connecting to Routers 9. Network Management Software VI.Third-party NMS tools a. Some free b. Usually harder to configure c. Must constantly be updated to work with as many devices as possible d. Usually lack the amount of detail in an OEM NMS
  • 69. B. Connecting to Routers 9.Network Management Software VI.Third-party NMS tools e. While CiscoWorks enables you to change the IP address of a port, third-party tools only let you see the IP settings f. OpenNMS is a popular open-source NMS
  • 71. B. Connecting to Routers 10.Other connection methods I. Most routers have more than one way to connect II. Home router may come with a USB port and configuration software a. More powerful routers may allow connection with Telnet protocol or newer Secure Shell (SSH)
  • 72. B. Connecting to Routers 10.Other connection methods a. Terminal emulations protocols that look like the terminal emulators seen earlier, but that use the network rather than a serial cable b. More on terminal emulators in Chapter 9, “TCP/IP Applications”
  • 73. C. Basic Router Configuration 1.Must have at least two connections 2.You must properly configure every port on 3.Make sure the routing table sends packets
  • 74. C. Basic Router Configuration 4. STEP 1: Set up the WAN side I. WAN side in home or small business router connects to an ISP II. Get setup information from ISP III. Most home routers use DHCP on the WAN side and just need to be configured to use DHCP
  • 75. C. Basic Router Configuration 4. STEP 1: Set up the WAN side i. May need to enter a static address ii. You can buy a single static IP address iii. If static address, ISP will tell you what to enter into the router
  • 77. Figure 8.49 WAN router setup
  • 78. C. Basic Router Configuration 5. STEP 2: Set up the LAN I. You usually have total control over the LAN side II. Choose a network ID from the private range III. Assign the correct IP
  • 79. Figure 8.50 Entering a static IP
  • 80. Figure 8.51 Setting up an IP address for LAN side
  • 81. C. Basic Router Configuration 6. STEP 3: Establish routes I. Router will usually build a routing table based on information you provided II. You may add more routes if needed III. Use IOS command line on Cisco routers
  • 82. C. Basic Router Configuration 7. STEP 4 (Optional): Configure a Dynamic Protocol I. Dynamic routing protocols tied to individual NICs II. When you connect two routers together, make sure the NICs are configured to use the same dynamic routing protocol
  • 83. C. Basic Router Configuration 7. STEP 4 (Optional): Configure a Dynamic Protocol III. Unless you are in charge of two or more routers, you will never use a dynamic routing protocol IV. Once a dynamic routing protocol is turned on, it is all automatic
  • 84. C. Basic Router Configuration 8. Document and back up I.Document what you’ve done to configure each II.Back up the configuration using whatever
  • 85. D. Router Problems 1.Consider non-router issues first, because I. Check NICs, computer, and switches before router II. Routers are more reliable than other equipment
  • 86. D. Router Problems 2. Keep in mind what your router is supposed to do I. Does it just route traffic? II. Does it also perform NAT? III. Is routing failing, or is another function of the router failing?
  • 87. D. Router Problems 3. Know how to use a few basic tools that can help you check the router I. TRACEROUTE a. Records the route between any two hosts b. Like PING, it sends out a single packet to another host c. Unlike PING, it returns information about every router between them
  • 88. D. Router Problems 3. Know how to use a few basic tools that can help you check the router I. TRACEROUTE d. Tells you when things are not working e. Gives you an idea of where to look for a problem f. Windows – TRACERT g. UNIX/Linux – TRACEROUTE h. UNIX/Linux – My TRACEROUTE (MTR) i.Dynamic, continually updating the route
  • 89. Figure 8.52 MTR in action

Editor's Notes

  1. Example shows two connections (circled in red), each leading to a network. Other connections are used for maintenance and configuration.
  2. Note all the expensive public IP addresses in use.
  3. Top: packet from client requesting a Web page from a Web server. “Source Port” is the ephemeral port for the outbound packet. Bottom: Web server starting to send back the Web page using port 1024 as the destination port (not called an ephemeral port at this point).
  4. Similar to Figure 8.13, except that computers all use a network ID from the private IP address pool
  5. Teaching Tip Point out Table 8.1 and tell the students to use this as a learning aid when studying for the exam.
  6. Teaching Tip In the third paragraph of the introduction to this section, the author makes a very important point: whether a simple home router, or a high-end Internet backbone router, the function is the same. Routers connect different network IDs. Also, the last paragraph of the introduction points out that routers have many features that have nothing to do with routing, such as DHCP servers, firewalls, and NAT. These functions are added to routers thanks to their location at the edge of networks.
  7. Teaching Tip I wouldn’t delve too deeply into IOS because it invariably leads to discussions that are beyond, or are not a part of the scope of this class or for passing the Computer Network+ exam.
  8. Teaching Tip Point out the warning in the second paragraph on Page 198. “Never plug a new router into an existing network!”