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 22:05:57
On Fri, 27 Feb 1998, Bill Studenmund wrote:

> 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. :-(
> 
> > > 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?

	Yeah, that is my other NetBSD machine, a IIcx... I hadn't accessed
it from brahms in a few days...

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

	I'll have to get back to you on that when I get a chance to test
again ;-)

> Since you've got IP-NAT in there, I'm really not sure...

	Well, I only have IPNAT going when my ppp link to my ISP is up,
which it ISN'T when I'm using the phone line to be dialing INTO the NetBSD
machine. I forgot about that ;-) So, I don't see how it could affect
anything...

	Ryan

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