FreeBSD Manual Pages
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 instance 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 al- location 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 instance. 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 on- ly). -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 succeeds. 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-2015 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)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OUTPUT AND RETURN VALUE | EXAMPLES | SEE ALSO | AUTHORS | BUG REPORTS | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=eclat-assocaddr&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>