Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have to access a network 10.1.0.0/16 through a gateway 10.4.0.2. I issue the command:

route add -net 10.1.0.0/16 10.4.0.2

The machine's IP address where I doing this is 10.4.0.22 and it's default gateway is 10.4.0.1 so this is an alternate route to the 10.1.x.x network. Both gateways are reachable (10.4.0.1, 10.4.0.2) from this machine.

This works flawlessly on other Linux boxes, it does not on FreeBSD and I would like to know why. There are no firewalls configured at any point of the network, so that cannot be an issue.

share|improve this question
4  
How exactly does it not work?? –  Chris S May 21 at 15:02
    
Without knowing the specific symptoms of "does not work", it is pretty hard to make any kind of a real guess. In addition to that information, it might also be useful to include the results of "netstat -rn", so we can see the routing table (also available via "route show". –  Jed Daniels May 21 at 17:26

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.