network.opts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Network adapter configuration
  2. #
  3. # The address format is "scheme,socket,instance,hwaddr".
  4. #
  5. # Note: the "network address" here is NOT the same as the IP address.
  6. # See the Networking HOWTO. In short, the network address is the IP
  7. # address masked by the netmask.
  8. #
  9. case "$ADDRESS" in
  10. *,*,*,*)
  11. INFO="Sample private network setup"
  12. # Use this to override the interface name -- see 'man nameif'
  13. NAMEIF=""
  14. # Transceiver selection, for some cards -- see 'man ifport'
  15. IF_PORT=""
  16. # Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
  17. BOOTP="n"
  18. # Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
  19. DHCP="n"
  20. # If you need to explicitly specify a hostname for DHCP requests
  21. DHCP_HOSTNAME=""
  22. # Host's IP address, netmask, network address, broadcast address
  23. IPADDR=""
  24. NETMASK="255.255.255.0"
  25. NETWORK="10.0.1.0"
  26. BROADCAST="10.0.1.255"
  27. # Gateway address for static routing
  28. GATEWAY="10.0.1.1"
  29. # Things to add to /etc/resolv.conf for this interface
  30. DOMAIN=""
  31. SEARCH=""
  32. DNS_1=""
  33. DNS_2=""
  34. DNS_3=""
  35. # NFS mounts, should be listed in /etc/fstab
  36. MOUNTS=""
  37. # If you need to override the interface's MTU...
  38. MTU=""
  39. # For IPX interfaces, the frame type and network number
  40. IPX_FRAME=""
  41. IPX_NETNUM=""
  42. # Extra stuff to do after setting up the interface
  43. start_fn () { return; }
  44. # Extra stuff to do before shutting down the interface
  45. stop_fn () { return; }
  46. # Card eject policy options
  47. NO_CHECK=n
  48. NO_FUSER=n
  49. ;;
  50. esac