Greetings, Any thoughts on why this error occurs on an OpenBSD 3.0
system where I am attempting to setup the gif0 interface as an IP 4over6
tunnel? Thanks, -Darrin

This works fine:

  nodeA% ping6 2001:470:1f00:316::1

I am not succeeding in my attempt to:

  nodeA% ping 65.218.131.123

Which results in this packet sent from node B (2001:470:1f00:316::1 ) to
node A (2001:470:1f00:316::2):

ICMPv6 - Internet Control Messages Protocol Version 6
  ICMP Type: 4 Parameter Problem
  Code: 1 Communication With Destination Administratively Prohibited
  Header of packet that caused error follows.

IP Version 6 Header - Internet Protocol Datagram
  Version: 6
  Payload Length: 84
  Next Header: 0x04 IP - IP in IP encapsulation
  Source Address:      2001:0470:1F00:0316:0000:0000:0000:0002
  Destination Address: 2001:0470:1F00:0316:0000:0000:0000:0001

IP - IP in IP encapsulation
  IP Data Area: (84 bytes)
  Data (Character):
E..T*......Q....A..{........<...............................
!"#$%&'()*+,-./01234567
  Data (Hex): 45 00 00 54 2A 01 00 00 FF 01 C2 51 0A 00 00 01 41 DA 83 7B
08 00 BA 92 8A 15 00 EC 3C BB DC EE 00 01 AD BD 08 09 0A 0B 0C 0D 0E 0F
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27
28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37

Set up the generic interface on node A:

% ifconfig gif0 inet6 tunnel 2001:470:1f00:316::2 2001:470:1f00:316::1
% ifconfig gif0 inet 10.0.0.1 65.218.131.123
% route -n add default 65.218.131.12

This is the configuration for node A:

nodeA% ifconfig -a
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33224
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
         inet6 ::1 prefixlen 128
         inet 127.0.0.1 netmask 0xff000000
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 33224
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
         media: Ethernet autoselect (10baseT half-duplex)
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=10<POINTOPOINT> mtu 3000
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
bridge0: flags=0<> mtu 1500
bridge1: flags=0<> mtu 1500
vlan0: flags=0<> mtu 1500
vlan1: flags=0<> mtu 1500
gre0: flags=8010<POINTOPOINT,MULTICAST> mtu 1450
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
         physical address inet6 2001:470:1f00:316::2 --> 
2001:470:1f00:316::1
         inet6 fe80::204:76ff:fedd:1d27%gif0 -> :: prefixlen 64 scopeid 0x11
         inet 10.0.0.1 --> 65.218.131.123 netmask 0xff000000
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
an0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         media: IEEE802.11 autoselect adhoc (DS11 adhoc)
         status: active
         inet6 2001:470:1f00:316::2 prefixlen 64
         inet6 fe80::240:96ff:fe36:368f%an0 prefixlen 64 scopeid 0x15
an1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         media: IEEE802.11 autoselect adhoc (DS11 adhoc)
         status: active

nodeA% netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu
Interface
default            65.218.131.123     UGS         0        0   1280   gif0
65.218.131.123     10.0.0.1           UH          1        2   1280   gif0
127/8              127.0.0.1          UGRS        0        0  33224   lo0
127.0.0.1          127.0.0.1          UH          2       24  33224   lo0
224/4              127.0.0.1          URS         0        0  33224   lo0

Internet6:
Destination                        Gateway
Flags     Refs     Use    Mtu  Interface
::/104                             ::1
UGRS        0        0  33224   lo0 =>
::/96                              ::1
UGRS        0        0  33224   lo0
::1                                ::1
UH         12        0  33224   lo0
::127.0.0.0/104                    ::1
UGRS        0        0  33224   lo0
::224.0.0.0/100                    ::1
UGRS        0        0  33224   lo0
::255.0.0.0/104                    ::1
UGRS        0        0  33224   lo0
::ffff:0.0.0.0/96                  ::1
UGRS        0        0  33224   lo0
2001:470:1f00:316::/64             link#21
UC          0        0   1500   an0
2001:470:1f00:316::1               0:40:96:37:bf:ae
UHL         2      986   1500   an0
2001:470:1f00:316::2               ::1
UH          1        0  33224   lo0
2002::/24                          ::1
UGRS        0        0  33224   lo0
2002:7f00::/24                     ::1
UGRS        0        0  33224   lo0
2002:e000::/20                     ::1
UGRS        0        0  33224   lo0
2002:ff00::/24                     ::1
UGRS        0        0  33224   lo0
fe80::/10                          ::1
UGRS        0        0  33224   lo0
fe80::%lo0/64                      fe80::1%lo0
U           0        0  33224   lo0
fe80::%gif0/64                     link#17
UC          0        0   1280   gif0
fe80::204:76ff:fedd:1d27%gif0      ::1
UH          0        0  33224   lo0
fe80::%an0/64                      link#21
UC          0        0   1500   an0
fec0::/10                          ::1
UGRS        0        0  33224   lo0
ff01::/32                          ::1
U           0        0  33224   lo0
ff02::%lo0/32                      fe80::1%lo0
UC          0        0  33224   lo0
ff02::%gif0/32                     link#17
UC          0        0   1280   gif0
ff02::%an0/32                      link#21
UC          0        0   1500   an0

Encap:
Source             Port  Destination        Port  Proto
SA(Address/Proto/Type/Direction)




This is the configuration for node B:

nodeB% ifconfig -a
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33224
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
         inet6 ::1 prefixlen 128
         inet 127.0.0.1 netmask 0xff000000
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 33224
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
         media: Ethernet autoselect (10baseT half-duplex)
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=10<POINTOPOINT> mtu 3000
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
bridge0: flags=0<> mtu 1500
bridge1: flags=0<> mtu 1500
vlan0: flags=0<> mtu 1500
vlan1: flags=0<> mtu 1500
gre0: flags=8010<POINTOPOINT,MULTICAST> mtu 1450
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
         physical address inet 65.218.131.123 --> 64.71.128.82
         inet6 fe80::204:76ff:fedd:20ef%gif0 -> :: prefixlen 64 scopeid 0x11
         inet6 2001:470:1f00:ffff::1b1 -> 2001:470:1f00:ffff::1b0
prefixlen 128
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
an0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         media: IEEE802.11 autoselect adhoc (DS11 adhoc)
         status: active
         inet6 2001:470:1f00:316::1 prefixlen 64
         inet6 fe80::240:96ff:fe37:bfae%an0 prefixlen 64 scopeid 0x15
an1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         media: IEEE802.11 autoselect adhoc (DS11 adhoc)
         status: active
         inet 65.218.131.123 netmask 0xff000000 broadcast 255.255.255.0
         inet6 fe80::240:96ff:fe37:82f%an1 prefixlen 64 scopeid 0x16

nodeB% netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu
Interface
default            65.218.131.1       UGS         1      117   1500   an1
65/8               link#22            UC          0        0   1500   an1
65.218.131.1       0:6:28:a3:4a:80    UHL         1        0   1500   an1
127/8              127.0.0.1          UGRS        0        0  33224   lo0
127.0.0.1          127.0.0.1          UH          1        0  33224   lo0
224/4              127.0.0.1          URS         0        0  33224   lo0

Internet6:
Destination                        Gateway
Flags     Refs     Use    Mtu  Interface
::/104                             ::1
UGRS        0        0  33224   lo0 =>
::/96                              ::1
UGRS        0        0  33224   lo0 =>
default                            2001:470:1f00:ffff::1b0
UGS         1       12   1280   gif0
::1                                ::1
UH         12        0  33224   lo0
::127.0.0.0/104                    ::1
UGRS        0        0  33224   lo0
::224.0.0.0/100                    ::1
UGRS        0        0  33224   lo0
::255.0.0.0/104                    ::1
UGRS        0        0  33224   lo0
::ffff:0.0.0.0/96                  ::1
UGRS        0        0  33224   lo0
2001:470:1f00:316::/64             link#21
UC          0        0   1500   an0
2001:470:1f00:316::1               ::1
UH          0        0  33224   lo0
2001:470:1f00:ffff::1b0            2001:470:1f00:ffff::1b1
UH          1        0   1280   gif0
2001:470:1f00:ffff::1b1            ::1
UH          0        0  33224   lo0
2002::/24                          ::1
UGRS        0        0  33224   lo0
2002:7f00::/24                     ::1
UGRS        0        0  33224   lo0
2002:e000::/20                     ::1
UGRS        0        0  33224   lo0
2002:ff00::/24                     ::1
UGRS        0        0  33224   lo0
fe80::/10                          ::1
UGRS        0        0  33224   lo0
fe80::%lo0/64                      fe80::1%lo0
U           0        0  33224   lo0
fe80::%gif0/64                     link#17
UC          0        0   1280   gif0
fe80::204:76ff:fedd:20ef%gif0      ::1
UH          0        0  33224   lo0
fe80::%an0/64                      link#21
UC          0        0   1500   an0
fe80::%an1/64                      link#22
UC          0        0   1500   an1
fec0::/10                          ::1
UGRS        0        0  33224   lo0
ff01::/32                          ::1
U           0        0  33224   lo0
ff02::%lo0/32                      fe80::1%lo0
UC          0        0  33224   lo0
ff02::%gif0/32                     link#17
UC          0        0   1280   gif0
ff02::%an0/32                      link#21
UC          0        0   1500   an0
ff02::%an1/32                      link#22
UC          0        0   1500   an1

Encap:
Source             Port  Destination        Port  Proto
SA(Address/Proto/Type/Direction)




---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to