Phase 0 » Interface Configuration Policy
en

Interface Configuration Policy

/etc/nwam/llp

 The /etc/nwam/llp file is automatically created by nwamd when it starts up, and contains policy rules for configuring network interfaces. When automatically created by nwamd, it implements the following rules:

  • Prefer wired interfaces over wireless interfaces.
  • Within a category (wired vs. wireless), prefer interfaces in the order in which they are first discovered. This ordering is preserved after the initial creation of the file. Newly discovered interfaces will be added at the end of the appropriate section.
  • Use DHCP to obtain an IP address and DNS configuration information for the selected interface.
  • Plumb only IPv4 on the selected interface.

 Any of these rules may be changed by manually editing /etc/nwam/llp, as described below. After making changes to the file, restart the nwam service by executing 'svcadm restart nwam' to put the changes into effect.

  • The interface preference order may be changed by altering the order of entries in the file. However, note that the current nwamd implementation assumes that wireless interfaces are always available, so any interface listed after the first wireless will effectively be ignored.
  • To specify a static IP address to be assigned to the interface (when it is selected), alter the entry as follows:


    #nge0 dhcp #dhcp entry, commented out    nge0 static N.N.N.N/N

 ...where 'N.N.N.N' is the static address, and '/N' optionally represents the prefix length (which is used to set an appropriate netmask).

  • To plumb IPv6 on a given interface (when it is selected), add an entry as follows:


    nge0 dhcp    nge0 IPv6

 An IPv6 address may optionally follow the 'IPv6' keyword, and it will be assigned to the interface; in either case, DHCPv6 and/or Stateless Address Autoconf will be used according to the local network configuration.

Tags:
Created by admin on 2009/10/26 12:16
Last modified by Renee Sommerfeld on 2009/11/12 17:30

XWiki Enterprise 2.7.1.34853 - Documentation