How to add a route to a snap server?

How to add a route to a snap server?  I have 2 routers in the location where that the server is and since I can't do a route add I cannot connect to the server from any of my remote offices.

Please Help
Who is Participating?
enyamadaConnect With a Mentor Commented:


route add -net gw   or

route add -net

You can add route with 'route add' command.
man route
If it doesn't work, tell us more information about an error.
bwhitbeckAuthor Commented:
I can't get to a command prompt from the snap server manager to do an add route.  If I use putty to do a route add I get this:

login as: admin
admin@'s password:
Last login: Mon Jun 12 15:43:31 2006 from
Snap Servers are optimized file serving storage appliances.
The secure shell utility SSH is provided to enable easy installation of
Snap Appliance Inc. certified and sanctioned backup agents only.
Snap Appliance Inc. is not responsible for the support of installed
third-party applications and cannot be held liable for system failures
and/or data loss which may ensue from improper use of command-line or
Graphical User Interface management utilities.

For a list of compatible Snap Appliance Inc. backup agents / client
applications, please refer to our web site at
sh-2.04$ route add mask
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
                              [netmask N] [mss Mss] [window W] [irtt I]
                              [mod] [dyn] [reinstate] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
       inet_route [-FC] flush      NOT supported

If I try to use inet_route /?  I get command not found
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

NopiusConnect With a Mentor Commented:
route add -net gw netmask

1) Linux requires 'gw' keyword before gateway
2) Linux uses 'netmask' instead of 'mask'
JJSmithConnect With a Mentor Commented:


route add -net netmask dev eth0

gheistConnect With a Mentor Commented:
route add gw
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.