


ifconfig(8)                                           ifconfig(8)


NNAAMMEE
       ifconfig - network interface configuration

SSYYNNOOPPSSIISS
       iiffccoonnffiigg [[--aa||--vv]] [[iinntteerrffaaccee ooppttiioonnss]]

DDEESSCCRRIIPPTTIIOONN
       _I_f_c_o_n_f_i_g  is used to set and show the addresses, flags and
       options of network interfaces.

       When _i_f_c_o_n_f_i_g is invoked without  arguments,  it  shows  a
       table  of  all running network interfaces, their addresses
       and flags in a human readable form.  The option --aa  forces
       _i_f_c_o_n_f_i_g  to display all interfaces in the system, no mat-
       ter if they are running or not.

       When a single argument (the name of a  network  interface)
       is  given,  _i_f_c_o_n_f_i_g  just shows the status of this inter-
       face.

       _i_f_c_o_n_f_i_g sets flags and addresses of the  interface  named
       as the first argument when additional options are given.

OOPPTTIIOONNSS
       interface      The  name  of  the  interface to deal with.
                      lloo00, and ssll00 are valid names for the  loop-
                      back   interface  and  the  SLIP  interface
                      (channel 0) respectively.

       addr iinneettaaddddrr  This option  causes  _i_f_c_o_n_f_i_g  to  set  the
                      local   IP  address  of  the  interface  to
                      iinneettaaddddrr.  This is the address your machine
                      can  be  reached  at  over  this interface.
                      iinneettaaddddrr can be in standard IP address  dot
                      notation or can be a symbolic name which is
                      resolved into an IP address.  NOTE that you
                      must  not  use a symbolic name when setting
                      up the loopback interface, because symbolic
                      names  cannot  be resolved before the loop-
                      back interface is set up.

       dstaddr iinneettaaddddrr
                      Set the point to point destination  address
                      of  the interface to iinneettaaddddrr, which can be
                      an IP address or  a  symbolic  name.   This
                      option  will  only  work  on point to point
                      interfaces, like the ssll??  ones.

       broadaddr aaaa..bbbb..cccc..dddd
                      Set the broadcast address of the  interface
                      to  aaaa..bbbb..cccc..dddd.   This defaults to the net
                      broadcast address of the attached  network,
                      but  can  be  set  to any valid IP address.
                      This option will only  work  on  interfaces



                             MintNet                            1





ifconfig(8)                                           ifconfig(8)


                      that  support  broadcasting,  like  the lloo00
                      interface.

       netmask aaaa..bbbb..cccc..dddd
                      Set the subnet mask  of  the  interface  to
                      aaaa..bbbb..cccc..dddd.   This is by default the class
                      A, B or C netmask of the local  address  of
                      the interface set with the aaddddrr option.  It
                      can be used to split a large  network  into
                      many small subnetworks.

       up             This  sets  the  UP  flag on the interface.
                      This is used to activate the interface.

       down           This clears the UP flags on the  interface.
                      This is used to shut down the interface.

       [-]arp         (De)activate usage of the ARP (address res-
                      olution protocol) protocol for resolving IP
                      addresses into hardware addresses.

       [-]trailers    (De)activate usage of trailer encapsulation
                      for this interface.

       [-]debug       (De)activate debugging for this  interface.
                      Debugging is currently a no-op.

       mtu NN         Set  the mtu (maximum transmission unit) of
                      the interface to NN bytes.  Better make  it
                      large  enough  as  long as fragmentation is
                      not implemented.

       metric NN      Set the metric of the interface to NN. This
                      value is currently not used.

       [-]linkNN      This option sets (clears) the bit with num-
                      ber NN in the link level flag word  of  the
                      interface.   The flag word is 16 bits wide,
                      so [-]link0 through  [-]link15  are  valid.
                      Bit  0 is the least significant, bit 15 the
                      most significant bit.
                      Link level flags are  interface  type  spe-
                      cific.  Thats  why  _i_f_c_o_n_f_i_g  only uses bit
                      numbers instead  of  meaningful  names  for
                      them.   Currently only SLIP interfaces sup-
                      port link level flags.  Bit  3  turns  auto
                      compression  on: if set and a VJ compressed
                      SLIP  frame  is  received   the   interface
                      enables  compression  for  outgoing frames.
                      Bit 4 is the compression  bit:  if  set  VJ
                      header compression is enabled.

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



                             MintNet                            2





ifconfig(8)                                           ifconfig(8)


SSEEEE AALLSSOO
       _r_o_u_t_e_(_8_)_.























































                             MintNet                            3


