Networking Forums

Networking Forums > Computer Networking > Linux Networking > TUN/TAP with IPv6

Reply
Thread Tools Display Modes

TUN/TAP with IPv6

 
 
marmotta
Guest
Posts: n/a

 
      08-24-2006, 01:54 PM
Does anyone know whether it is possible to use TUN/TAP in TUN mode with
IPv6?

I was trying this with version 1.6 of the TUN/TAP device with a linux
kernel 2.6.12. It showed up that I was able to receive a ICMPv6 echo
request in my test application in TUN mode (using tun0), but my ICMPv6
echo reply does never arrive at the ping6.
Running tcpdump on tun0, I see an error message already regarding the
echo request:

07:17:49.778850 Out ethertype IPv6 (0x86dd), length 120:
0x0000: 6000 0000 0040 3a40 2000 0000 0000 0000
`....@:@........
0x0010: 0000 0000 0000 0002 3000 0000 0000 0000
.........0.......
0x0020: 0000 0000 0000 0003 8000 1c29 006a 0001
............).j..
0x0030: 44ec 011d D...
07:17:49.779960 IP6 , wrong link-layer encapsulationbad-hlen 0

And my echo reply does not show up in the tcpdump output (but in the
ifconfig interface statistics for rx/tx packets it does).

Now, when I switch my test program to use TAP mode with the TUN/TAP
(using device tap0), everything works (I did a manual configuration of
the IPv6 neighbor lists) and no error message is seen in tcpdump.

Maybe this is a configuration problem of the tun0 device?
Thanks for your help!

Michael

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPv6 address not connecting but IPv4-mapped -IPv6 does. Please help. DanielJohnson Network Routers 0 01-07-2009 12:10 AM
kernel hangs after setting up Ipv6-ipv6 tunnel Kristoff Bonne Linux Networking 0 09-20-2008 08:36 PM
IPv6 infrastructure for Global and/or Site Specific IPv6 address JackFlash Windows Networking 1 06-25-2007 03:11 PM
Implementing a IPv6 network with dynamically assigned static IPv6 addresses. Ashish Shukla Linux Networking 2 02-13-2007 02:59 PM
Linux host PC(ipv6) can't ping with embedded board(ipv6) with ping6 sangsu Linux Networking 2 10-11-2005 09:06 AM



1 2 3 4 5 6 7 8 9 10 11