Subject: Tunelling with Solaris 8 <-> Linux

From: [email-masked]
Date: 15 Dec 99 08:27:10 UT

Hi all,

I tryed to link a Solaris 8 box (with buildin IPv6) to my Linux tunnel.
However its not working correctly (I see data on the interface but there
is nothing coming back if I send a ping and stuff).

Solaris 8 box config:

$> cat /etc/hostname6.iprb0
addif 3ffe:400:380:1234::1/128 up

$> cat /etc/hostname6.ip.tun0
tsrc 206.191.192.57 tdst 62.52.79.1 up

$> /usr/sbin/route add -inet6 2000::/3 fe80::3e34:4f01
add net 2000::/3
$> 

$> cat /etc/inet/ndpd.conf
if ip.tun0 AdvSendAdvertisements 1
prefix 3ffe:400:380:1234::/64 ip.tun0

Linux system script:

#!/bin/sh
PATH=/sbin:$PATH

case "$1" in
    start)
        echo "Starting v6..."
        insmod ipv6
        ifconfig eth1 add 3ffe:400:380::1

        iptunnel add v6_6bone remote 128.176.191.66 mode sit ttl 64
        ifconfig v6_6bone up
        route add -A inet6 2000::/3 dev v6_6bone

        iptunnel add v6_sol8 remote 206.191.192.57 mode sit ttl 64
        ifconfig v6_sol8 up
        route add -A inet6 3ffe:400:380:1234::1 dev v6_sol8

        echo 1 >/proc/sys/net/ipv4/ip_forward
        echo 1 >/proc/sys/net/ipv6/conf/all/forwarding

    ;;
    stop)
        echo -n "Stopping v6:"
        ifconfig v6_6bone down
        ifconfig v6_sol8 down
        ifconfig eth1 del 3ffe:400:380::1
    ;;
    status)
        iptunnel
        /usr/inet6/bin/ping -q -c 1 -a inet6 3ffe:400:380::1
        /usr/inet6/bin/ping -q -c 1 -a inet6 3ffe:400:380:1234::1
    ;;
    *)
        echo "Usage: (start|stop|status)"
esac

what I see on this interface of data:
proto src-addr        src-port dest-addr       dest-port size   if
IPV6  206.191.192.57  0        62.52.79.1      0         112    v6_sol8

The linux configuration of the tunnel works with 3 other tunnels
not mentioned above.

Any ideas or advices what's wrong?

Gruss/Regards,
Thomas

Thomas Kuiper        |   [email-masked]   |  www.tobit.com     __
Core Development     |   TK3680-RIPE         |                   /__/\
Tobit Software GmbH  |   ICQ #8345483        |  ask your server. \__\/

To: [email-masked]
    [email-masked]