Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi everyone I am new to this site. I have a situation at my office please guide me if any know about this

I have two connections

One is for Internet which gives ip address Dynamically and the other one is for accessing my Application on a remote machine

Ip address for this connection is

IP: Subnet: Gateway:

No DNS servers required for this connection

I need to type in IE to open my application

now the issue is I am not able to access internet and My application at the same time.

someone told me that this is possible by static route

Hardware available with me are

netgear wireless router netgear Dual Wan Router

Please guide me as i am in very bad situation

Thank you all of for your responce I realised that I need to be more specific about my problem

I have computer with two connections One is internet and one is for connecting to my database

Internet connection Dynamically gives Ip address I connected this internet connection to my Wan Port of Wireless router This Wireless routers dynamicall assisgs Ip address to my computer I dont any issue with this router and connection

Coming to the other side Another connection for accessing my database is static IP ISP gave me

IP address range given to my Lan : to 112 Subnet Mask: Gateway : No DNS required for this connection

I need to type in IE to access my database

Please guide me to add a static routes so that I can access internet and my database simultaneously

share|improve this question
You need more details, What do you mean by "I have two connections" ? Where do you configure ? (on your pc ? on the router ?) – radius Jul 28 '09 at 15:37

Assuming from your text that:

  • Both connections come into your PC and not the router.
  • You are using IE, so you are using Windows.

Add a static persistent route to always reach your "application IP" through the second connection.

route -p add mask

Arguably you should also remove the default route on the second connection.

share|improve this answer

Is it possible to add a static route to the Netgear?

If so, you'd add a static route to via

ip route

Something along those lines. I'm not familiar with the Netgear interface so can't give any exact syntax

I have assumed that is your workstation you're using to access the application and is your Netgear device

share|improve this answer
No it did not worked – Pala kiran kanth Jul 28 '09 at 16:22
What is doing the routing for your network? It sounds like your workstation is making the decisions about which interface to send traffic down? If that is the case, you'll need to alter your routing table on your wokstation – Ben Quick Jul 28 '09 at 16:33
Netgear router is routing Internet connection is connected to wan port of router and another connection for accessing my data base is connected to lan port of my router I am bale to get IP from my router and I am able to access internet but not my database If I need to access my Database I am changing my Ip address of my computer to Please guide me – Pala kiran kanth Jul 28 '09 at 16:40
According to what you've posted, and are on different networks? Can you show a routing table from your Netgear device? Does it know about both networks? Does the Netgear know about the network your database server is on? Could you provide a topology diagram? – Ben Quick Jul 28 '09 at 16:46

Please could you clarify: do you have two NICs in you computer?

The correct way to handle this would be to have a single gateway for all your connections and let your gateway do the routing. You would only need a static route configured on your machine if you wanted the connection routed via somewhere other than your gateway, although even this is not advisable.

Ask whoever is responsible for your router to configure the static routes required on there.

share|improve this answer

I can't tell exactly what you're asking for here, and I can't really walk you through reconfiguring your netgear device since I don't know much about them.

The common solution to this is to put a static route into your border device that says 'for traffic to this subnet, go to this gateway, for that subnet, use this other gateway, and for everything else, use this third gateway'.

Things that do IP networking chose the gateway that has the largest (most specific) netmask that matches the target IP address.

You can also put a static route on your specific system. Again, this is OS specific, but there this web page describes how to do it with windows.

Lastly, I'm not really sure what the topology of your network is, but you have to put the static route on the furthest device from your system which can see both networks, and this may well be your specific computer (if you've got two nics on your computer), but it may also be the netgear device.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.