大网数据广告活动
服务器运维问答

Connecting to Amazon AWS over SSH via IPv6

· 52CE 我爱测

For the past couple weeks I tried configuring an AWS Instance to be reachable via IPv6. However I can't seem to connect to this Machine (Ubuntu Server 16) using an SSH Connection. Heres what I did so far: I created a public VPC w…

问题原文

原帖链接 · Ollowain · CC BY-SA 3.0

For the past couple weeks I tried configuring an AWS Instance to be reachable via IPv6. However I can't seem to connect to this Machine (Ubuntu Server 16) using an SSH Connection.

Heres what I did so far:

  • I created a public VPC with an IPv4 and IPv6 CIDR Block.

  • Therein lies a subnet with autoassigned IPv4 and 6 Adresses

  • I created an Internet-Gateway (IGW) and had the routing Tables point all outgoing traffic to it: Routing Table

  • I set up the ACL to allow ALL incoming SSH Traffic: ACL

Now, while I can access the machine unsing it's public IPv4 Adress and DNS-Name, I can't establish a connection via IPv6

Am I missing a step in configuration or is IPv6 not fully supported in my AWS Region yet? (eu-central-1)

UPDATE:

The Instance does have an IPv6 Adress and it's security group allows inbound SSH Connections:

iDOTstackDOTimgurDOTcomSLASHMkNhcDOTpng iDOTstackDOTimgurDOTcomSLASHFRcY4DOTpng

Yet whenever I try to connect to it via its IPv6 adress, I get a "Network is unreachable" Error

已采纳解答

原帖链接 · Ollowain · CC BY-SA 3.0

A colleague of mine figured it out eventually.

Turns out all I had to do was to manually invoke

sudo dhclient -6

to force a dhcp lookup over IPv6.

Since the interface already showed an ipv6 address I assumed that DHCP was working.

Regardless, I am glad we got it working and I hope this information can help other people avoid this issue.

Regards Ollowain

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-04-25)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。