[1337] in linux-net channel archive
IP tunneling problem
daemon@ATHENA.MIT.EDU (Daniel Haun)
Sun Nov 5 23:38:53 1995
From: Daniel Haun <dhaun@ecf2.puc.edu>
To: linux-net@vger.rutgers.edu
Date: Sun, 5 Nov 1995 15:53:59 -0800 (PST)
I'm having a problem getting tunneling to work right with some newer
kernel revisions. I have one machine (rama) that connects to the
Internet via PPP and is dynamically assigned an IP address. I'm using
a tunnel to another machine (bart) so that I can fake having a
permanent address.
If I run 1.2.13 on rama (with either 1.2.13 or 1.3.32 on bart) everything
works fine. If I run 1.3.32 on rama, I get error messages like this when
a packet comes in over the tunnel:
> rama kernel: tunl0: Received inbound packet -- not handled.
Here's how I set things up on rama:
> ifconfig tunl0 $rama_p pointopoint bart netmask 255.255.255.0
> route add bart dev ppp0
> route add default dev tunl0
and here's what I run on bart:
> ifconfig tunl0 bart pointopoint $rama_d netmask 255.255.255.0
> route add rama dev tunl0
> arp -s rama xx:xx:xx:xx:xx:xx pub
where $rama_p is rama's "permanent" address and $rama_d is the address
it's assigned for the PPP link.
rama is using PPP 2.2.0c and (for the 1.2.13 kernel) Sam Lantinga's
tunnel driver dated 03/20/95 v0.02.
Any suggestions?
Daniel