Route Selection protocol and troubleshooting Summary

Source: Internet
Author: User

Route configuration command-ip route command

Router (config) # ip route <Directory Network or subnet number> [subnet mask] <next vroute ip address | address from the local egress> [management distance 0 ~ 255, 1 by default] Note: static address configuration)

Route configuration command -- ip default-network command

Router (config) # ip default-network <target network number> (Note: use one of the Dynamic Route numbers as the default route configuration in combination with the routing Service)

Router (config) # ip route 0.0.0.0 0.0.0.0 <next vro ip address | address from the local egress> (Note: configuration on the egress vro when there is only one public ip address)

Routing Protocol-internal routing selection Protocol

Use the router and network commands

 
 
  1. Router (config) # router <routing protocol rip | igrp | ospf | is-is, etc.> [Autonomous System number]
  2. Router (config-router) # network <network ID of the route protocol used for direct connection>
  3. Router (config-router) # network <network ID of the route protocol used for direct connection>

Route Protocol-route information protocol RIP

 
 
  1. Router (config) # router rip
  2. Router (config-router) # network <type network numbers that are directly connected to the rip Protocol>
  3. Router # show ip protocols
  4. Router # show ip route
  5. Router # debug ip rip

Routing Protocol-Internal Gateway Routing Protocol IGRP

 
 
  1. Router (config) # router igrp <autonomous system number>
  2. Router (config-router) # network <type network numbers that are directly connected using the igrp protocol>
  3. Router # show ip interface
  4. Router # show ip protocols
  5. Router # show ip route
  6. Router # debug ip rip

Route troubleshooting-overall model

 
 
  1. Router # ping <faulty host | faulty IP address>
  2. Router # show ip route
  3. Router # show interface <faulty interface>
  4. Router # show run

Route troubleshooting-IP fault troubleshooting

Check available routes

 
 
  1. Router # show ip route <faulty ip address>
  2. 27.4.4 trace the Route)
  3. SUN-A> traceroute <faulty host | faulty IP address>
  4. C: \ windows \> winipcfg
  5. C: \ windows \> ipconfig
  6. C: \ windows \> ipconfig/all
  7. C: \ windows \> tracert <faulty host | faulty IP address>

Use extended ping to track connectivity

Router # ping

Route troubleshooting-other possible faults

An address parsing ARP fault

 
 
  1. Router # show arp
  2. Router # show interface <faulty interface>
  3. C: \ windows \> arp-
  4. SUN-A> arp-

Verify the route table of the Terminal System

 
 
  1. C: \ windows \> netstat-rn
  2. C: \ windows \> route-f add 0.0.0.0 mask 0.0.0.0 <gateway address to be added>
  3. C: \ windows \> route [-f] [[print | add | delete | change] [destination] [mask
  4. Netmask] [gateway]
  5. C: \ windows \> route add mask <network mask> <gateway IP address>
  6. C: \ windows \> route delete mask <network mask> <gateway IP address>
  7. C: \ windows \> nbtstat <corresponding parameter>
  8. SUN-A> netstat-rn Router

Do you understand the troubleshooting of routing faults and the description of routing protocols? These two aspects are both a typical and basic part of the basic knowledge of routing, and hope that readers can master them.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.