home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / linuxcon.6 / linuxcon / usr / lib / linuxconf / help.eng / netconf / default_route.help < prev    next >
Encoding:
Text File  |  1996-08-04  |  2.1 KB  |  42 lines

  1.   Default route
  2.   Introduction
  3.  
  4.   Once you have fill the "basic host information" form, you _L_i_n_u_x system
  5.   knows how to send packet to other TTCCPP//IIPP on the same network as yours.
  6.   That's it. If you try to send packets to a host (another computer) on
  7.   a different Ethernet network, it won't work unless you tell the system
  8.   which gateway is suitable to reach this other network.
  9.  
  10.   11..  BBaassiicc ttooppoollooggyy ooff aa LLAANN..
  11.  
  12.   A LAN is generally a set of machines sharing a common Ethernet
  13.   network. Quite often, several separate LANs are connected together
  14.   using one or more routers. One simple and effective router is a _L_i_n_u_x
  15.   system with two Ethernet adaptors.
  16.  
  17.   If there is only one gateway connecting your LAN to other LANs or even
  18.   the _I_n_t_e_r_n_e_t, setting the default route to the IP address of this
  19.   gateway is a safe bet.
  20.  
  21.   22..  WWhheenn nnoott ttoo uussee aa ddeeffaauulltt rroouuttee
  22.  
  23.   If your system is connected to the _I_n_t_e_r_n_e_t using either SSlliipp or PPPPPP,
  24.   then don't set the default route in _L_i_n_u_x_c_o_n_f. Just select the default
  25.   route option of the specific connectivity package you are using (dip,
  26.   pppd, slirp).  Those packages will setup the default route when the
  27.   link is up and remove it when it goes down. With PPPPPP, IP numbers are
  28.   often allocated dynamicly from the other side, so you have little idea
  29.   of the gateway IP until the link is up.
  30.  
  31.   On complex networks with many LANs, with many gateway and even
  32.   redundant gateway, your best bet is to use dynamic routing with
  33.   package like routed (supported by _L_i_n_u_x_c_o_n_f) or gated.
  34.  
  35.   33..  TThhee ddeeffaauulltt rroouuttee iiss cchheecckkeedd llaasstt aannyywwaayy
  36.  
  37.   The default route is always the last one checked by the kernel.  The
  38.   command "nneettssttaatt --nnrr" shows this. So you may set the default route and
  39.   then add route to specific network or host later and these will take
  40.   precedence over the default route.
  41.  
  42.