Print this page
7388 Support DHCP Client FQDN. Allow IAID/DUID for all v4.

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/ipadm.1m
          +++ new/usr/src/man/man1m/ipadm.1m
↓ open down ↓ 4 lines elided ↑ open up ↑
   5    5  .\" 1.0 of the CDDL.
   6    6  .\"
   7    7  .\" A full copy of the text of the CDDL should have accompanied this
   8    8  .\" source.  A copy of the CDDL is also available via the Internet at
   9    9  .\" http://www.illumos.org/license/CDDL.
  10   10  .\"
  11   11  .\"
  12   12  .\" Copyright (c) 2012, Joyent, Inc. All Rights Reserved
  13   13  .\" Copyright (c) 2013 by Delphix. All rights reserved.
  14   14  .\" Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       15 +.\" Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
  15   16  .\"
  16      -.Dd April 9, 2016
       17 +.Dd November 7, 2016
  17   18  .Dt IPADM 1M
  18   19  .Os
  19   20  .Sh NAME
  20   21  .Nm ipadm
  21   22  .Nd configure IP interfaces, addresses and protocols
  22   23  .Sh SYNOPSIS
  23   24  .Nm
  24   25  .Ic create-if
  25   26  .Op Fl t
  26   27  .Ar interface
↓ open down ↓ 36 lines elided ↑ open up ↑
  63   64  .Fl T Cm static
  64   65  .Op Fl d
  65   66  .Fl a Oo Cm local Ns | Ns Cm remote Ns = Oc Ns
  66   67  .Ar addr Ns Oo / Ns Ar prefixlen Oc Ns ...
  67   68  .Ar addrobj
  68   69  .Nm
  69   70  .Ic create-addr
  70   71  .Op Fl t
  71   72  .Fl T Cm dhcp
  72   73  .Op Fl w Ar seconds Ns | Ns Cm forever
       74 +.Op Fl 1
       75 +.Op Fl h Ar hostname
  73   76  .Ar addrobj
  74   77  .Nm
  75   78  .Ic create-addr
  76   79  .Op Fl t
  77   80  .Fl T Cm addrconf
  78   81  .Op Fl i Ar interface-id
  79   82  .Oo Fl p Bro Cm stateful Ns | Ns Cm stateless Brc Ns = Ns
  80   83  .Bro Cm yes Ns | Ns Cm no Brc Oc Ns ...
  81   84  .Ar addrobj
  82   85  .Nm
↓ open down ↓ 321 lines elided ↑ open up ↑
 404  407  .Op Fl d
 405  408  .Fl a Oo Cm local Ns | Ns Cm remote Ns = Oc Ns
 406  409  .Ar addr Ns Oo / Ns Ar prefixlen Oc Ns ...
 407  410  .Ar addrobj
 408  411  .br
 409  412  .Nm
 410  413  .Ic create-addr
 411  414  .Op Fl t
 412  415  .Fl T Cm dhcp
 413  416  .Op Fl w Ar seconds Ns | Ns Cm forever
      417 +.Op Fl 1
      418 +.Op Fl h Ar hostname
 414  419  .Ar addrobj
 415  420  .br
 416  421  .Nm
 417  422  .Ic create-addr
 418  423  .Op Fl t
 419  424  .Fl T Cm addrconf
 420  425  .Op Fl i Ar interface-id
 421  426  .Oo Fl p Bro Cm stateful Ns | Ns Cm stateless Brc Ns = Ns
 422  427  .Bro Cm yes Ns | Ns Cm no Brc Oc Ns ...
 423  428  .Ar addrobj
