Solved

How to add a route to a snap server?

Posted on 2006-06-12
9
687 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 61

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now