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.

No comments:

Post a Comment