{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/705","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/705/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/705/events","html_url":"https://github.com/hashicorp/consul/issues/705","id":57790582,"number":705,"title":"IPv6 address inconsistencies","user":{"login":"wido","id":326786,"avatar_url":"https://avatars.githubusercontent.com/u/326786?v=3","gravatar_id":"","url":"https://api.github.com/users/wido","html_url":"https://github.com/wido","followers_url":"https://api.github.com/users/wido/followers","following_url":"https://api.github.com/users/wido/following{/other_user}","gists_url":"https://api.github.com/users/wido/gists{/gist_id}","starred_url":"https://api.github.com/users/wido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wido/subscriptions","organizations_url":"https://api.github.com/users/wido/orgs","repos_url":"https://api.github.com/users/wido/repos","events_url":"https://api.github.com/users/wido/events{/privacy}","received_events_url":"https://api.github.com/users/wido/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/consul/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T11:00:05Z","updated_at":"2015-05-07T00:55:09Z","closed_at":"2015-05-07T00:55:09Z","body":"When using Consul over IPv6 there are a couple of inconsistencies\r\n\r\n\"bind_addr\" has to be configured without [ and ] around the address:\r\n\r\n\"bind_addr\": \"2a00:f10:X:X:X\"\r\n\r\nBut when joining a cluster you have to specify them:\r\n\r\nconsul join [2a00:f10:X:X]\r\n\r\nIt would be easier if this inconsistency would be resolved."},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/99663573","html_url":"https://github.com/hashicorp/consul/issues/705#issuecomment-99663573","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/705","id":99663573,"user":{"login":"ryanuber","id":1642288,"avatar_url":"https://avatars.githubusercontent.com/u/1642288?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanuber","html_url":"https://github.com/ryanuber","followers_url":"https://api.github.com/users/ryanuber/followers","following_url":"https://api.github.com/users/ryanuber/following{/other_user}","gists_url":"https://api.github.com/users/ryanuber/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanuber/subscriptions","organizations_url":"https://api.github.com/users/ryanuber/orgs","repos_url":"https://api.github.com/users/ryanuber/repos","events_url":"https://api.github.com/users/ryanuber/events{/privacy}","received_events_url":"https://api.github.com/users/ryanuber/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T00:55:09Z","updated_at":"2015-05-07T00:55:09Z","body":"I think the reason for the difference here is that defining a bind address requires only the address, whereas doing a join might require an `<addr>:<port>` type of notation. in some cases. Since specifying `ip:port` format with IPv6 would be ambiguous without the brackets, we definitely need to keep them there for the join case. As for the bind_addr, I don't think it really makes sense to force the user to specify brackets if they are not allowed to also specify the port.\r\n\r\nI think what we have now is the correct behavior, so I am going to close this."}}