11-11-2002
Try this
IBM - AIX doc on communications and networks.
About half way down it shows:
Adding a Static Route - smit mkroute - route add destination gateway
The destination value is the dotted decimal address or symbolic name of the destination host or network, and the gateway value is the dotted decimal address or symbolic name of the gateway. (A default route specifies 0 as the destination.)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to add a route for an interface on my unix server. The interface is qfe0. How do I type out the route add command.
The Normal way is
route add 1.1.1.0 1.1.1.1
When I want it to bind to a certain interface how to I enter the command. (1 Reply)
Discussion started by: Hordak
1 Replies
2. UNIX for Dummies Questions & Answers
I have been asked to look at an AIX box that the owner (not a technical person) installed a new SCSI disk into, but cannot figure out how to build volumes or file systems on. It has been years since I messed with AIX, and I remember enough to know that it isn't like Solaris.
To make things... (1 Reply)
Discussion started by: 98_1LE
1 Replies
3. IP Networking
In my college dorm, there is a file sharing network in the entire building. Problem is, there is only a manual for windows with the settings on how to connect... :mad:
They say that you have to give the following command in cmd in windows:
route add 172.16.71.0 mask 255.255.255.0... (2 Replies)
Discussion started by: Japie89
2 Replies
4. IP Networking
Hi,
I was window OS user and kinda switched to darwin-bash/Mac OS recently, just asking for some help for setting up routes.
When i was using in window XP i can do "route print" and "route add 64.25.55.200 mask 255.255.255.255 188.17.145.178" ,and then when i access 64.25.55.200, it will... (2 Replies)
Discussion started by: ko9ko9ko9
2 Replies
5. Solaris
Hi,
I am trying to add route command in SunOS machine but it is not successful :
route add -host 10.31.251.47 -gateway 10.31.251.0 -interface ce0
this command fails with an error "lo0:1: bad value"
I want to add a route to 10.31.251.47 that picks 10.31.251.0 as the gateway via the... (1 Reply)
Discussion started by: jaygamini
1 Replies
6. AIX
Hi
I am new to AIX and want to install some fonts (in Indian Languages) created by us into the AIX server and we should be able to use these fonts in Mozilla and other user applications.
There is no Info Print Manager.
We have font files as PFB/PFM and TTF.
Which is the best method to go... (0 Replies)
Discussion started by: mssridhar
0 Replies
7. AIX
Dear all,
I Try to remove a static route with smitty, but recieve this error:
Method error (/usr/lib/methods/chginet):
0514-009 Cannot delete an object from the device
configuration database.
0821-216 chginet: Cannot delete route (net,192.168.30.101,192.168.30.1)... (2 Replies)
Discussion started by: hrkama
2 Replies
8. Solaris
Please , I have a problem
I have add a statis route on Solaris 10, but after this, the network interface of Server was Offline.
The system is in cluster mode (3.2)
route add -net 10.10.1.128 -netmask 255.255.255.128 10.10.1.51
-------------------
lo0:... (1 Reply)
Discussion started by: Ruggero
1 Replies
9. Solaris
Hi all
i have a simple question here
I'm kind of newbie on solaris development
currently i'm trying to add static route to solaris environment
and i got error, each time i add this static route to it
btw this is my command :
root@xxxxxx # ping 1.2.3.1
1.2.3.1 is alive
echo ... (15 Replies)
Discussion started by: l33tbot_if
15 Replies
10. AIX
Hi all!
I have a problem.I access to AIX server via SSH,then i use command 'route -q', after that i can't connect to AIX server.Please help me to fix this problem.
Thanks & Best Regards (1 Reply)
Discussion started by: bachtq
1 Replies
routes(4) Kernel Interfaces Manual routes(4)
NAME
routes - Specifies Internet routing information to the routing tables
SYNOPSIS
/etc/routes
DESCRIPTION
Static routes can be defined in the /etc/routes file. The /etc/routes file identifies static routes that are automatically added to the
network routing tables with the /usr/sbin/route add command. The /sbin/init.d/route script contains the /usr/sbin/route add command that
is executed for each entry in the /etc/routes file when the network is restarted on the system or the system is rebooted.
The general format of an entry in the /etc/routes file is: Dest Name1 Name2
The following is a brief description of each element in an /etc/routes file entry: A keyword that indicates whether the route is to a net-
work or to a host. The two possible keywords are -net and -host. The name or address of the destination network or host. Name1 can be
either a symbolic name (as used in the /etc/hosts or /etc/networks file) or an Internet address specified in dotted-decimal format. The
name or address of the gateway host to which messages should be forwarded. Name2 can be either a symbolic name (as used in the /etc/hosts
file) or an Internet address specified in dotted-decimal format.
The routes file is a Context-Dependent Symbolic Link (CDSL) and must be maintained as such. See the System Administration manual for more
information.
EXAMPLES
To specify a route to a network through a gateway host with an entry in the /etc/routes file, enter:
-net net2 host4
This example specifies a route to a network, net2, through the gateway host4. To specify a route to a host through a gateway host
with an entry in the /etc/routes file, enter:
-host host2 host4
This example specifies a route to a host, host2, through the gateway host4. To specify a route to a default gateway host with an
entry in the /etc/routes file, enter:
default 130.9.0.5
This example specifies a route to a default gateway with an Internet address of 130.9.0.5.
FILES
Contains the /usr/sbin/routed add command.
RELATED INFORMATION
Commands: route(8)
Daemons: gated(8), routed(8)
Files: gated.conf(4)
Network Administration delim off
routes(4)