Subject: RE:RE: IPNAT problem
To: None <netbsd-help@netbsd.org>
From: Oliver <oliverko@dialup.nacamar.de>
List: netbsd-help
Date: 11/18/1999 13:08:39
Hi,

Matthias wrote.
> You should a line like this ...
>
> map ppp0 192.168.1.0/24 -> 0.0.0.0/32
>
> ... to get ICMP to work.

OK - I did

> What MRU and MTU is used on the PPP interface?

each 1500

> > lookup file bind
> > domain network.de
> > nameserver 195.185.185.195
> > name server 194.162.141.17
>
> The last line is definitely wrong.

was a typo

/etc/hosts (FreeBSD)
127.0.0.1    localhost
192.168.1.6    k6v1fb.network.de    k6v1fb
192.168.1.1    a21064.network.de    a21064

/etc/hosts (NetBSD)
127.0.0.1    localhost
192.168.1.1    a21064.network.de    a21064
192.168.1.6    k6v1fb.network.de    k6v1fb

I made the changes but the same happened. I disabled the demand option for
pppd.
I tried again "telnet 192.168.1.1" (from FreeBSD) and I was not able to
login on my other host (NetBSD).
So - this shouldn't be. I think that the FreeBSD box assumes that
192.168.1.1 is outsite of my local net.
I checked (on FreeBSD) rc.conf and the netmask is 255.255.255.0 . Then I
called "netstat -rn" :

default            192.168.1.1                    UGSc         2     0
ed1
127.0.0.1        127.0.0.1                         UH            0    0
lo0
192.168.1         link#1                            UC             0    0
192.168.1.1    <MAC address>            UHLW       3       0     ed1
192.168.1.6     <other MAC address>    UHLW       1    26    lo0

I did the same for the Gateway (NetBSD).
/etc/ifconfig.de0
inet    192.168.1.1        netmask    255.255.255.0

netstat -rn

127.0.0.1        127.0.0.1                    UH        0        0        -
lo0
192.168.1        link#1                         UC        0
0        -        de0
192.168.1.1    <MAC address 1>      UHL     1        24       -        lo0
192.168.1.6    <MAC address 2>      UHL     0        10       -        de0

Looks this fine?
I don't know where the problem is.
Please - can you help me?

thanx,
Oliver