Showing posts with label Routing. Show all posts
Showing posts with label Routing. Show all posts

Monday, March 12, 2012

How to Configure RIP


Routing Information Protocol (RIP) (V1, V2)  (Administrative Distance - 120) (224.0.0.9)

  • The Routing Information Protocol (RIP) is a distance-vector routing protocol.
  • RIP v1 don't support VLSM, whether RIP v2 support VLSM
  • RIP v1 don't support Authentication, whether RIP v2 Support Authentication
  • RIP v1 is broadcast whether RIP v2 is Multicast (Multicast IP 224.0.0.9)
  • The hold down time is 180 seconds. 
  • Exchange full routing table at 30 second interval 
  • Limits the size of networks that RIP can support.
  • Hop count as a routing metric. The maximum number of hops allowed 15.
  • A hop count of 16 is considered an infinite distance and used to deprecate inaccessible, inoperable, or otherwise undesirable routes in the selection process.
  • RIP prevents routing loops by implementing a limit on the number of hops allowed in a path from the source to a destination. 
Configuration Command:
Router#enable
Router#configure terminal

Router(config)#router rip
Router(config-router)#version 1 or 2                             >> you define your required version
Router(config-router)#network 192.168.110.0              >> you mention as your requirement
Router(config-router)#redistribute static                       >> for Static routes
Router(config-router)#default-information originate    >> Distribute a default route
Router(config-router)#no auto-summary
Router(config-router)#exit

How to Configure Default Route


A default route, also known as the gateway of last resort, is the network route used by a router when no other known route exists for a given IP packet's destination address. All the packets for destinations not known by the router's routing table are sent to the default route. This route generally leads to another router, which treats the packet the same way: If the route is known, the packet will get forwarded to the known route. If not, the packet is forwarded to the default-route of that router which generally leads to another router. And so on. Each router traversal adds a one-hop distance to the route

Configuration Command:
Router(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0/0    >> exit interface OR
Router(config)#ip route 0.0.0.0 0.0.0.0 172.16.10.2   >> next hope (router) address

Cisco ASA  Configuration Command:
ASA(Config)#route outside 0.0.0.0 0.0.0.0 10.100.200.1 1

How to Configure Static Route


Static route:  (Administrative Distance - 1)

Configuration Commands:
Router#enable
Router#configure terminal
Router(config)#ip route 192.168.110.0 255.255.255.0 serial 0/0/0   >> exit interface OR
Router(config)#ip route 192.168.110.0 255.255.255.0 172.16.10.2  >>next hope (router) address

Monday, January 9, 2012

Routing protocol


Routing protocol configuration (Short note and Example):
Note: I will try to make this document. You will see all documents very soon……
Routing protocol types:
1. Static routing (AD - 1)

3. Dynamic routing (Two type of dynamic Interior Gateway Protocol (IGP) & Exterior Gateway Protocol (EGP))

   3.1. Interior Gateway Protocol (IGP): An interior gateway protocol (IGP) is a routing protocol that is used to exchange routing information within an autonomous system (AS). Two type of IGP – Distance Vector & Link State routing protocol.

          3.1.1. Distance-Vector routing protocol:
                3.1.1.1. Routing Information Protocol (RIP)(V1, V2)(AD-120)(224.0.0.9)(UDP 520)
                3.1.1.2. Interior Gateway Routing Protocol (IGRP) (AD - 100)
                        
          3.1.2. Link State routing protocol:
                 3.1.2.1. Intermediate System To Intermediate System (IS-IS):  (AD - 115)
                 3.1.2.2. Open Shortest Path First (OSPF)(AD-110) (224.0.0.5)

          3.1.3. Hybrid Routing Protocol:
                 3.1.3.1. Enhanced Interior Gateway Routing Protocol -(EIGRP)(224.0.0.10)
                 (AD-Internal EIGRP-90, External EIGRP-170), Its Cisco proprietary
     
    3.2. Exterior Gateway Protocol (EGP): (AD - 140), Path Vector Routing Protocol, BGP is Exterior Gateway Protocol. BGP have two types (1-64511 Public AS, 64512-65535 Private AS)
                 3.2.1. Internal Border Gateway Protocol (IBGP): (AD - 200)
                 3.2.2. External Border Gateway Protocol (EBGP): (AD - 20)

Note: I will try to make this document. You will see all documents very soon……