Subject: Re: IPNAT doesn't work !
To: Olli <oliverko@dialup.nacamar.de>
From: Guenther Grau <Guenther.Grau@bk.bosch.de>
List: netbsd-users
Date: 02/15/1999 23:37:41
Hi Olli,

your netstat output looks strange to me, but this might only be because
I don't use ppp on my machine.

In another mail you wrote:

>No - in /etc/ppp/peers/isp I have a option
>-> demand
>-> :194.162.196.10
>This is the IP of the ISP-node I dialup.

Well, if I understand IP properly and PPP doesn't do any special 
things, the ISP node you dial up to must be in the same IP
net as you are. As hte netbsd machine gets IP-addresses assigned
in the 195.63.108 net, I assume the other end should be in the
same net. Please ask your ISP if the address they provided to
you is correct.

A question to the other readers: Is it possible for ppp to forward
packets between different ip nets? I know that ppp doesn't really
need ip addresses as there is just one computer on the other end, but
I wonder if ppp was designed to work like this. Is it common?

> Sorry - I get syntax errors from tcpdump if I made on NetBSD:
> 
> -> tcpdump -v -v -v -x -s 1500 "(host physik.phy.tu-dresden.de)|(host
> -> debian1.network.de)|(host netbsd1.network.de)"

Ok, this was from my memory. Please run the following:

netstat -rn
tcpdump -v -v -x -s 1500 -i ppp0
Then do a telnet from netbsd1 to physik
Stop the tcpdump.

netstat -rn
tcpdump -v -v -x -s 1500 -i ppp0
Then do a traceroute -i ppp0 from netbsd1 to physik
Stop the tcpdump.

netstat -rn
then tcpdump -v -v -x -s 1500 -i ppp0
then do a telnet from the linux machine to physik
stop the tcpdump

tcpdump -v -v -x -s 1500 -i de0
traceroute -i ppp0 from netbsd1 to linux
stop the tcpdump.

Thanx,

  Guenther