Subject: Re: ppp server problems continue...
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: SamMaEl <rimsky@teleport.com>
List: port-mac68k
Date: 02/27/1998 18:06:58
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...

> 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?

> 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
ppp2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl2: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl3: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
tun0: flags=10<POINTOPOINT> mtu 1500
tun1: flags=10<POINTOPOINT> mtu 1500
eon0: flags=3<UP,BROADCAST> 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


	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.

	Ryan

-----
HELO... my name is rewt... you have SIGKILLed my father... prepare to vi!