Subject: IPNAT and routing
To: None <current-users@NetBSD.ORG>
From: Eric Delcamp <edelcamp@ibiscus.easynet.fr>
List: current-users
Date: 12/27/1997 01:17:55
Hi,

Well, I have a problem using IPNAT. My configuration :

+--------------+
| 192.168.0.2  | margo
+--------------+
   sl0 |
       |
       | sl0
+--------------+
| 192.168.0.1  | ibiscus
| -  -  -  -  -|
| 195.114.95.xx|
+--------------+
  ppp0 |
       | Internet

Basically, margo is connected by serial to ibiscus, who is connected to
my ISP by ppp0 with dynamic IP allocation.

I have read, re-read and dig over the FAQ and examples, read man pages, but
nothing work. You are my last hope ;-)

margo# netstat -rn
Destination      Gateway      Flags   Interface
127.0.0.1        127.0.0.1    UH      lo0
192.168.0.1      192.168.0.2  UH      sl0

(can ping ibiscus, localhost, but not margo -> no route to host)

ibiscus# netstat -rn
Destination      Gateway         Flags   Interface
default          195.114.65.150  UG      ppp0
127.0.0.1        127.0.0.1       UH      lo0
192.168.0.2      192.168.0.1     UH      sl0
195.114.65.150   195.114.95.60   UH      ppp0

(195.114.95.60 is my dynamic IP number)

What I want is to reach Internet with margo, and understand how to use IPNAT.

Thanks.

(reply to mailing list or to edelcamp@easynet.fr).