Print this page
Clearview IPMP manpages

Split Close
Expand all
Collapse all
          --- old/./arp.7p.txt
          +++ new/./arp.7p.txt
↓ open down ↓ 108 lines elided ↑ open up ↑
 109  109            int xarp_flags;                 /* arp_flags field values */
 110  110         };
 111  111         #define ATF_COM 0x2          /* completed entry (arp_ha valid) */
 112  112         #define ATF_PERM 0x4         /* permanent (non-aging) entry */
 113  113         #define ATF_PUBL 0x8         /* publish (respond for other host) */
 114  114         #define ATF_USETRAILERS 0x10 /* send trailer pckts to host */
 115  115         #define ATF_AUTHORITY 0x20   /* hardware address is authoritative */
 116  116  
 117  117       The address  family  for  the  [x]arp_pa  sockaddr  must  be
 118  118       AF_INET.  The  ATF_COM  flag  bits  ([x]arp_flags) cannot be
 119      -     altered.  ATF_USETRAILER  is not implemented on Solaris  and
      119 +     altered.  ATF_USETRAILERS is not implemented on Solaris  and
 120  120       is  retained   for  compatibility  only.  ATF_PERM makes the
 121  121       entry permanent (disables aging)   if  the  ioctl()  request
 122  122       succeeds.  ATF_PUBL specifies that the system should respond
 123  123       to ARP requests for the indicated  protocol  address  coming
 124  124       from  other  machines.  This allows a host to act as an "ARP
 125  125       server," which may  be  useful  in  convincing  an  ARP-only
 126  126       machine  to  talk to a non-ARP  machine. ATF_AUTHORITY indi-
 127  127       cates that this machine  owns  the  address.  ARP  does  not
 128  128       update the entry based on received packets.
 129  129  
↓ open down ↓ 34 lines elided ↑ open up ↑
 164  164       in  the  244  byte  sdl_data[]  area,  an  ENOSPC  error  is
 165  165       returned.  Assuming  it  fits,  the  kernel  will  also  set
 166  166       sdl_alen with the length of hardware address,  sdl_nlen with
 167  167       the  length  of name of the interface (excluding terminating
 168  168       NULL), sdl_type with an IFT_* value to indicate the type  of
 169  169       the  media,  sdl_slen  with  0,  sdl_family with AF_LINK and
 170  170       sdl_index (which if not 0) with system given index  for  the
 171  171       interface.  The information returned is very similar to that
 172  172       returned via routing sockets on an RTM_IFINFO message.
 173  173  
      174 +     The ARP   ioctls  have several additional  restrictions  and
      175 +     enhancements when used in conjunction with IPMP:
      176 +
      177 +        * The ARP  mappings for IPMP  data and test addresses are
      178 +          managed by  the   kernel, and thus    cannot be changed
      179 +          through any  ARP  ioctls, though  they may be retrieved
      180 +          using *SIOCGARP* or *SIOCGXARP*.
      181 +
      182 +        * ARP mappings for a  given IPMP group must be consistent
      183 +          across  the group.  Therefore,  ARP  mappings cannot be
      184 +          associated with  individual underlying IP interfaces in
      185 +          an IPMP group, and  must instead be associated with the
      186 +          corresponding IPMP IP interface.
      187 +
      188 +        * Proxy ARP mappings for  an IPMP group are automatically
      189 +          managed by the kernel.   Specifically, if the  hardware
      190 +          address in a  *SIOCSARP* or *SIOCSXARP* request matches
      191 +          the hardware  address of  an  IP  interface in an  IPMP
      192 +          group, and the  IP address is not  local to the system,
      193 +          the kernel will regard this as a  IPMP Proxy ARP entry.
      194 +          This  IPMP Proxy ARP    entry  will have   its hardware
      195 +          address automatically adjusted in  order to keep the IP
      196 +          address reachable  (provided   the IPMP group has   not
      197 +          entirely failed).
      198 +
 174  199       ARP  performs  duplicate   address   detection   for   local
 175  200       addresses.  When a logical  interface is brought up (IFF_UP)
 176  201       or any time the hardware link goes  up   (IFF_RUNNING),  ARP
 177  202       sends  probes (ar$spa == 0) for the assigned address.  If  a
 178  203       conflict  is   found,  the  interface  is  torn  down.   See
 179  204       ifconfig(1M) for more details.
 180  205  
 181  206       ARP watches for hosts impersonating the local host, that is,
 182  207       any  host  that  responds  to  an  ARP request for the local
 183  208       host's address, and any address for which the local host  is
↓ open down ↓ 130 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX