Subject: Re: can IPNAT map two ppp
To: Chan Yiu Wah <c5666305@hkstar.com>
From: Curt Sampson <cjs@cynic.net>
List: netbsd-users
Date: 07/20/1999 05:57:47
> I would like to know if the IPNAT can support two ppp mapping
>  i.e. map ppp0 ip-addr-A ....
>       map ppp1 ip-addr-B ....

Sure, no problem. All the IPNAT does is translate packets going
out of an interface. This is entirely separate from how you get
packets to that  interface, mind you.

> Can the system (i386) support pppd ?  If so,  how can it be done.  Can anyone
> show me your pppd scripts.  I am newbie in setting the script.  I usualy
> login to ISP using kppp and I would like to learn how to setup the pppd.

Sure. My /etc/ppp/options file reads:

    ttyb
    38400
    crtscts
    defaultroute
    connect "chat \"\" atdt3675380 ogin: foo word: bar"

Of course, you may not need the ogin: and word: in the chat script;
I just log in manually (rather than via PPP authentication) because
my ISP seems to have trouble if I don't do this.

cjs
--
Curt Sampson  <cjs@cynic.net>   917 532 4208   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org