Configuring Static Routing in Cisco Packet Tracer
Hello guys… ^_^
This time I want to share a little knowledge that I have about How to configure static routing in Cisco packet tracer. Well, the purpose of me making this article is none other than just sharing knowledge and for my campus assignment… wkwkwk… ^_^ Ok, just go to the TKP guys…. 🏃♀️🏃♀️🏃♀️
Now before I go into the explanation regarding thit requires complicated configuration unit requires static Routing is a router that has a routing ,table that is set manually by the network admin. The use of static routing in a small network is not a problem, but if it is in a large network it requires complicated configuration because it must be set manually.
Basically there are 2 Static Routing configurations on Cisco, namely using the nexthop-ip address or the Exit-Interface. Now for this time I will try to configure using the nexthop-ip address.
Example of Static Routing
This time the case example that I will give is to configure and connect between 3 different networks using Static IP Routing.
Here’s the topology:
From the picture above, it can be seen that there are:
- 3 PCs with the names PC0 (Network A), PC1 (Network B) and PC2 (Network C)
- 3 Switches with type 2960
- 3 routers with the name Router1, Router2 and Router3 with type 2911.
and the following information for the Addressing Table:
Basic Router Device Configuration
Before we do the basic configuration of each of these Router devices, the first step is to connect the PC to the Router via the Console cable.
The trick is to be able to select the cable on the Connection Tab Bottom menu and then select the Console cable.
Then connect the cable from the PC (RS 232) to the Router (Console Port).
then go to PC0 (Incidentally here I did the configuration on Router1 first) > Desktop > Terminal > Terminal Configuration (Default) > OK, it will appear as shown below:
Then do the basic configuration on the Router1 device through the terminal as shown below:
Notes:
- hostname : To change the name of a Router deviceTo change the name of a Router device
- no ip domain lookup : This function configures so that when you type a command error, it is not translated as a domain/host name, because this sometimes takes a long time, which is inefficient.
- enable secret : For encrypted password configuration.
- line con 0 : Line Console is a physical port that is used to configure when the router still doesn’t have a network configuration, so it goes directly from the PC/Laptop to the console port.
password : To provide a password when trying to login using a console cable.
exec-timeout : To give the active time of the terminal session (in minutes).
login : to enable the use of password
Logging Synchronous: functions so that the output that comes out of the CLI is synchronized, later it will not disturb you while doing the configuration, because what you are typing will not be interrupted by the output that is running. - line vty : line used to access router configuration via telnet or ssh.
password: To provide a password when trying to login using SSH or Telnet.
exec-timeout : To give the active time of the terminal session (in minutes).
login : to enable the use of password
Logging Synchronous: functions so that the output that comes out of the CLI is synchronized, later it will not disturb you while doing the configuration, because what you are typing will not be interrupted by the output that is running. - copy running-configuration startup-configuration : we will move / copy everything in the running config into the startup config Or it could be with the command write or wr just enough. Which is where the function of all this is so that the configuration will not be lost, even if our router is turned off
Then do the same for Router2 and Router3.
- Router2 configuration via PC1 via Cable Console
- Router3 configuration via PC2 via Cable Console
Static IP Routing Configuration (Router1, Router2 and Router3)
Configure Static IP Routing on each router according to the sub-network in the Addressing Table.
- Router1
For Router1 we will connect it to Network B and Network C. So to connect it can be done by configuring Static Routing as below:
- Router2
For Router2 we will connect it to Network A and Network C. So to connect it can be done by configuring Static Routing as below:
- Router3
For Router3 we will connect it to Network A and Network B. So to connect it can be done by configuring Static Routing as below:
Static IP Configuration On Each PC (PC0, PC1 and PC2)
Configure static IP on each PC device.
- PC0 Static IP Configuration
- PC1 Static IP Configuration
- PC2 Static IP Configuration
FINAL!! <Perform a PING Test experiment on each Network A, B and C>
- PC0 > PC1 and PC0 > PC2
- PC1 > PC0 and PC1 > PC2
- PC2 > PC0 and PC2 > PC1
FINISH!!
Maybe that’s all I can share with friends, if you have input and suggestions, please comment.
Thank you, hopefully useful and don’t forget to share with other friends. ^_^
#Admin #Cybersecurity #information-technology #indonesia #RoutingSwitching-StaticRouting #CyberSecIndonesia