home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3.4.17 [SPARC, PA-RISC] / nextstep33_risc.iso / private / etc / iftab < prev    next >
Text File  |  1993-04-08  |  2KB  |  34 lines

  1. #
  2. #    Network interface configuration file
  3. #
  4. #    /etc/rc.net will read this file to determine what configuration
  5. #    commands are to be applied to the machine's network interfaces.
  6. #    Each line is a rule beginning with an interface pattern followed
  7. #    by a protocol/address family and a set of ifconfig parameters
  8. #    or command line to execute.  Each interface present on the machine
  9. #    will be matched against the interface patterns in this file and
  10. #    the first one found for each unique protocol/address familiy will
  11. #    be executed.  For example, as shipped, this file will do automatic
  12. #    internet (inet) configuration for all interfaces (*) except for
  13. #    the "primary" one, which will be configured according to hostconfig.
  14. #
  15. #    Details: The interface name can use asterisks (*) to match any
  16. #    substring.  The protocol/address family can be any string.
  17. #    The rest of the line will be given to ifconfig unless it is
  18. #    preceeded by an exclamation mark (!), in which case it will be
  19. #    executed as a command.  In the latter case, the variable $if
  20. #    can be used to refer to the interface name to be configured.
  21. #
  22. #    Special Case #1: An interface name of -1- will match the primary
  23. #    interface, whichever it might be.
  24. #
  25. #    Special Case #2: An argument string of -HOSTCONFIG- will redirect
  26. #    rc.net to get the network config info from the /etc/hostconfig file.
  27. #
  28. #    Tip: To disable an interface, enter a line with the interface's
  29. #    name and an action of "!false" (or any command that is a noop).
  30. #
  31.  
  32. -1-    inet    -HOSTCONFIG-
  33. *    inet    -AUTOMATIC- netmask -AUTOMATIC- -trailers up
  34.