>Привет!
>
>Написано, что routed строит табл. маршрутизаии в соответствии с файлом /etc/gateways (Linux
>debian)
>
>то ли я дурак совсем... не получается ((
>
>а статикой нормально.. типа:
>route add -net 172.16.2.0 netmask 255.255.255.0 gw 172.16.1.1
>
>дайте примерчик )))
>а?
>
>спасибо!
>
>С уважением, Camb.
Привет.
man routed внимательно читал? ;-)
-cut-man routed-
The /etc/gateways file is comprised of a series of lines, each in one of
the following two formats or consist of parameters described later.
Blank lines and lines starting with '#' are comments.
net Nname[/mask] gateway Gname metric value <passive | active | extern>
host Hname gateway Gname metric value <passive | active | extern>
Nname or Hname is the name of the destination network or host. It may be
a symbolic network name or an Internet address specified in "dot" nota-
tion (see inet(3)). (If it is a name, then it must either be defined in
/etc/networks or /etc/hosts, or named(8), must have been started before
routed.)
Mask is an optional number between 1 and 32 indicating the netmask asso-
ciated with Nname.
Gname is the name or address of the gateway to which RIP responses should
be forwarded.
Value is the hop count to the destination host or network. Host hname is
equivalent to net nname/32.
One of the keywords passive, active or external must be present to indi-
cate whether the gateway should be treated as passive or active (as
described above), or whether the gateway is external to the scope of the
RIP protocol.
-cut-