Subject: v6-in-v4 tunnel via ipnat
To: None <tech-net@netbsd.org>
From: Ingolf Koch <ingolf@knuut.de>
List: tech-net
Date: 03/05/2000 23:07:49
Hi,

in case this is not mentioned in the FAQ -- see below how
installing an IPv4 tunnel for IPv6 packets via a (v4) NAT router
seems to work:


+--------+        +-------+                     +------------+
| host A |--------| ipnat |-------ISP-- -- -- --| v6 gateway |
+--------+        +-------+                     +------------+

s4, s6: host A's (site) local IPv4 and IPv6 addresses
l6:     assigned local IPv6 address
r4, r6: v6 gateway's IPv4 and IPv6 addresses


at ipnat:
    route add -inet6 l6 s6

at host A:
    gifconfig gif0 s4 r4
    ifconfig gif0 inet6 l6 r6
    route add -inet6 default r6


Any corrections welcome.

    Ingolf
-- 

Ingolf Koch     ICQ#60829470     Beste Kneipe in Jena-Ost
PGP: 0x7B3B5661  213C 828E 0C92 16B5  05D0 4D5B A324 EC04