How to configure static route on Cisco router

How to configure static route on Cisco router

Static route is form of routing protocol used to route or link up different networks on a router. It’s a manual entry on the router configuration that sends traffic to specific network to a known route. All static routes must be be manually configured on all routers and it not account for link failure.

To configure a static route on Cisco router, use the command below:

R01#conf t
R01(config)#ip route
– This settings will send any traffic to the network to a remote router You must also enter a route on the remote router to send traffic back to this router.

To see the new configuration, issue command show ip route

R01#show 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 not set is subnetted, 2 subnets
C is directly connected, FastEthernet0/0
O [110/2] via, 00:39:15, FastEthernet0/0 is subnetted, 1 subnets
O [110/65] via, 00:39:15, FastEthernet0/0
C is directly connected, FastEthernet0/1 is variably subnetted, 2 subnets, 2 masks

  • #trends
  • Advertising
  • Advertising Tips
  • Alcahol
  • Alternative Medicine