lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] [Fwd: TAP/TUN device]


From: Kelvin Lawson
Subject: [lwip-users] [Fwd: TAP/TUN device]
Date: Thu, 15 Mar 2007 11:37:59 +0000
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Dinesh,

Please direct any help requests to the LWIP users mailing list.


-------- Original Message --------
Subject:        TAP/TUN device
Date:   Thu, 15 Mar 2007 16:52:50 +0530
From:   Dinesh Chachan <address@hidden>
To:     Kelvin Lawson <address@hidden>, address@hidden,
address@hidden



Hi Sir

I required your help regarding tun device. please help me out. I created
two tun devices using two different Client server programs running over
LWIP in the same system with the following command

for tun0 -> ifconfig tun0 inet 192.168.1.2 <http://192.168.1.2>
pointopoint 192.168.1.3 <http://192.168.1.3>
for tun1 -> ifconfig tun0 inet 192.168.1.1 <http://192.168.1.1>
pointopoint 192.168.1.2 <http://192.168.1.2>

both the devices are created propely. I can see the configuration by the
help of ifconfig command.

Now one process of mine writes some IP packets to the tun1 device. The
IP packet has the destination address as 192.168.1.2
<http://192.168.1.2>. but tun0 receives no packets.

According to me the kernel should fetch the IP packet from tun1 read the
destination address of the IP Packet and accordingly foward it to the
tun0 device. Am i right? If no please correct me.

Or am i missing upon something or doing something wrong. Please help me
out. Your early response will be appreciated.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]