Wednesday, February 24, 2016

Configuring static routing in Cisco Packet Tracer


THEORY:

Static routing occurs when you manually add routes in each router's routing table. There are advantages and disadvantages to static routing, but that's true for all routing processes. There is no overhead on the router CPU. There is no bandwidth usage between routers. It adds security because the administrator can choose to allow routing access to certain networks only.
The administrator must really understand the internet work and how each router is connected in order to configure routes correctly. If a network is added to the internetwork, the administrator has to add a route to it on all routers—manually. It's not possible in large networks because maintaining it would be a full-time job in itself.

Command syntax for static route:

ip route [destination_network] [subnet mask] [next-hop_address]



IP route: The command used to create the static route.
Destination network: The network you're placing in the routing table.
Mask: The subnet mask being used on the network.
Next Hop Address: The address of the next-hop router that will receive the packet and forward it to the remote network


 
Procedure:

  1. Create a topology as shown in figure
  2. Open the IOS command Line Interface of the router or Desktop Terminal using console cable
    1. Configure terminal-> Configuring from the Terminal
    2. Change the default host name
      1. hostname (WORD) -> System’s network name
    3. set IP address and subnet mask to the all the interface of both routers[R1 and R2]

Router R1 
 


















Router R2
  1. Configuration ip address of the pc connected to switch
    1. Go Desktop>Go to Ip configuration

       




  1. Check connection from virtual terminals(from command prompt of PC0 to PC2)
    1. Before configuring static route
Figure 1Ping from 192.168.1.10 to 192.168.3.10 before configuring static route
  1. Configure Static route
  1. Check connection from virtual terminals(from command prompt of PC0 to PC2)
    1. After configuring static route
Ping from 192.168.1.10 to 192.168.3.10 after configuring static route

No comments:

Post a Comment