Showing posts with label Static routing. Show all posts
Showing posts with label Static routing. Show all posts

Monday, February 23, 2015

Configure Default routes on cisco routers


Default routes are static routes and are also referred to as the Gateway of Last Resort. For more information about Static routing, read this simple article http://netsyshorizon.blogspot.com/2015/02/ip-static-routing-configuration-example-tutorial.html .  Configuring default routes is used to direct packets destined to networks not found in the routing table. It will direct these packets to another router that can reach to the destination or has the route to the destination.

Default Route Commands and Stub Networks
Looking at the above diagram, site1 router cannot reach the networks 10.10.12.0/24, 10.10.13.0/24, and 10.10.14.0/24 because they are not directly connected to it and there are no routes to reach them. So, you should configure site1 router to forward all packets destined to networks 10.10.12.0/24, 10.10.13.0/24, and 10.10.14.0/24 to the next hop router (site2)  using static route or default route.
Default route is usually used on the routers in stub network. Stub network: a network having only one connection to reach all the destinations.

Two methods to configure a default route

  • Send all packets destined for networks not in my routing table to next hop router ip address 10.10.11.2
    Router(config)#ip route 0.0.0.0 0.0.0.0 10.10.11.2
  • Send all packets destined for networks not in my routing table out my Serial 0/0/0 interface
     Router(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0
To view the routing table which router direct the packet based on, the following route table shows that we are  using the next hop address not the exit interface. 
Site1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is 10.10.11.2 to network 0.0.0.0
     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       10.10.10.0/24 is directly connected, FastEthernet0/0
C       10.10.11.0/30 is directly connected, Serial0/0/0

S*   0.0.0.0/0 [1/0] via 10.10.11.2

To watch the simple and short video on youtube


To download the simple and short video from mediafire

To download packet tracer file
 
Mediafire - Default route packet tracer file

To get automatic updates, join a facebook group (netsyshorizon)
https://www.facebook.com/groups/954180217947066/

Related Links:
OSPF Cost Calculation and Configuring Bandwidth/ip ospf cost/reference bandwidth
https://youtu.be/zgqaVkQe5Sw
EIGRP Composite Metric Calculation and Configuring different delay values and Bandwidth values
https://youtu.be/GsnV4Bc3On8
Cisco router WAN Redundancy/WAN Failover and Change Routing dynamically Using IP SLA - Route Tracking
https://youtu.be/x3xZhbrX7Ww
Clock Rate vs Bandwidth - Configuring clock rate and bandwidth
https://youtu.be/rntsm5bHagI
Configure Default routes on cisco routers
https://youtu.be/E5-kpZt8LU4
Static Routing Configuration Using Packet Tracer
https://youtu.be/v05Jm4h-Zms

Keywords:

default route configuration  ; default route cisco ; default route lab ; default route tutorial ; default route ccna ; default route static routing ; default router ; cisco default route configuration ; configuring default route ; default route packet tracer ; default route ; static and default route ; cisco default route ; default static route ; what is default route ; default route definition ; default route explained ; default route explanation ; default route tutorial ; ccna ; ccnp ; ccie ; default route cisco ios ; default route cisco 0.0.0.0; default route command ; default route command cisco packet tracer ; default route config ; default route configuration on a cisco router ; default routing configuration cisco router pdf ; default routing example ; default routing metrics ; default route cisco 3750 ; default route admin distance ; default route exit interface ; default route next hop ; default router ; default route subnet mask ; default route gateway of last resort ; default route gns3 ; default route cisco router ; default route vs static route ; default route vs default gateway ; default route vs gateway of last resort; default route vs default network ; default route vs default network ; default route vs default network ; default route networking ; default route not working cisco ; default route not working cisco ; default route not working cisco ; cisco default route command ; cisco default route ipv6 ; cisco default route metric ; cisco default route interface ; cisco default route configuration ; cisco default route example ; cisco default route example ; cisco default route dhcp ; cisco default route administrative distance ; cisco default route not working ; cisco default route without gateway ; cisco default routing ; cisco default routing ; default routing metrics ; default routing and remote access class ; default routing table ; default routing configuration cisco router ; default routing pdf ; default routing configuration cisco router pdf ; default routing configuration example ; default route configuration command ; example default route ; example of default route cisco ; default route lab.

Sunday, February 15, 2015

Cisco Static Routing Configuration and lab


First of all, we should know that IP Routing is moving packets from network to another using routers.
There are two types of Routing: Static and dynamic, in this article will explain the static routing. In static routing, the administrator is responsible for inserting new routes to reach the remote networks or updating all changes (routes changes) by hand into all routers.
 As shown in the figure below, If we have 3 networks (10.10.10.0/24, 10.10.11.0/24, and 10.10.12.0/24). PC0 can access all machines in its network, but cannot access PC3 (network 10.10.12.0/24) because it belongs to different network. 



So, We should forward the packets coming from  PC0(network 10.10.10.0/24) going to PC3 (network 10.10.10.0/24) to the gateway(Site1 Router) which can forward  the packet to the other network(10.10.12.0/24).
Site1 Router can access the Directly Connected networks:10.10.10.0/24 and 10.10.11.0/30 but can not access network 10.10.12.0/24.So, we should configure the Site1 router to forward the packet that going to 10.10.12.0/24 to the Site2 Router using the following command
Site1(config)#ip route 10.10.12.0 255.255.255.0 10.10.11.2
Also, Site2 router should forward the packets going to network 10.10.10.0/24 to  Site1 router which can access that network. 
Site2(config)#ip route 10.10.10.0 255.255.255.0 10.10.11.1

These routes are stored in a routing table that the router use to make a decision of how to forward the packets. To view the routing table that Site1 router forward the packets based on its entries
Site1#sh ip route
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C       10.10.10.0/24 is directly connected, FastEthernet0/0
C       10.10.11.0/30 is directly connected, Serial0/0/0
S       10.10.12.0/24 [1/0] via 10.10.11.2

Based on the routing table above, it's clear that if one of the devices belongs to network 10.10.10.0/24 wants to send a packet to network 10.10.12.0/24, it will send this packet to its default gateway which is here in this example Site1 router. When Site1 router receive the packet, it will look at the routing table entries to see how to get the destination network. the routing table of Site1 router include the bold route above that Site1 router will use to get the network 10.10.12.0/24 by forwarding the packet to the next hop address 10.10.11.2. The ip address 10.10.11.2 belongs to Site2 router that is directly connected to the network 10.10.12.0/24, so Site2 router can send the packet to the destination network devices 10.10.12.0/24. 

Note: Default route is considered static route , to know more about default routes and when we use them and how to configure them, visit this post http://netsyshorizon.blogspot.com/2015/02/configure-default-routes-on-cisco.html




To get more details, get the packet tracer file. Just click on the following link
To watch the video on youtube
To download the video from mediafire
To get automatic updates, join a facebook group (netsyshorizon)
https://www.facebook.com/groups/954180217947066/

Related Links:
OSPF Cost Calculation and Configuring Bandwidth/ip ospf cost/reference bandwidth
https://youtu.be/zgqaVkQe5Sw
EIGRP Composite Metric Calculation and Configuring different delay values and Bandwidth values
https://youtu.be/GsnV4Bc3On8
Cisco router WAN Redundancy/WAN Failover and Change Routing dynamically Using IP SLA - Route Tracking
https://youtu.be/x3xZhbrX7Ww
Clock Rate vs Bandwidth - Configuring clock rate and bandwidth
https://youtu.be/rntsm5bHagI
Configure Default routes on cisco routers
https://youtu.be/E5-kpZt8LU4
Static Routing Configuration Using Packet Tracer
https://youtu.be/v05Jm4h-ZmsKeywords:static routing configuration in packet tracer ; static routing between 3 routers ; static routing cisco ; static routing configuration ; static routing between 2 routers ; static routing on packet tracer ; static routing cisco packet tracer ; static routing gns3 ; static routing configuration in gns3 ; static routing explained ; static routing tutorial ; static routing and dynamic routing ; static routing between 4 routers ; static routing basics ; static routing ccna ; static routing configuration in packet tracer in hindi ; static routing commands ; ccna static routing configuration ; configure ip static routing ; static and dynamic routing ; static vs dynamic routing ; static routing hindi ; static routing in urdu ; static routing in gns3 ; static routing in packet tracer ; static routing packet tracer ; static routing protocol ; cisco static routing packet tracer ; static ip routing packet tracer ; static routing using packet tracer ; static routing 4 routers ; static routing 3 routers ; static routing vs dynamic routing ; simple static routing ; static routing table ; static routing with cisco packet tracer ; what is static routing ; static routing meaning ; static routing definition ; define static routing  ; sh ip route ; ip route ip address ;  configure ip static routing ; static routing example ; static routing protocol ; static routing commands ; static routing metrics ; static routing cisco packet tracer.