↓ open down ↓ 23 lines elided ↑ open up ↑
 447  452  .Pq Qq =
 448  453  should be omitted and the address should be provided by itself without second
 449  454  address.
 450  455  .It Fl d Ns , Ns Fl -down
 451  456  The address is down.
 452  457  .El
 453  458  .It Fl T Cm dhcp
 454  459  Obtain the address via DHCP. This takes the following options:
 455  460  .Bl -tag -width ""
 456  461  .It Fl w Ns , Ns Fl -wait
 457      -Specify the time, in seconds, that the command should wait to obtain an address.
      462 +Specify the time, in seconds, that the command should wait to obtain an
      463 +address; or specify
      464 +.Cm forever
      465 +to wait without interruption.  The default value is 120.
      466 +.It Fl 1 Ns , Ns Fl -primary
      467 +Specify that the interface is primary.  One effect will be that
      468 +.Xr nodename 4
      469 +will serve as
      470 +.Fl h Ns , Ns Fl -reqhost
      471 +if that switch is not otherwise specified.
      472 +.It Fl h Ns , Ns Fl -reqhost
      473 +Specify the host name to send to the DHCP server in order to request an
      474 +association of a Fully Qualified Domain Name to the interface. An FQDN is
      475 +determined from
      476 +.Ar hostname
      477 +if it is "rooted" (ending in a '.'), or if it consists of at least three
      478 +DNS labels, or by appending to
      479 +.Ar hostname
      480 +the value configured separately using either
      481 +.Xr defaultdomain 4
      482 +or
      483 +.Xr resolv.conf 4 .
      484 +N.b. that the DHCP server implementation ultimately determines whether and
      485 +how the client-sent FQDN is used.
 458  486  .El
 459  487  .It Fl T Cm addrconf
 460  488  Create an auto-configured address. This takes the following options:
 461  489  .Bl -tag -width ""
 462  490  .It Fl i Ns , Ns Fl -interface-id
 463  491  Specify the interface ID to be used.
 464  492  .It Fl p Ns , Ns Fl -prop
 465  493  Specify which method of auto-configuration should be used.
 466  494  .El
 467  495  .It Fl t Ns , Ns Fl -temporary
↓ open down ↓ 156 lines elided ↑ open up ↑
 624  652  Specify the property name and value(s). The property name can be one of the
 625  653  following:
 626  654  .Bl -tag -compact -width "deprecated"
 627  655  .It Cm broadcast
 628  656  The broadcast address (read-only).
 629  657  .It Cm deprecated
 630  658  The address should not be used to send packets but can still receive packets
 631  659  .Pq Cm on Ns / Ns Cm off .
 632  660  .It Cm prefixlen
 633  661  The number of bits in the IPv4 netmask or IPv6 prefix.
      662 +.It Cm primary
      663 +The DHCP primary interface flag (read-only).
 634  664  .It Cm private
 635  665  The address is not advertised to routing
 636  666  .Pq Cm on Ns / Ns Cm off .
      667 +.It Cm reqhost
      668 +The host name to send to the DHCP server in order to request an association
      669 +of an FQDN to the interface.  For a primary DHCP interface,
      670 +.Xr nodename 4
      671 +is sent if this property is not defined.  See the
      672 +.Nm
      673 +.Ic create-addr
      674 +.Fl T Cm dhcp
      675 +subcommand for an explanation of how an FQDN is determined.
 637  676  .It Cm transmit
 638  677  Packets can be transmitted
 639  678  .Pq Cm on Ns / Ns Cm off .
 640  679  .It Cm zone
 641      -The zone the addrobj is in.
      680 +The zone the addrobj is in. (temporary-only.  Use
      681 +.Xr zonecfg 1M
      682 +to make persistent).
 642  683  .El
 643  684  .It Fl t Ns , Ns Fl -temporary
 644  685  Temporary, not persistent across reboots.
 645  686  .El
 646  687  .It Xo
 647  688  .Nm
 648  689  .Ic reset-addrprop
 649  690  .Op Fl t
 650  691  .Fl p Ar prop
 651  692  .Ar addrobj
↓ open down ↓ 171 lines elided ↑ open up ↑
 823  864  .El
 824  865  .El
 825  866  .Sh SEE ALSO
 826  867  .Xr arp 1M ,
 827  868  .Xr cfgadm 1M ,
 828  869  .Xr dladm 1M ,
 829  870  .Xr if_mpadm 1M ,
 830  871  .Xr ifconfig 1M ,
 831  872  .Xr ndd 1M ,
 832  873  .Xr zonecfg 1M ,
      874 +.Xr defaultdomain 4 ,
      875 +.Xr nodename 4 ,
 833  876  .Xr nsswitch.conf 4 ,
      877 +.Xr resolv.conf 4 ,
 834  878  .Xr dhcp 5
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX