Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: IPv6 Router settings  (Read 7782 times)

FutureCow

  • Newbie
  • *
  • Posts: 5
IPv6 Router settings
« on: February 23, 2011, 01:08:28 PM »

After reading some information about IPv6, i'm willing to test is myself. I have a IPv6 ready router also de clients are IPv6 ready.
So i signed up, created a tunnel but now i'm stuck setting it up from the router.
It might be because of the problem that i'm thinking in IPv4.
This is what i'm trying:
Setup the tunnel with the router, and also setup DHCPv6 inside the router to give the LAN PC's a IPv6 address. But i'm stuck, this are the settings i'm using:

Code: [Select]

    -----------------------------------PC4: 192.168.1.5 / 2001:470:1f15:13aa::13
    -----------------------------------PC3: 192.168.1.4 / 2001:470:1f15:13aa::12
        -----------------------------------PC2: 192.168.1.3 / 2001:470:1f15:13aa::11
Server ------------------------Tunnel----------------------Client (Draytek Router)---------------------LAN---------------------------------PC1: 192.168.1.2 / 2001:470:1f15:13aa::10
ipv4: 216.66.84.46     ipv4: 81.24.96.88 ipv4: 192.168.1.1
ipv6: 2001:470:1f14:13aa::1/64     ipv6: 2001:470:1f14:13aa::2/64 ipv6: 2001:470:1F15:13AA::3 ??

    WAN settings:
HE Tunnel Details:     IPv6 Connection type:    Static IPv6
Server IPv4 address: 216.66.84.46 IPv6 Address: 2001:470:1f14:13aa::2
Server IPv6 address: 2001:470:1f14:13aa::1/64 Prefix lenght: 0
Client IPv4 address: 81.24.96.88 Gateway IPv6 Address: 2001:470:1F14:13AA::1
Client IPv6 address: 2001:470:1f14:13aa::2/64 Primary DNS Server:     2001:470:20::2

Available DNS Resolvers LAN Settings:
Anycasted IPv6 Caching Nameserver: 2001:470:20::2 IPv6 Address: 2001:470:1F15:13AA::3/64
Anycasted IPv4 Caching Nameserver: 74.82.42.42 IPv6 LL Address: fe80::250:7fff:fece:1d38
IPv6 Autoconfiguration: DHCPv6 Server
Routed IPv6 Prefixes and rDNS Delegations DHCP IPv6 Start: 2001:470:1F15:13AA::10/64
Routed /64: 2001:470:1f15:13aa::/64 DHCP IPv6 End: 2001:470:1F15:13AA::FF/64
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2742
Re: IPv6 Router settings
« Reply #1 on: February 23, 2011, 01:11:46 PM »

I don't think your tunnel is online is it?

Code: [Select]
[carl@mars ~]$ ping6 2001:470:1f14:13aa::2
PING6(56=40+8+8 bytes) 2001:470:c27d:e000:20c:29ff:fe8a:1618 --> 2001:470:1f14:13aa::2
^C
--- 2001:470:1f14:13aa::2 ping6 statistics ---
17 packets transmitted, 0 packets received, 100.0% packet loss

Where are you attempting to host the tunnel?  On your Draytek?  Are you able to ping 2001:470:1f14:13aa::1?

Oh, and thank you for posting all of the IP addresses and not x'ing them out ;)
Logged

FutureCow

  • Newbie
  • *
  • Posts: 5
Re: IPv6 Router settings
« Reply #2 on: February 23, 2011, 01:16:38 PM »

well these are not the real IP's :) that's why you can't ping them!
« Last Edit: February 23, 2011, 01:27:26 PM by FutureCow »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2742
Re: IPv6 Router settings
« Reply #3 on: February 23, 2011, 01:17:30 PM »

So the 2001:470:1f14:13aa::2 isn't your side of the tunnel?

If not, I take back my last comment :(

Can you ping the HE side of the tunnel?
Logged

FutureCow

  • Newbie
  • *
  • Posts: 5
Re: IPv6 Router settings
« Reply #4 on: February 23, 2011, 01:24:47 PM »

IPv6 no reply

IPv4:
--- 216.66.84.46 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 10.962/14.565/18.653 ms

Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2742
Re: IPv6 Router settings
« Reply #5 on: February 23, 2011, 01:26:03 PM »

So your tunnel isn't up if you can't ping the HE side.

What commands did you run to set up the tunnel in the first place?
Logged

FutureCow

  • Newbie
  • *
  • Posts: 5
Re: IPv6 Router settings
« Reply #6 on: February 23, 2011, 01:28:32 PM »

well that is my question. Am I able to setup the Tunnel with my Draytek Router (2130n)?
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2742
Re: IPv6 Router settings
« Reply #7 on: February 23, 2011, 06:58:56 PM »

From what I can find on google, yes, it looks like it
Logged

FutureCow

  • Newbie
  • *
  • Posts: 5
Re: IPv6 Router settings
« Reply #8 on: February 24, 2011, 02:06:53 AM »

I made some progress:
Made a SSH connection to the router and used the Linux-Route2 for confirurating the Tunnel

Code: [Select]
ip tunnel add he-ipv6 mode sit remote 216.66.84.46 local 81.24.96.88 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f14:13aa::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr

The code modprobe ipv6 didn't work.  (-ash: modprobe: not found)

Ping reply:
PING 2001:470:1f14:13aa::1 (2001:470:1f14:13ea::1): 56 data bytes
64 bytes from 2001:470:1f14:13aa::1: seq=0 ttl=64 time=18.309 ms
64 bytes from 2001:470:1f14:13aa::1: seq=1 ttl=64 time=14.456 ms
64 bytes from 2001:470:1f14:13aa::1: seq=2 ttl=64 time=14.780 ms
64 bytes from 2001:470:1f14:13aa::1: seq=3 ttl=64 time=14.693 ms
64 bytes from 2001:470:1f14:13aa::1: seq=4 ttl=64 time=11.326 ms

--- 2001:470:1f14:13ea::1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 11.326/14.712/18.309 ms


So the tunnel is working?
I can't ping other IPv6 addresses

How to setup the LAN side of the router en the LAN clients?

Code: [Select]
root@Vigor2130:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:50:7F:CE:1D:38
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2001:470:1f15:13aa::3/64 Scope:Global
          inet6 addr: fe80::250:7fff:fece:1d38/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:474767 errors:0 dropped:0 overruns:0 frame:0
          TX packets:644813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:104442495 (99.6 MiB)  TX bytes:636495874 (607.0 MiB)

br-wan    Link encap:Ethernet  HWaddr 00:50:7F:CE:1D:39
          inet addr:81.24.96.88  Bcast:81.24.99.255  Mask:255.255.252.0
          inet6 addr: 2001:470:1f14:13aa::2/0 Scope:Global
          inet6 addr: fe80::250:7fff:fece:1d39/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:208909 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:56026654 (53.4 MiB)  TX bytes:5974288 (5.6 MiB)
« Last Edit: February 24, 2011, 05:08:51 AM by FutureCow »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2742
Re: IPv6 Router settings
« Reply #9 on: February 24, 2011, 05:17:21 AM »

Yep, since you were able to ping 2001:470:1f14:13aa::1 it means your tunnel is up.

As for distributing addresses, does it do Router Advertisement?  Make sure you use your routed /64 for this. (Available on your tunnel page)
Logged