Subject: IPv6 gif tunnel
To: None <port-i386@NetBSD.org>
From: None <pmelliot@longwood.edu>
List: port-i386
Date: 04/19/2004 14:23:07
I am trying to configure my public IPv6 machine, which is connected via a gif
tunnel to Hurricane Electric, to route my public IPv6 addresses over my IPv4
VPN (which I can't natively deploy IPv6 on yet..). What I would like to do,
is to take the subnet 2001:470:1f01:409:0:f00d:3:0/112 and route it from
10.24.5.10 (tlp1 on system #1) to 10.24.0.9 (ex0 on system #2), and to have
system #2's ex0 interface have the public IPv6 address
2001:470:1f01:409:0:f00d:3:1, I am assuming I will have to use a seperate
(/128) subnet for IPv6 communications on the tunnel?
If anyone thinks they can help I'd be very greatful, We're trying to get this
tunnel up and running! Thanks
Patrick Elliott
System configuration (ifconfig) information is shown below:
-----------
System 1 - Public Server with 2nd NIC for Internal network (and to route public
IPv6 in to)
ipv6# ifconfig -a
tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:03:ff:4b:4f:50
media: Ethernet 100baseTX
status: active
inet 208.16.76.242 netmask 0xffffff00 broadcast 208.16.76.255
inet6 fe80::203:ffff:fe4b:4f50%tlp0 prefixlen 64 scopeid 0x1
tlp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:03:ff:ba:9f:ae
media: Ethernet 100baseTX
status: active
inet 10.24.5.10 netmask 0xfffffff8 broadcast 10.24.5.15
inet6 fe80::203:ffff:feba:9fae%tlp1 prefixlen 64 scopeid 0x2
inet6 2001:470:1f01:409:0:f00d:1:1 prefixlen 112
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
strip0: flags=0<> mtu 1100
strip1: flags=0<> mtu 1100
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
tunnel inet 208.16.76.242 --> 64.71.128.83
inet6 2001:470:1f01:ffff::26b -> 2001:470:1f01:ffff::26a prefixlen 128
inet6 fe80::203:ffff:fe4b:4f50%gif0 -> :: prefixlen 64 scopeid 0xa
----
System 2 - Inside the internal network
scorpion# ifconfig -a
ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:50:04:d7:2f:63
media: Ethernet autoselect (10baseT)
status: active
inet 10.24.0.9 netmask 0xfffffe00 broadcast 10.24.1.255
inet6 fe80::250:4ff:fed7:2f63%ex0 prefixlen 64 scopeid 0x1
inet6 2001:470:1f01:409:0:f00d:3:1 prefixlen 112
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
strip0: flags=0<> mtu 1100
strip1: flags=0<> mtu 1100