Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Adding an extra route to server

Posted on 2006-06-26
Last Modified: 2010-03-19
Our remote site has office LAN 192.168.2.x with gateway We have added an extra connection to that remote site in order to have a dedicated link to a database server (IP Installed was Cisco router 17xx series using BGP and Frame Relay. We connected a router to remote site's LAN via FastEthernet port and gave it an IP address How do I make that database server (running Win2000) recognise as an additional gateway, so we can connect to it without disturbing its current gateway connectivity? It works if we specify a new gateway address in server's TCP/IP config, but this involves downtime and we cannot afford that.
I tried adding a route to server with "route add", but it didn't work. Any hints?
Question by:OmaBatlak
  • 4
  • 3
  • 2
LVL 57

Expert Comment

ID: 16989375
So far you have only showed one IP subnet, on the Dtabase server you need to enter the command:

    route add -p x.x.x.x mask y.y.y.y metric 1

where x.x.x.x is the IP network address and y.y.y.y is the subnet mask of network x.x.x.x.  So if the remote network is you would enter:

     route add -p mask metric 1
LVL 10

Expert Comment

ID: 16989380
If you want to make as new default-gateway, you should add it as:

route add mask

You can not have it as an additional gateway, you can only have one gateway on the server. What are you trying to accomplish if this is not what you want?

Author Comment

ID: 16989421

As I stated above, we would like to be able to connect to this server via new connection, thorugh new router's Fa0/1, yet we want to make sure that server can at all times connect outside its LAN via its current gateway,

your command will enable this additional route without disturbing the original one, will it not?

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Author Comment

ID: 16989452
I still cannot ping the IP address, giltjr.
The trouble is, I suspect, that our network is in 10.x.x.x range, eq. our office is in 10.2.14.x range and WAN interface on that remote router is 10.141.15.x...
LVL 10

Expert Comment

ID: 16989454
What network will it connect to through ?
LVL 57

Accepted Solution

giltjr earned 100 total points
ID: 16989500
My command will leave the oringal route untouched. Can you ping from the server?  You should use the command:

     route add mask metric 1

However, doing this will cause the server to only use when attempting to get back to

If you want to use this link for communications to/from the remote site you will need to add an appropraite route on the other side also.  That is if you have <--LAN --> <-- WAN --> <-- LAN -->

Where is the LAN side IP address of the router, then somewhere on the subnet you need to add the route:

   route add mask

Once you get the correct routes added you will want to re-add them with the "-P" option.  However this will cause the new link to be used.  If the WAN link fails, you will loose contact with the database server from this remote site.


Author Comment

ID: 16989557

Yes, I can ping .4 from .16 server.

your first command, if it establishes a contact between 10.2.14.x (our site) and server, I do not care if it only uses to get back to 10.2.14.x. That will cause no grief, as long as original route is uninterrupted. Will that be the case?
These routes are wiped after server reboot, correct?
I would like to avoid entering routes into any other routers as we use vendor-provided managed WAN most of the way and it is very painful trying to get them to do anything.
LVL 57

Expert Comment

ID: 16989579
Adding a route just for will only cause it (the database server) to use the new router IP address to get to  It will still use the default route for any other IP addresses that you do not have specific routes for.

If you use the "-p" option the route will be added permanetly and will still be there after a re-boot.

Author Comment

ID: 16989779
giltjr, that was it
thank you all very much

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ISP Change 14 63
Windows 10 - Devices and Printers slow loading 29 100
rajdeep0081@hotmail.com 3 71
software inventory tools 3 33
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question