


route(8)                                                 route(8)


NNAAMMEE
       route - display and modify system routing table

SSYYNNOOPPSSIISS
       rroouuttee [[--vv]]
       rroouuttee aadddd ddssttaaddddrr iinntteerrffaaccee [[mmeettrriicc NNNN]] [[ggww ggaatteewwaayy]]
       rroouuttee ddeell ddssttaaddddrr

DDEESSCCRRIIPPTTIIOONN
       _R_o_u_t_e  is  used  to  display  and modify MintNet's routing
       table. You can add an delete routes.   The  whole  routing
       table  of  the  system is displayed (in the format _n_e_t_s_t_a_t
       uses when invoked with  the  --rrnn  option)  when  _r_o_u_t_e  is
       invoked without arguments.

OOPPTTIIOONNSS
       add ddssttaaddddrr    This option causes route to add a new route
                      to the systems routing table for the desti-
                      nation  address ddssttaaddddrr, which can be given
                      in standard dot notation or can be  a  sym-
                      bolic  name  which  is  resolved into an IP
                      address.  A special case for ddssttaaddddrr is the
                      name  ddeeffaauulltt.   This  name causes _r_o_u_t_e to
                      add a default route  (used  when  no  other
                      route  matches the destination address of a
                      packet). This special  destination  address
                      can only be used in conjunction with the ggww
                      option.  ddssttaaddddrr can be either the  address
                      of  a network (thats the case when the host
                      portion of the given IP address is zero) or
                      the  address  of a host (when the host por-
                      tion of the given IP address is non  zero).
                      Based on the type of the address rroouuttee will
                      add a route to a network or a  route  to  a
                      host.

       metric NN      This  option  can only be used with the aadddd
                      command and sets the  distance  metric  for
                      the  route  to  the  specified  destination
                      address. The distance metric is a  measure-
                      ment  for how good the route is. The metric
                      is the number of `hops' (that is the number
                      of  edges on the route when you imagine the
                      network as a graph with the  hosts  at  the
                      vertices) between the source and the desti-
                      nation. The metric value is only useful for
                      gateway routes.

       gw aaddddrr        This  option  can only be used with the aadddd
                      command and tells  rroouuttee  that  this  route
                      goes  over  a  gateway  host which forwards
                      packets to the destination address  of  the
                      route  for you.  aaddddrr is the address of the
                      gateway and must be the address of a  host.



                             MintNet                            1





route(8)                                                 route(8)


       interface      This  is  the name of the network interface
                      over which outgoing packets to  the  speci-
                      fied destination address should be sent.

AAUUTTHHOORR
       Kay Roemer <roemer@rbi.informatik.uni-frankfurt.de>

SSEEEE AALLSSOO
       _i_f_c_o_n_f_i_g(8), _n_e_t_s_t_a_t(8).
















































                             MintNet                            2


