1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Odd IP6 routing on Shibby with SixXS tunnel

Discussion in 'Tomato Firmware' started by Claus Andersen, Oct 23, 2012.

  1. Claus Andersen

    Claus Andersen Serious Server Member

    Hi,

    I am struggling to set up a SixXS 6in4 tunnel on Tomato 1.28 Shibby 102 Nocat VPN. It automatically creates some routes I would like to delete.

    The intention is to share a (hopeful) success and I am creating a How-To:
    http://enkel-it.dk/blog/?p=135

    The basic IP6 setup seems simple enough. I can see others have had success with HE Tunnelbroker so I know it Should Work(TM).

    The routing table is set up automatically and it looks really strange to my eyes. I have had help from the SixXS people and they agree with me as well. It seems that Tomato creates a route for the remote tunnel endpoint on my local loopback. According to this it should be very common on Linux 2.6 so the easy fix should be to remove it.

    I would then like to remove this entry:
    Code:
    Destination Next Hop Flags Metric Ref Use Iface
    2001:16d8:a43b:7c9::1/128 :: U 0 21 1 lo
    
    ...so I tried...
    Code:
    # route -A inet6 del 2001:16d8:a43b:7c9::1 dev lo metric 0
    
    ...but failed...
    Code:
    route: SIOCDELRT: No such process
    
    ...and went on with ip...
    Code:
    # ip -6 addr del 2001:16d8:a43b:7c9::1/128 dev lo
    
    ...but alas no luck:
    Code:
    RTNETLINK answers: Cannot assign requested address
    
    I am very unsure if it is simply busybox which is being unfriendly to me or there is something even more obvious which eludes me?!?

    It crossed my mind to change from "gateway" mode to "router" mode and that would let me specify the routing table manually. I have however not done that because that would disable my IPv4 NAT capability if I have understood correctly?

    Any help, pointers, tips or comforting words you guys can offer?

    Kind Regards,
    Claus Andersen


    Full IP6 route table for reference (IPs have been obfuscated):

    Code:
    Kernel IPv6 routing table
    Destination Next Hop Flags Metric Ref Use Iface
    2001:16d8:a43b:7c9::/64 :: U 256 0 0 br0
    2001:16d8:a43b:7c9::/64 :: U 256 0 0 v6in4
    2001:4860:4860::8844/128 2001:4860:4860::8844 UC 0 3 0 v6in4
    2001:4860:4860::8888/128 2001:4860:4860::8888 UC 0 1 0 v6in4
    2a00:1450:400f:800::100e/128 2a00:1450:400f:800::100e UC 0 1 0 v6in4
    fe80::/64 :: U 256 0 0 eth0
    fe80::/64 :: U 256 0 0 vlan1
    fe80::/64 :: U 256 0 0 eth1
    fe80::/64 :: U 256 0 0 eth2
    fe80::/64 :: U 256 0 0 br0
    fe80::/64 :: U 256 0 0 vlan2
    fe80::/64 :: U 256 0 0 v6in4
    ::/0 :: U 1024 0 0 v6in4
    ::1/128 :: U 0 0 1 lo
    2001:16d8:a43b:7c9::/128 :: U 0 0 2 lo
    2001:16d8:a43b:7c9::/128 :: U 0 0 2 lo
    2001:16d8:a43b:7c9::1/128 :: U 0 21 1 lo
    2001:16d8:a43b:7c9::2/128 :: U 0 220 1 lo
    fe80::/128 :: U 0 0 2 lo
    fe80::/128 :: U 0 0 2 lo
    fe80::/128 :: U 0 0 2 lo
    fe80::/128 :: U 0 0 2 lo
    fe80::/128 :: U 0 0 2 lo
    fe80::/128 :: U 0 0 2 lo
    fe80::5ab9:9e77/128 :: U 0 0 1 lo
    fe80::9afc:11ff:fe6d:8607/128 :: U 0 0 1 lo
    fe80::9afc:11ff:fe6d:8607/128 :: U 0 0 1 lo
    fe80::9afc:11ff:fe6d:8607/128 :: U 0 45 1 lo
    fe80::9afc:11ff:fe6d:8608/128 :: U 0 0 1 lo
    fe80::9afc:11ff:fe6d:8609/128 :: U 0 0 1 lo
    fe80::9afc:11ff:fe6d:860a/128 :: U 0 0 1 lo
    ff02::1/128 ff02::1 UC 0 2 0 br0
    ff00::/8 :: U 256 0 0 eth0
    ff00::/8 :: U 256 0 0 vlan1
    ff00::/8 :: U 256 0 0 eth1
    ff00::/8 :: U 256 0 0 eth2
    ff00::/8 :: U 256 0 0 br0
    ff00::/8 :: U 256 0 0 vlan2
    ff00::/8 :: U 256 0 0 v6in4
    
     
  2. kaiser

    kaiser Networkin' Nut Member

    I wonder if anyone was succesful setting-up Sixxs tunnel on Tomato.

    Tried it myself with no luck.
    Was using HE tunnel for a long time. But 3-4 months ago Google started to geolocate my IP6 in Switzerland although I'm in Lithuania. This affects quality of all Google services which I use a lot. Therefore I would like to try Sixxs.
     

Share This Page