On Fri, 15 Aug 2008 19:26:02 GMT
xlancealotx <email@example.com> wrote:
> Still new to the distro, but having a route question/problem.
> At the office, we have a point to point VPN working, the office we have
> a 10.10.5.x local, the vpn is on the public internet. One of the
> servers has a 2nd nice on a private network 10.10.17.0 which he can see
> I should have no problem getting to it using that server (I would
> think), yet when I try this at the command line;
> route add -net 10.10.17.0 gw x.x.x.x netmask 255.255.255.0
> I get the following;
> SIOCADDRT: No such process
> So can I route to that private throught that machine (I would think
> so), and if so, what’s the correct syntax. The box on the other side
> is a CentOS box.
Usually, you need to have a nic on that subnet too…
If the SERVER has a second nic, you cannot access the network on that nic
without permissions (and routing) being performed on the server.
I doubt that the 10.10.5.x and 10.10.17.x subnets are running on the same
wire, but it’s quite possible to do so.
IF they ARE both on the same wire, AND you have a valid IP address to use,
you COULD add another gateway/route.
The irony being, IF you had a valid IP address on the 10.10.17.x subnet, you
would ALREADY have a valid route/gateway setup.
(if you don’t possess a valid IP for that subnet, you shouldn’t be playing
with it anyways… bad things happen when you cause address collisions on
someone’s private network… ever read BOFH?)
Obviously, the admins don’t want you on the 10.10.17.x subnet, and it was
segregated to another nic/wire to prevent that.
L R Nix