Let's talk one more word about routing. When running SLIP or PPP, it's
sufficient to have a route add default <remote-ip>
somewhere. However, if you want to hook up your machine to a more complex
network, it's wise to use routed
instead of static
routes. Therefore, set routed_flags
to "-q"
in
`/etc/netstart' then, and it will listen for routing-updates.
If you are a gateway yourself (e.g. SLIP/PPP-Ethernet), set
routed_flags
to ""
instead to advertise that route. Also, if
there are several gateways on your network, put information about them
into `/etc/gateways'.
For example, when DUSK is the SLIP-gateway for NOON
(see Picture 1), I set routed_flags
to ""
and put the
following into DUSKs `/etc/gateways':
host 132.199.15.97 gateway 132.199.15.98 metric 1 active
This example establishes a route to NOON (132.199.15.97) via
DUSKs SLIP-interface (132.199.15.98). "metric 1
" says that
NOON is one hop away from DUSK, i.e. that it's directly
connected.
Therre's no need to setup a `/etc/gateways' for dial-up SLIP/PPP
connections, especially if you're using the combination
pppd
/chat
or bsddip
.