07-24-2003
SCO FAQ - routes
Quote:
SCO 5.0.4 adds a /etc/rc2.d/S90iproute script that reads /usr/internet/etc/sco_ip/routes. It's the Internet Manager that can add info to that file, but there's no reason you can't do it manually. The format is simple:
# comments are ok
# simple form
net default 10.1.1.3
# it's smart enough to delete the previous default
net default 192.168.1.2
# routes to specific hosts
host 192.168.1.8 10.1.1.7
# netmasks optional
net 192.168.1.0 10.1.1.3 255.255.255.0
# if field 1 isn't host or net, it's ignored
happiness 172.16.80.10 10.1.1.1
sanjose 172.16.80.10 10.1.1.1
Another advantage of this script is that when called with "stop" (/etc/rc2.d/S90iproute stop), it will delete the routes listed in the file.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a AIX lates OS.
I;m trying to setup a remote office using a telnet section and for some reazon it wont let me login in to the server.
I've done this type of configuration on a SCO 5.0.6 .
In SCO there is a file call S99route and that is where you put the gateway and it works just... (3 Replies)
Discussion started by: josramon
3 Replies
2. HP-UX
I am using HP-UX 11i and I need to add another default gateway.
how can I do that ? (3 Replies)
Discussion started by: salhoub
3 Replies
3. SCO
Hi,
I add following routes manually each time system reboots:
#route add 192.168.1.0 -gateway 192.168.0.90
#route add 192.168.200.0 -gateway 192.168.0.200
Is there any way in SCO 7.1.1 to automate this route add process? i.e. each time system reboots, it automatically adds these routes in... (1 Reply)
Discussion started by: tayyabq8
1 Replies
4. Solaris
Hi Community,
I've a question about network adaptors.
I've installed Solaris 10 configuring the ce0 port with an IP(10.23.8.15) , an interface_name (first) and a gateway(10.23.8.1) .
I need to change the name of the interface ce0 and to configure another interface (ce1) with another... (1 Reply)
Discussion started by: Sunb3
1 Replies
5. Solaris
Hey Gurus.
My routes add using route add , are lost , after reboot.....where caould i save this routes a dont lost them ? Sun Solaris 10 is my OS.
Thanks in advance,
AGADEA. Unix ADMIN (3 Replies)
Discussion started by: aggadtech08
3 Replies
6. Solaris
Hi,
I need help to add new route:
10.252.0.138, GW 10.252.0.129 to e1000g1
and
10.252.0.10, GW 10.252.0.1 to e1000g2
tnx (4 Replies)
Discussion started by: mehrdad68
4 Replies
7. SCO
Hi all,
n00b here. We currently have 3 SCO 5.0.5 machines in our network that run a mission management system.
Our internal network was always a 10.0.0.0 network and the machines worked fine.
Our company is going through a network upgrade for VoIP and some of our departments are now on... (5 Replies)
Discussion started by: gibson_hg
5 Replies
8. Linux
Dear Sir
I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper.
I am having a problem, configuring static call routing on GNUGK
in the section
... (0 Replies)
Discussion started by: mfondoum
0 Replies
9. Solaris
Hi,
OS: Solaris 11.2 64bit
IP address: 172.16.10.10
Netmask: 255.255.254.0
Gateway: 172.16.2.254
From windows box, i can set and ping gateway. IP address is same segment with windows box. But on solaris i cannot set gateway.
route add default 172.16.2.254
add net default: gateway... (6 Replies)
Discussion started by: mzainal
6 Replies
10. UNIX for Beginners Questions & Answers
Dear friends
I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies
LEARN ABOUT SUSE
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 | reload | 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. (required, string, no default)
device
The outgoing network device to use for this route. (optional, string, no default)
gateway
The gateway IP address to use for this route. (optional, string, no default)
source
The source IP address to be configured for the route. (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 example_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 1.0.3 07/05/2010 OCF_HEARTBEAT_ROUTE(7)