Re: trouble with IPv6-in-ipv4 tunnel configuration

Thorsten Glaser <[email protected]> Fri, 19 Mar 2004 17:53:18 +0000 (UTC)
Newsgroups gmane.os.openbsd.ipv6
Message-ID <[email protected]>
Dixitur illum [email protected] scribere...

>======================================
>Your IPv6 address block is:  3ffe:3216:2101:21ff::/64
>The tunnel broker's Ipv4 address is : 202.38.64.185
>Your registered tunnel end's IPv4 address is: 202.38.75.76
>The tunnel broker's IPv6 address is : 3ffe:3216:2101:2100::5
>======================================

# ifconfig gif0 giftunnel 202.38.75.76 202.38.64.185
# ifconfig gif0 inet6 3ffe:3216:2101:2100::6 3ffe:3216:2101:2100::5 prefixlen 128 alias
# route -n add -inet6 default fe80::%gif0 -mtu 1280
# ifconfig fxp0 inet6 3ffe:3216:2101:21ff::1 prefixlen 64 alias

If you did *not* get a hint saying your tunnel address
is 3ffe:3216:2101:2100::6, just leave the second line out.
Then you'll get an unnumbered tunnel, but that doesn't matter
as long as fxp0 (in this example) stays up.
(fxp0 is what I think the LAN interface would be)

//Thorsten
-- 
Solange man keine schmutzigen Tricks macht, und ich meine *wirklich*
schmutzige Tricks, wie bei einer doppelt verketteten Liste beide
Pointer XORen und in nur einem Word speichern, funktioniert Boehm ganz
hervorragend.		-- Andreas Bogk über boehm-gc in d.a.s.r