cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
845
Views
5
Helpful
5
Replies

Cisco Static Route

winfulmatts
Level 1
Level 1

Hello All,

One of my clients have multiple branches and all their resources are in the head office data center. 

They have double router for VPN and Internet. for the Internet router, we are using a small dlink router, but now they want to change it to a Cisco router. All settings have been completed but the issue now is how to input the static route.

This is what is configured statically in the Dlink router,

Route Name   Destination Address   Sub Mask   Default Gw    Interface   Metric

Servers          192.168.110.0    255.255.255.0  192.168.4.254    LAN         15

Clients           192.168.120.0    255.255.255.0   192.168.4.254    LAN         15

How do i input this static route in the Cisco router?

Thanks

1 Accepted Solution

Accepted Solutions

mehulnangru
Level 1
Level 1

Try adding below on the router - 

ip route 192.168.110.0 255.255.255.0 192.168.4.254

ip route 192.168.120.0 255.255.255.0 192.168.4.254

where sytax is as below :-

ip route X.X.X.X Z.Z.Z.Z Y.Y.Y.Y

X - LAN subnet

Y - Exit interface (which will be you internet router WAN address -192.168.4.254)

Z - Subnet Mask

For more details have look at below :- 

http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/27082-ip-static-routes.html

View solution in original post

5 Replies 5

mehulnangru
Level 1
Level 1

Try adding below on the router - 

ip route 192.168.110.0 255.255.255.0 192.168.4.254

ip route 192.168.120.0 255.255.255.0 192.168.4.254

where sytax is as below :-

ip route X.X.X.X Z.Z.Z.Z Y.Y.Y.Y

X - LAN subnet

Y - Exit interface (which will be you internet router WAN address -192.168.4.254)

Z - Subnet Mask

For more details have look at below :- 

http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/27082-ip-static-routes.html

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hello Winfulmatts,

You would require three routes One is the deafult route towards internet and rest two would be LAN subnet routes towards your LAN switches.

ip route 0.0.0.0 0.0.0.0 ISP router ip address
ip route 192.168.110.0 255.255.255.0 192.168.4.254 -- LAN switch Vip or ip
ip route 192.168.120.0 255.255.255.0 192.168.4.254 -- LAN switch Vip or ip

Hope it Helps..

-GI

Rate Helpful Posts

This is helpful too, but in this case, both routers are connected to the same ISP but for different services, the default gateway 192.168.4.254 is actually the VPN router that is pointing to the HQ for all services like dhcp and the likes.

So the 

ip route 0.0.0.0 0.0.0.0 isp router add

will be of no effect here.

thanks.

Agree with your point, but i was under impression that this router is for internet and would require a default route towards isp required for forwarding traffic.

But anyhow you glad you got your query clarified.

-GI

Thanks GI, i also taught as much.

That's what i actually did initially until i found out it wont work at the least.

Thanks anyways.