Subject: Re: ppp server problems continue...
To: SamMaEl <rimsky@teleport.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 02/27/1998 18:24:59
On Fri, 27 Feb 1998, SamMaEl wrote:
> On Fri, 27 Feb 1998, Bill Studenmund wrote:
>
> > Do you have a hosts file on MacOS? All the name lookup systems I'm
> > familiar with use TCP. ??
>
> Yeah, it IS TCP... that's what's so weird. I'm just running named
> on the ppp server, which is also my ipnat gateway. Perhaps ipnat is
> rejecting the packets? Here is my ipf.conf file:
>
> log in proto tcp/udp all
> log out proto tcp/udp all
> pass in proto tcp/udp all
> pass out proto tcp/udp all
>
> I would think from this that it shouldn't be rejecting anything...
> just sending all the packets in and out and logging them...
Hmm. I'm not sure about IP-NAT. It's not working for me yet. :-(
> > Wait. You have both pppd AND getty running at the same time?
>
> No, one at a time. I have EITHER pppd or getty on... getty
> normally, and pppd if I disable getty. Is there a way to use both?
No, that's why I was worried. :-)
> > What do ifconfig -a and netstat -rn say once all is up?
>
> sn0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
> address: 00:a0:40:1f:eb:3b
> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
> inet 127.0.0.1 netmask 0xff000000
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> brahms# netstat -rn
> Routing tables
>
> Internet:
> Destination Gateway Flags Refs Use Mtu
> Interface
> 127.0.0.1 127.0.0.1 UH 0 0 - lo0
> 192.168.1 link#1 UC 0 0 - sn0
> 192.168.1.1 00:a0:40:1f:eb:3b UHL 0 6 - lo0
> 192.168.1.2 08:00:07:21:47:66 UHL 2 4497 - sn0
> 192.168.1.3 link#1 UHL 1 172 - sn0
Is 192.168.1.3 one of your machines too?
> This is with pppd running on the modem port, no connection. When
> there IS a connection, there is another entry like so.
>
> 192.168.2.1 192.168.1.1 UHL 1 172 - ppp0
>
> I don't remember the flag, Refs, or Use, but those were the
> deivces and IP's.
What does a traceroute from 192.168.2.1 to 192.168.1.1 and the other way
show? Also, how about the ipnat logs?
Since you've got IP-NAT in there, I'm really not sure...
Take care,
Bill