IPIP Tunnel setup

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

 



Hi,

I am trying to setup a IPIP tunnel in a 2.4.10 linux kernel. It is like this

       
               ------------------------------------------
               |                                        | eth1
               |                                        |--------------
               |                                        |  10.10.10.1 
               -----------------------------------------
                                | eth0 
                                |
                                |
                          192.168.10.1 

I want a tunnel for 192.168.10.5 over 10.10.10.1 to another host 10.10.10.2 

i did  > ip tunnel add tunl0 mode ipip remote 10.10.10.2 local 10.10.10.1
       > ip link set tunl0 up
       > ip route add 192.168.10.5/32 dev tunl0 

But when I ping no packets go out of  eth1. 
Under ifconfig tunl0 show tx error and collision .

Also note : setting CONFIG_NET_IPIP is the config file did not help. I am
using ipip.o NOT as module but inbuilt. It did not create the #define
CONFIG_NET_IPIP while compiling af_inet.c which calls ipip_init(). I had
hack it. 

Also as soon as the box comes up > ip tunnel show

 it shows : tunl0 : ipip remote any local any ttl .......................
BuT IS HAVE NOT CREATE ANYTHING YET .

Any help ?????

Regards

ashoke .

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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