NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ipv6 tunnel to ec2 instances



Hello,

Does anybody here have a working IPv6 tunnel into an ec2 instance?  I
seem to have trouble setting this up.  The He.net configuration helper
suggests the following (which seems about right to me):

ifconfig gif0 create
ifconfig gif0 tunnel 50.16.84.149 216.66.38.58
ifconfig gif0 inet6 2001:470:1c:7e0::2 2001:470:1c:7e0::1 prefixlen 128
route -n add -inet6 default 2001:470:1c:7e0::1

But the EC2 instance (NetBSD 6.0_BETA, ami-37805e5e) does not seem to be
get any IPv6 connectivity:

# ifconfig -a
xennet0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=2800<TCP4CSUM_Tx,UDP4CSUM_Tx>
        enabled=0
        address: 12:31:3d:01:54:95
        inet 10.245.87.99 netmask 0xfffffe00 broadcast 10.245.87.255
        inet6 fe80::1031:3dff:fe01:5495%xennet0 prefixlen 64 scopeid 0x1
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33184
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>
        tunnel inet 50.16.84.149 --> 216.66.38.58
        inet6 fe80::d8dd:8b8a:b400:eb6d%gif0 ->  prefixlen 64 scopeid 0x3
        inet6 2001:470:1c:7e0::2 -> 2001:470:1c:7e0::1 prefixlen 128
# route -n show

Internet:
Destination        Gateway            Flags default
10.245.86.1        UG     10.245.86.0/23     link#1             U
10.245.86.1        fe:ff:ff:ff:ff:ff  UHL    127.0.0.0/8
127.0.0.1          UGR    127.0.0.1          127.0.0.1          UH

Internet6:
Destination                        Gateway              Flags
::/96                              ::1                  UGR
::                                 2001:470:1c:7e0::1   UG
::1                                ::1                  UH
2001:470:1c:7e0::1                 2001:470:1c:7e0::2   UH
2001:470:1c:7e0::2                 link#3               UHL
[...]

I can see no IPv6 traffic at all.

The Amazon firewall is completely open, and a Linux instance works just
fine in the same security group.

Any ideas?
-Jan

Attachment: pgpUVkmJCOtUH.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index