O'Reilly logo

Linux in a Nutshell, Third Edition by Stephen Figgins, Jessica P. Hekman, Stephen Spainhour, Ellen Siever

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

gated

Synopsis

gated [options]

Description

TCP/IP command. Gateway routing daemon. gated handles multiple routing protocols and replaces routed and any routing daemons that speak the Hello, EGP, or BGP routing protocols. gated currently handles the RIP, BGP, EGP, Hello, and OSPF routing protocols and can be configured to perform all or any combination of the five.

Options

-c

Parse configuration file for syntax errors, then exit gated, leaving a dump file in /usr/tmp/gated_dump.

-f config_file

Use alternate configuration file, config_file. Default is /etc/gated.conf.

-n

Do not modify kernel’s routing table.

-t [trace_options]

Start gated with the specified tracing options enabled. If no flags are specified, assume general. The trace flags are:

adv

Management of policy blocks.

all

Includes normal, policy, route, state, task, and timer.

general

Includes normal and route.

iflist

The kernel interface list.

normal

Normal protocols instances.

parse

Lexical analyzer and parser.

policy

Instances in which policy is applied to imported and exported routes.

route

Any changes to routing table.

state

State machine transitions.

symbols

Symbols read from kernel—note that they are read before the configuration file is parsed, so this option must be specified on the command line.

task

System tasks and interfaces.

timer

Timer usage.

-C

Parse configuration file for errors and set exit code to indicate if there were any (1) or not (0), then exit.

-N

Do not daemonize.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required