Operating System - Tru64 Unix
1828360 Members
3076 Online
109976 Solutions
New Discussion

TRU64 default gateway permanent definition

 
SOLVED
Go to solution
administrador
Advisor

TRU64 default gateway permanent definition

Help Help Help Help...........

How can I Update the Server Default Gateway, because when I change It in Routing Tables this update is only temporarily & When the Serve is shut down, then my changes are not there!!!!!

Thanks, Thanks, Thanks...........
James
2 REPLIES 2
Steven Schweda
Honored Contributor
Solution

Re: TRU64 default gateway permanent definition

As explained by "man routes",
"/sbin/init.d/route" uses "/etc/routes"
during system start-up.

Around here:

urtx# cat /etc/routes
default 10.0.0.1
urtx#
Reshma Malusare
Trusted Contributor

Re: TRU64 default gateway permanent definition

Hello James,

First of all
route - manually manipulate the routing tables. These tables are normally maintained by the system routing daemon,
such as in.routed and in.ripngd.

Syntax:
1>route [-fnvq ] add | delete [modifiers] destination gateway [ args ]

2>route[-fnvq ] change | get [modifiers] destination gateway [args]

-f --> Flush the routing tables of all gateway entries.
-n --> Prevent attempts to print host and network names symbolically when reporting actions.
-v --> (Verbose) Print additional details.
-q --> Suppress all output.

#route [ -fnvq ] change | get [ -net | -host ] destination gateway [args]

where destination is the destination host or network, and gateway is the next-hop intermediary through which packets should be routed.
change --> Change aspects of a route (such as its gateway).


Also see man pages of route for further information.

Thanks & Regards
Reshma Malusare