IP in IP tunneling

Linux Advanced Routing and Traffic Control

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

 



Hello,

I am attempting to set an IP-IP tunnel between two PC in a same LAN in order to
evaluate the performances of the tunnel (kernel 2.4.26). I read the section of
LARTC HowTo about it and it seems simple but i do not succeed in setting it.

I don't find the new_tunnel.o module (cf LARTC HowTo). I found Configure.help a
bit confusing : CONFIG_NET_IPIP  "Saying Y to this option will produce two
modules" and then "This driver is also available as a module [...]
called ipip.o". Is the tun.o module the 'new' new_tunnel.o ?

I tried anyway to set the tunnel. ipip and tun modules are loaded on A and B.
here is the config:
(i cut the 192.168. part of IP addr)

-----------------A-----------------B-----------------C
             3.3   5.3         5.4   4.4         4.1

on A:
ifconfig tunl0 192.168.3.3 pointopoint 192.168.5.4
route add -net 192.168.4.0 netmask 255.255.255.0 dev tunl0
on B:
ifconfig tunl0 192.168.4.4 pointopoint 192.168.5.3
route add -net 192.168.3.0 netmask 255.255.255.0 dev tunl0

>From A i can't ping C. Traceroute shows that packets doesn't even reach B.
What's wrong ?

Any help would be much appreciated

Francois.

P.S: sorry if you receive this mail two times.
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux