11-05-2015 08:17 AM - edited 03-10-2019 12:36 PM
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
Solved! Go to Solution.
11-05-2015 09:01 AM
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
11-05-2015 09:01 AM
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
11-06-2015 09:55 PM
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
11-06-2015 10:46 PM
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.
11-06-2015 11:05 PM
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
11-06-2015 11:08 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide