#2229 host-add does not accept IPv6 addresses
Closed: Fixed None Opened 12 years ago by mkosek.

host-add must support both version of the IP address family. Currently, it fails for valid IPv6 addresses:

# ipa host-add server.example.com --ip-address=fe80::2
ipa: ERROR: invalid 'ip_address': invalid IP address

I found out that the command is right, it just gave a confusing error message. Address fe80::2 is link-local and thus couldn't be as a host address.

Address 2001::beef:1 worked fine.

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/01

7 years ago

Login to comment on this ticket.

Metadata