Solved

How to add a route to a snap server?

Posted on 2006-06-12
9
703 Views
Last Modified: 2012-06-22
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
0
Comment
Question by:bwhitbeck
9 Comments
 
LVL 27

Expert Comment

by:Nopius
ID: 16892078
You can add route with 'route add' command.
man route
If it doesn't work, tell us more information about an error.
0
 

Author Comment

by:bwhitbeck
ID: 16893814
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@192.168.1.25's password:
Last login: Mon Jun 12 15:43:31 2006 from mello.ad.local
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
http://www.snapappliance.com/support
sh-2.04$ route add 192.168.9.0 mask 255.255.255.0 192.168.1.243
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
sh-2.04$


If I try to use inet_route /?  I get command not found
0
 
LVL 2

Accepted Solution

by:
enyamada earned 64 total points
ID: 16894559

Try

route add -net 192.168.9.0/24 gw 192.168.1.243   or

route add -net 192.168.9.0/24 192.168.1.243


hth
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Assisted Solution

by:Nopius
Nopius earned 62 total points
ID: 16898494
route add -net 192.168.9.0 gw 192.168.1.243 netmask 255.255.255.0

1) Linux requires 'gw' keyword before gateway
2) Linux uses 'netmask' instead of 'mask'
0
 
LVL 6

Assisted Solution

by:JJSmith
JJSmith earned 62 total points
ID: 16898900

Try:

route add -net 192.168.9.0 netmask 255.255.255.0 dev eth0

Cheers
JJ
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 62 total points
ID: 16968497
route add 192.168.9.0/24 gw 192.168.1.243
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question