[ILUG-Cochin.org] Routing not possible in 'tun'
Hrishikesh Murali
hrishikeshmurali88 at gmail.com
Mon Jan 25 14:41:43 IST 2010
Hi,
I have a computer with two NIC cards "eth0" and "eth1".
It is connected to a VPN server via eth0. The client "tun0" ip address is
"10.100.100.2" and the VPN server "tun0" ip address is "10.100.100.1".
I have eth1 connected to a different subnet "10.1.2.0/24" and ip address of
eth1 is "10.1.2.1". I want to ping from "10.100.100.1" to "10.1.2.1". I have
enabled forwarding from eth0 to eth1 and have done NATing for packets going
out of eth0. But I am not able to ping from "10.100.100.1" to "10.1.2.1".
All is see in wireshark is a ARP broadcast saying "who has 10.1.2.1? tell
10.100.100.1". There is no reply to that broadcast.
The strange thing is that I am able to ping from "10.100.100.1" to
"10.1.2.1" without forwarding of any sort if I use a "tap" adapter in the
VPN.
1) Why is it so?
2) Any suggestions as to how I can do the same thing using the "tun"
adapter?
--
Thanks and Regards,
Hrishikesh Murali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20100125/ab9c787e/attachment.html>
More information about the Mailinglist
mailing list