Sponsored Content
Operating Systems HP-UX How to add another default gateway Post 49196 by fpmurphy on Saturday 27th of March 2004 06:04:52 PM
Old 03-27-2004
The gated(1m) manpage provides all the necessary information.
/etc/gated.conf is the relevant file.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Add route gateway -> Restart !! Lose it

:confused: Hi: I donīt know how to add route gateway and when restart the machine lose this route and put other. In SCO ver 5.6 Enterprise write: etc\route delete gateway route add gateway 199.199.1.1. so , netstat -rn to see if has change -> all ok Restart -> !!!... (2 Replies)
Discussion started by: AlvaroD
2 Replies

2. UNIX for Dummies Questions & Answers

Aix Add Gateway

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

3. UNIX for Dummies Questions & Answers

How to add 2 gateway routes?

I need some help adding routes in sco. I am using SCO Openserver 5.0.4. Basically I have 2 gateways here. The first is 10.15.1.1 and allows me access to the rest of the computers in the office and in other offices. The other gateway is 10.15.10.2 and is the sonicwall that will allow access... (3 Replies)
Discussion started by: cstovall
3 Replies

4. UNIX for Dummies Questions & Answers

/etc/rc.d/netif wont add default gateway

hi! whenever i run /etc/rc.d/netif it will read rc.conf and add the pc IP and netmask but it wont read the default gateway resulting lost connectivity to internet my rc.conf: when i issue /etc/rc.d/netif restart: the result of running netif to routing tables: # netstat -rn i... (3 Replies)
Discussion started by: rdns
3 Replies

5. Solaris

Add gateway

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

6. Linux

GNUGK-How to setup static gateway to gateway routing

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

7. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

8. Solaris

Cannot add gateway

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

9. Linux

Unable to add route with a specific gateway IP

Hi, This is the routing table on a RHEL 7 server : # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.132.81.145 0.0.0.0 UG 100 0 0 eno49 10.132.81.144 0.0.0.0 255.255.255.240 U 100 0 0 eno49... (4 Replies)
Discussion started by: anaigini45
4 Replies

10. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

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
gated(8)						      System Manager's Manual							  gated(8)

NAME
gated - gateway routing daemon SYNOPSIS
/usr/sbin/gated [-c] [-C] [-n] [-N] [-t trace_options] [-f config_file] [trace_file] FLAGS
Specifies that gated parse the configuration file for syntax, then exit. If there are no errors, gated leaves a dump file in /usr/tmp/gated_dump. You do not need root privileges to use the -c option. However, if you do not have root privileges, gated might not be able to read the kernel forwarding table and interface configuration. The -c option implies -tgeneral. All trace_option clauses in the configu- ration file are ignored. Specifies that gated parse the configuration file for syntax errors. If no errors occur, gated exits with a status 0. Otherwise, it exits with a status 1. You do not need root privileges to use the -C option. However, if you do not have root privileges, gated might not be able to read the kernel forwarding table and interface configuration. Specifies that gated not modify the kernel forwarding table. This is used for testing gated configurations with actual routing data. Specifies that gated run as a user process. Normally, if tracing to stderr is not specified and if the parent process is not init, gated runs as a daemon process. This allows the use of an /etc/init- tab-like method of invoking gated. Specifies a comma-separated list of trace options to be enabled on startup. If no flags are specified, general is assumed. No space is allowed between this option and its arguments. Use this to trace events that take place before the configuration file is parsed, such as determining the interface configuration and reading routes from the kernel. See gated.conf(4) for valid trace options and a more detailed explanation of tracing. Specifies an alternate configuration file. By default, gated uses /etc/gated.conf. If a trace file is specified on the command line, or no trace flags are specified on the command line, gated detaches from the ter- minal and runs in the background. If trace flags are specified without specifying a trace file, gated assumes that tracing is desired to stderr and remains in the foreground. DESCRIPTION
The gated routing daemon is based on Release 4.0.6 from the Merit GateD Consortium. The gated daemon replaces routed and egpup, and cur- rently handles the RIP, BGP, EGP, HELLO, and OSPF routing protocols. The gated process can be configured to perform all routing protocols or any subset of them. SIGNAL PROCESSING You can use the following signals to control gated: Causes gated to reread the configuration file. The gated daemon first performs a clean-up of all allocated policy structures. All BGP and EGP peers are flagged for deletion and the configuration file is reparsed. If the reparse is successful, any BGP and EGP peers that are no longer in the configuration are shut down, and new peers are started. Gated attempts to determine if changes to existing peers require a shutdown and restart. OSPF is not capable of reconfigur- ing, it is shutdown and restarted during a reconfiguration. This may have an adverse impact on the routing system. It should also be possible to enable/disable any protocol without restarting gated. Causes gated to write the current state of all tasks, timers, protocols, and tables to the /usr/tmp/gated_dump file. On systems supporting fork(), this is done by forking a subprocess to dump the table information. This does not affect gated's routing functions. On systems where memory management does not support copy-on-write, fork() causes the gated address space to be duplicated; this might cause a noticeable impact on the system. On systems not supporting fork(), the main process immediately pro- cesses the dump, which might impact gated's routing functions. Causes gated to shut down. All tasks and protocols are asked to shutdown. Most terminate immediately, except EGP peers, which waits for confirmation. You might have to send SIGTERM once or twice if it this process takes too long to shut down. All protocol routes are removed from the kernel forwarding table on receipt of a SIGTERM. Interface routes, routes with RTF_STATIC set (from the route command where supported) and static routes specifying retain will remain. To terminate gated with the exterior routes intact, use SIGKILL. Causes gated to close the trace file. A subsequent SIGUSR1 reopens the trace file. This allows the file to be moved regularly. You cannot use SIGUSR1 if a trace file has not been specified or if tracing is being performed to stderr. Causes gated to rescan the kernel interface list for changes. FILES
Contains gated status information. Contains the gated configuration information. Contains the gated process id (PID). RELATED INFORMATION
Commands: arp(8), gdc(8), ifconfig(8), netstat(1), ospf_monitor(8), ripquery(8), routed(8), route(8) Functions: fork(2) Files: gated.conf(4), gated.proto(4), gated.control(4) delim off gated(8)
All times are GMT -4. The time now is 06:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy