From owner-freebsd-questions Tue Mar 24 11:56:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21719 for freebsd-questions-outgoing; Tue, 24 Mar 1998 11:56:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org ([195.166.142.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21668 for ; Tue, 24 Mar 1998 11:55:54 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id TAA09710; Tue, 24 Mar 1998 19:55:15 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199803241955.TAA09710@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: eon@voyager.co.nz cc: questions@FreeBSD.ORG Subject: Re: PPP -auto -alias and 192.168 network In-reply-to: Your message of "Tue, 24 Mar 1998 12:08:47." <199803240110.NAA22784@chong.ihug.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 24 Mar 1998 19:55:15 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi > > I have set up a 386dx as a gateway running ppp -auto -alias and would > appreciate a pointer to what to look for with the following questions > > Network consists of > > ____________ ___________ ___________ > | P90 | | 386 | | 486 | > | win95/ |--------|FreeBSD |-------|FreeBSD | > | FreeBSD | | | | | > |192.168.1.2_| |192.168.1.1| |192.168.1.3| > |____________| |___________| |___________| > | > | > ISP > > 0. FreeBSD version is 2.2.5 off the CD set > > 1. Sometimes when ppp -auto -alias is running on the 386 and I > telnet from the P90 to 192.168.1.3 ppp dials out, some times it does > not. Should I be setting a dfilter to prevent this or should I be > doing something with routing tables elsewhere. I am using > > set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 > add 0 0 127.2.2.2 > in ppp.conf as per the Pedantic PPP Primer > as I nee the ISP to assign the addresses - would this affect the > routing of the internal network? > Other wise what else should I be looking for ? It's probably a DNS resolution thing. Check out the FAQ at http://www.FreeBSD.org/FAQ/userppp.html for what you might want to do. Also, check the `ndc' command. > 2. What are the files that the ppp setup from /stand/sysinstall > modifies - particularly wrt DNS and domain name - I figure I've > overlooked somthing here as under one configuration I added an ISPs > domain in the ppp setup and then changed the /etc/hosts and > /etc/rc.conf to use and internal domain but when I ran the sysinstall > the original DNS and ISP domain were still there. /etc/resolv.conf ? > 3. On the P90 I have dual boot win95/FreeBSD. The NIC is an EtherEZ > PnP combo SMC84-16BT on ed0 irq 10 I/O 300 PnP disabled. Sometimes > after rebooting from Win95 to FreeBSD I am able to ping 127.0.0.1 and > 192.168.1.2 but not anything els on the local network. This seems to > clear up after doing shutdown -h and switching off for a bit. I > assume that the reboot process is somehow leaving the card in an > unusable state and would appreciate any pointers on where to look to > find out how, and why it is _not_ every time. I have also noticed > one occaision when rebooting the other way when I was unable to > telnet to or ping the other local machines. There's better PnP support in -current - but I guess that's not what you want to hear :-| > 4. Is there something in ppp that caches file downloads ? > I grabbed the Netscape tgz last night lost my link at 94% - thought > oh b... and went to reconnect and re d/l not only did the d/l pick up > where it left of but I was using netscape under win 95 to get it and > it reported speeds of up to 200 kB/s so I figured it was getting it > either from a cache local to the win95 machine or to the gateway, but > I have not set anything up to cache files and have not seen anything > that indicates that it does automatically - is there something elso > here that I have overlooked? Browsers cache this sort of stuff by default. > -- > Regards > Kit > > eon@voyager.co.nz > The views contained on this page may be considered subversive in some locales > Burn This Page -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message