• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Main Menu

Static client routing

Started by heabmi, April 15, 2012, 09:05:20 AM

Previous topic - Next topic

heabmi

Hi. Im running a tunnel via my dd-wrt router which holds the tunnel. Now auto assigned addresses works perfectly but i want to assign a static ip for a server.

Heres my interface config:

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 192.168.1.3
        netmask 255.255.255.0
        gateway 192.168.1.1
        network 192.168.1.0
        broadcast 192.168.1.255
# IPV6
iface eth0 inet6 static
        address 2001:470:27:cfa::3
        netmask 64
        gateway 2001:470:27:cfa::2

gateway is my client ipv6 address. I have tried to use server ipv6 address here also which is 2001:470:27:cfa::1.

I cant ping my gateway or HE server ipv6. Routing table is:
2001:470:27:cfa::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 4294967295
default via 2001:470:27:cfa::2 dev eth0  metric 1  mtu 1500 advmss 1440 hoplimit 4294967295

Im pretty sure it's a routing issue. So my question is how should i set up routing for the clients properly? Appreciate any help :)


kriteknetworks

I dont see your tunnel interface.

heabmi

My tunnel interface is on the router which is working fine with dynamic clients. I put a ifconfig from the router here http://pastebin.com/2feUxvWp

broquea

2001:470:27:cfa::/64 is your HE tunnel's allocation. Try using the statically routed /64.

heabmi

Doh, thanks for pointing that out. Didnt think of it even tho it's in bold.