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
LEARN ABOUT CENTOS
ocf_heartbeat_route
OCF_HEARTBEAT_ROUTE(7) OCF resource agents OCF_HEARTBEAT_ROUTE(7)
NAME
ocf_heartbeat_Route - Manages network routes
SYNOPSIS
Route [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Enables and disables network routes.
Supports host and net routes, routes via a gateway address, and routes using specific source addresses.
This resource agent is useful if a node's routing table needs to be manipulated based on node role assignment.
Consider the following example use case:
- One cluster node serves as an IPsec tunnel endpoint.
- All other nodes use the IPsec tunnel to reach hosts in a specific remote network.
Then, here is how you would implement this scheme making use of the Route resource agent:
- Configure an ipsec LSB resource.
- Configure a cloned Route OCF resource.
- Create an order constraint to ensure that ipsec is started before Route.
- Create a colocation constraint between the ipsec and Route resources, to make sure no instance of your cloned Route resource is started
on the tunnel endpoint itself.
SUPPORTED PARAMETERS
destination
The destination network (or host) to be configured for the route. Specify the netmask suffix in CIDR notation (e.g. "/24"). If no
suffix is given, a host route will be created. Specify "0.0.0.0/0" or "default" if you want this resource to set the system default
route.
(unique, required, string, no default)
device
The outgoing network device to use for this route.
(unique, optional, string, no default)
gateway
The gateway IP address to use for this route.
(unique, optional, string, no default)
source
The source IP address to be configured for the route.
(unique, optional, string, no default)
table
The routing table to be configured for the route.
(optional, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20.
stop
Stops the resource. Suggested minimum timeout: 20.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
reload
Suggested minimum timeout: 20.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20.
EXAMPLE
The following is an example configuration for a Route resource using the crm(8) shell:
primitive p_Route ocf:heartbeat:Route
params
destination=string
op monitor timeout="20" interval="10" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/Route_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_ROUTE(7)