version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
GATEWAYS |
| |
|
2 |
!!!GATEWAYS |
| |
|
3 |
NAME |
| |
|
4 |
DESCRIPTION |
| |
|
5 |
FILES |
| |
|
6 |
SEE ALSO |
| |
|
7 |
HISTORY |
| |
|
8 |
AUTHOR |
| |
|
9 |
---- |
| |
|
10 |
!!NAME |
| |
|
11 |
|
| |
|
12 |
|
| |
|
13 |
gateways - File which lists gateways for routed |
| |
|
14 |
!!DESCRIPTION |
| |
|
15 |
|
| |
|
16 |
|
| |
|
17 |
__/etc/gateways__ is used by |
| |
|
18 |
routed(8); the file contains a list of gateways which |
| |
|
19 |
may not be located by using only information from the |
| |
|
20 |
SIOGIFCONF ioctl(2) when routed(8) is |
| |
|
21 |
started. |
| |
|
22 |
|
| |
|
23 |
|
| |
|
24 |
Gateways specified in __/etc/gateways__ should be marked |
| |
|
25 |
passive if they are not expected to exchange routing |
| |
|
26 |
information, while gateways marked active should be willing |
| |
|
27 |
to exchange routing information (i.e. they should have a |
| |
|
28 |
routed(8) process running on the machine). Routes |
| |
|
29 |
through passive gateways are installed in the kernel's |
| |
|
30 |
routing tables once upon startup. Such routes are not |
| |
|
31 |
included in any routing information transmitted. Active |
| |
|
32 |
gateways are treated equally to network interfaces. Routing |
| |
|
33 |
information is distributed to the gateway and if no routing |
| |
|
34 |
information is received for a period of time, the associated |
| |
|
35 |
route is deleted. Gateways marked ''external'' are also |
| |
|
36 |
passive, but are not placed in the kernel routing table nor |
| |
|
37 |
are they included in routing updates. The function of |
| |
|
38 |
external entries is to inform routed(8) that another |
| |
|
39 |
routing process will install such a route, and that |
| |
|
40 |
alternate routes to that destination should not be |
| |
|
41 |
installed. Such entries are only required when both routers |
| |
|
42 |
may learn of routes to the same destination. |
| |
|
43 |
|
| |
|
44 |
|
| |
|
45 |
__/etc/gateways__ is comprised of a series of lines, each |
| |
|
46 |
in the following format: |
| |
|
47 |
|
| |
|
48 |
|
| |
|
49 |
[[ __net__ | __host__ ] ''name1'' __gateway__ |
| |
|
50 |
''name2'' __metric__ ''value'' [[ __passive__ | |
| |
|
51 |
__active__ | __external__ ] |
| |
|
52 |
|
| |
|
53 |
|
| |
|
54 |
The __net__ or __host__ keyword indicates if the route |
| |
|
55 |
is to a network or specific host. |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
''Name1'' is the name of the destination network or host. |
| |
|
59 |
This may be a symbolic name located in ''/etc/networks'' |
| |
|
60 |
or ''/etc/hosts'' (or, if started after named(8), |
| |
|
61 |
known to the name server), or an Internet address specified |
| |
|
62 |
in ``dot'' notation; see inet(3). |
| |
|
63 |
|
| |
|
64 |
|
| |
|
65 |
''Name2'' is the name or address of the gateway to which |
| |
|
66 |
messages should be forwarded. |
| |
|
67 |
|
| |
|
68 |
|
| |
|
69 |
''Value'' is a metric indicating the hop count to the |
| |
|
70 |
destination host or network. |
| |
|
71 |
|
| |
|
72 |
|
| |
|
73 |
One of the keywords __passive, active__ or |
| |
|
74 |
__external__ indicates if the gateway should be treated |
| |
|
75 |
as ''passive'' or ''active'' (as described above), or |
| |
|
76 |
whether the gateway is ''external'' to the scope of the |
| |
|
77 |
routed(8) protocol. |
| |
|
78 |
|
| |
|
79 |
|
| |
|
80 |
Internetwork routers that are directly attached to the |
| |
|
81 |
Arpanet or Milnet should use the Exterior Gateway Protocol |
| |
|
82 |
EGP to gather routing information rather then using a static |
| |
|
83 |
routing table of passive gateways. EGP is required in order |
| |
|
84 |
to provide routes for local networks to the rest of the |
| |
|
85 |
Internet system. |
| |
|
86 |
!!FILES |
| |
|
87 |
|
| |
|
88 |
|
| |
|
89 |
''/etc/gateways'' |
| |
|
90 |
!!SEE ALSO |
| |
|
91 |
|
| |
|
92 |
|
| |
|
93 |
''Internet Transport Protocols'', XSIS 028112, Xerox |
| |
|
94 |
System Integration Standard, routed(8). |
| |
|
95 |
!!HISTORY |
| |
|
96 |
|
| |
|
97 |
|
| |
|
98 |
The routed(8) command appeared in |
| |
|
99 |
4.2BSD. |
| |
|
100 |
!!AUTHOR |
| |
|
101 |
|
| |
|
102 |
|
| |
|
103 |
This manpage was extracted from routed(8) by Steve |
| |
|
104 |
Kostecke, |
| |
|
105 |
__ |
| |
|
106 |
---- |