pb with ip tunnel

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

 



hai..
i tried to configure a tunnel between two machines.
i used ipip module
and i configured fallowing way..
---------------------------------
1.first machine(192.20.10.28)
insmod ipip.o
ifconfig tunl0 10.0.1.1 pointopoint 192.20.10.24
route add -net 10.0.2.0 netmask 255.255.255.0 dev
tunl0
2. Second machine (192.20.10.24)
insmod ipip.o
ifconfig tunl0 10.0.2.1 pointopoint 192.20.10.28
route add -net 10.0.1.0 netmask 255.255.255.0 dev
tunl0
------------------------
i tried to debug the module in second machine 10.0.2.1
i pinged to 10.0.1.1
i am getting error 
in ipip_tunnel_xmit
in that after ip_route_output(dst=10.0.1.1)
getting rt->dev as same tunl0 so it is 
dropping the packet.
why i am goin wrong in this process...
how to correct it..
thanks in advance..
hari

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux