Skip to content

Instantly share code, notes, and snippets.

@seraphy
Last active December 27, 2015 16:09
Show Gist options
  • Save seraphy/7353448 to your computer and use it in GitHub Desktop.
Save seraphy/7353448 to your computer and use it in GitHub Desktop.
IPv6のプライベートアドレスの生成とhostsへの登録方法のメモ

IPv6のプライベートアドレスの生成

###Generate Unique Local Address

fdで始まるものはULAであり、 上記ツールで生成したあと、16ビットのSubnet IDと、64ビットの値を割り当てる。

hostsへの書き方

http://serverfault.com/questions/234711/how-do-i-add-ipv6-address-into-system32-drivers-etc-hosts

netsh interface ipv6 show interface

でインターフェイス番号を取得する.

"etc/hosts"には以下のように記述する. %はインターフェイス番号である.

fe80::215:afff:fec6:ea64%11 realhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment