v6 trouble

Chris Kennedy ckennedy@GROOVY.ORG
Mon, 16 Oct 2000 18:09:40 -0500


On Mon, Oct 16, 2000 at 09:36:04AM -0700, Jason Martin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > > Hi!
> > > I'm having some trouble setting up and v6 tunnel against freenet6,
> > > I'm running Linux (debian)... If anyone have some ideas/hints, let me hear
> > > it =)
> > 
> > Hmmm...when "forwarding" is on, Linux ignore default route(::/0)
> > It means Linux using as a router must have full route!! ;-(
> > So, you'll need to input following commands...
> This isn't really true, is it? At least, for ipv4 I can use a default
> route w/o having a 'full' route table. Has this changed for v6?
> 
> Thanks,
> - -Jason Martin
> 

I had to setup the routes for a tunnel server this way, for 
routing ipv6 out to the 6bone through the tunnel server from the 
tunnel endpoints.  they were able to have local ipv6 network access 
fine but out past the main ipv6 gateway to the 6bone they would not 
be able to access anything.  I just discovered that adding specific 
routes for a prefix would allow the endpoints to access the 6bone.  
I think it is a bug in the Linux kernel, but didn't have the time 
to dig into the problem anymore than geting it to work for that server.
It seemed like the server forwarding the ipv6 packets would treat those
forwarded packets with another routing table that didn't include the 
default as an option like the locally generated packets have, so you 
had to add those specific prefixes to give those packets the route.

Thanks,
Chris K

-- 
Chris Kennedy / ckennedy@iland.net / (660) 829-4638x117
I-Land Internet Services / Network Operations Center
              \|/ ____ \|/
              "@'/ .. \`@"
              /_| \__/ |_\
                 \__U_/
-Linux SPARC Kernel Oops
> 
> > 
> > # ifconfig sit0 up
> > # ifconfig eth0 add 3ffe:b00:c18:1fff:0:0:0:139
> > # ifconfig sit0 tunnel ::206.123.31.102
> > # ifconfig sit1 up
> > # route -A inet6 add 3ffe::0/16 gw fe80::206.123.31.102 dev sit1
> > # route -A inet6 add 3ffe::0/16 gw ::206.123.31.102 dev sit0
> > # route -A inet6 add 2000::0/12 gw fe80::206.123.31.102 dev sit1
> > # route -A inet6 add 2000::0/12 gw ::206.123.31.102 dev sit0
> 
> - -- 
> Kamikaze Pilot Wanted: Experienced only need apply.
> PGP KeyID=0x60FD6DDA
> PGP Fingerprint:06 A4 24 E6 EC E2 E2 DE 68 74 1B 0E 9D 8F 27 92 60 FD 6D DA
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.1 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE56y5+nY8nkmD9bdoRAhyoAKDH/Km66DUQN05faEVqTNiu5MixoACgmsPl
> 3KjroBmZPH0CrR0dcm26IDA=
> =Nwbg
> -----END PGP SIGNATURE-----
>