start page | rating of books | rating of authors | reviews | copyrights

TCP/IP Network Administration

TCP/IP Network AdministrationSearch this book
Previous: B.4 Trace Statements Appendix B
A gated Reference
Next: B.6 Interface Statements
 

B.5 Options Statements

Options statements define parameters that direct gated to do special internal processing. Options statements appear before any other configuration statements in the gated.conf file.

The options statement syntax is:

options
[ nosend ]
[ noresolv ]
[ gendefault [ preference preference ] [ gateway gateway ]]
[ syslog [ upto ] log_level ]
[ mark time ]
;

An options statement can contain:

nosend

Instructs system not to send any packets. This option tests gated without actually sending out routing information. Use for RIP and HELLO. It is not yet implemented for BGP and is not useful for OSPF.

noresolv

Instructs system not to use the Domain Name System (DNS) to resolve hostnames and addresses. DNS failures can cause gated to deadlock during startup. Use this to prevent deadlock.

gendefault [ preference preference ] [ gateway gateway ]

Generates a default route, with a preference of 20, when gated peers with an EGP or BGP neighbor. If gateway is not defined, the gateway in the generated route is the system itself; the default route is not installed in the kernel table; and it is used only to advertise this system as a default gateway. If gateway is specified, the default route is installed in the kernel table with the specified router as the next hop. This option can be overridden with the nogendefault option.

syslog [ upto ] log_level

Tells system to use the setlogmask facility to control gated logging. See the setlogmask(3) manpage if this facility is available on your system.

mark time

Sends a periodic timestamp message to the trace file. time defines how frequently the timestamp should be issued. Use this to determine if gated is running .


Previous: B.4 Trace Statements TCP/IP Network Administration Next: B.6 Interface Statements
B.4 Trace Statements Book Index B.6 Interface Statements