Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ECLAT-ASSOCADDR(1)	      Eclat User Reference	      ECLAT-ASSOCADDR(1)

NAME
     eclat-assocaddr,  eclat-associate-address - associate an IP address with an
     instance

SYNOPSIS
     eclat assocaddr [OPTIONS] INSTANCE IP

     eclat assocaddr [OPTIONS] INSTANCE ALLOC-ID

     eclat assocaddr --help

DESCRIPTION
     The assocaddr command associates an Elastic IP address with an non-VPC  in-
     stance or associates a VPC Elastic IP address with an instance in your VPC.

     The  first  argument is always the ID of the instance to operate upon.  The
     meaning of the second argument depends on the --vpc  command  line  option.
     If  that  option  is  given, the second argument supplies the allocation ID
     that AWS returned when you allocated the Elastic IP address  for  use  with
     Amazon  VPC.   Otherwise, it is the Elastic IP to assign to the non-VPC in-
     stance.

OPTIONS
     -A, --allow-reassociation
	    Allows an already associated address to be	re-associated  with  the
	    specified instance (VPC only).

     -i, --interface=IFACE
	    A network interface ID to associate with the instance (vpc only).

     -p, --private-address=ADDRESS
	    Private  IP  address  to  associate with the Elastic IP address (vpc
	    only).

     -v, --vpc
	    Assign VPC addresses.

OUTPUT AND RETURN VALUE
     The default output format does not display anything if the  operation  suc-
     ceeds.   Otherwise  it  prints on the standard error the diagnostic message
     returned by the Amazon, and returns code 1 to the shell.

     The code 2 is returned if eclat is unable to recognize the response.

EXAMPLES
   1.
     Assign an Elastic IP to the instance:

     eclat assocaddr i-2ea64347 192.0.2.1

   2.
     Associate an IP address with an instance in the VPC:

     eclat assocaddr --vpc i-4fd2431a eipalloc-5723d13e

SEE ALSO
     eclat(1), eclat-mkaddr(1), eclat-rmaddr(1), eclat-disassaddr(1).

AUTHORS
     Sergey Poznyakoff

BUG REPORTS
     Report bugs to <bug-eclat@gnu.org.ua>.

COPYRIGHT
     Copyright (C) 2012-2018 Sergey Poznyakoff
     License GPLv3+: GNU GPL version 3 or later <http://gnu.org/li-
     censes/gpl.html>
     This is free software: you are free to change and redistribute  it.   There
     is NO WARRANTY, to the extent permitted by law.

ECLAT				January 26, 2015	      ECLAT-ASSOCADDR(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=eclat-assocaddr&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help