Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Possible Duplicate:
simple networking/routing question

I need server A to be able to reach server C (a mail server). server B can already reach server C and server A can reach server B. Is there a few simple steps I can take to add a static route to server A to solve this?

share|improve this question

migrated from stackoverflow.com Aug 20 '09 at 0:30

This question came from our site for professional and enthusiast programmers.

marked as duplicate by mrdenny Aug 30 '09 at 1:50

This question was marked as an exact duplicate of an existing question.

    
What operating system(s) are A and B running? – Chris J Aug 19 '09 at 18:23

If you have access to both servers A and B, you can do this on server A:

sudo route add server.C.ip.address server.B.ip.address

and on server B you need to turn on packet forwarding. If it's a unixy/BSD system you might do that via:

sudo sysctl -w net.inet.ip.forwarding=1

If you don't have root access to both servers, there's no way to do what you want.

share|improve this answer