Networking Forums

Networking Forums > Computer Networking > Linux Networking > TUN interface problems

Reply
Thread Tools Display Modes

TUN interface problems

 
 
mcins1@gmail.com
Guest
Posts: n/a

 
      03-30-2009, 12:33 PM
After creating a TUN device using C++ (used Kernel Documentation for
TUN/TAP driver) the device is set up correctly, with a correct IP
address, subnet mask etc.

When pinging from Machine A to the TUN Device, a reply is generated
and sent.
When pining from the TUN Device to Machine A, the request does not go
through. It is captured on the interface but the target machine never
receives the echo request. A correct route is set up for the target
machine.

When looking at the captured packet from wireshark, the following is
shown:
Linux cooked capture
Packet type: Sent by us (4) Link-layer address type: 65534 Link-
layer address length: 0
Source: <MISSING>
Protocol: IP (0x0800)

but when responding to an incoming ping, the "Linux cooked capture"
header part is correctly set up. Why is this?
 
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
Hostap / interface problems on Debian Sarge Geico Caveman Linux Networking 0 04-23-2006 06:59 AM
I am in need of a netsh script that will disable the "Local Area Connection" interface then re-enable that same interface. Spin Windows Networking 3 11-03-2005 12:58 AM
Windows 2003 Firewall Problems with Multiple Addresses on One Interface msnews.microsoft.com Windows Networking 0 02-01-2005 07:33 PM
Linux API to create logical interface on a physical interface? Zarko Coklin Linux Networking 2 07-18-2004 01:50 AM
XP 98 interface problems Jack Freisinger Windows Networking 1 02-26-2004 03:24 AM



1 2 3 4 5 6 7 8 9 10 11