Jump to content

problem with 'route add' in Debian


crp

Recommended Posts

2 Gateways for the home building : 192.168.1.111 , 192.168.1.222

Gateway 192.168.1.111 has an interoffice tunnel to a firewall at satelite office192.168.5.1

 

home address space: 192.168.1.x , gateway to internet is 192.168.1.222

satelite address space: 192.168.5.x, gateway to internet is same as firewall 192.168.5.1

 

On the various windows machines in the home building

route add 192.168.5.0 mask 255.255.255.0 192.168.1.111

enables the windows machines to communicate with the satelite office pc's.

 

But on the Debian,

route add -net 192.168.5.0 netmask 255.255.255.0 gw 192.168.1.111

does not give an error message but also does not establish communications.

 

Is this not doable in Debian?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...