From owner-freebsd-questions Sat Jul 17 21:50:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dsinw.com (dsinw.com [207.149.40.5]) by hub.freebsd.org (Postfix) with ESMTP id D3DD814C99 for ; Sat, 17 Jul 1999 21:50:16 -0700 (PDT) (envelope-from hamellr@dsinw.com) Received: from akane (ppp68.pm3-0.pdx.dsinw.com [207.149.41.68]) by dsinw.com (8.8.8/8.7.3) with SMTP id VAA27992; Sat, 17 Jul 1999 21:48:07 -0700 (PDT) Date: Sat, 17 Jul 1999 21:48:45 -0700 () From: Rick Hamell To: notme Cc: "freebsd-questions@freebsd.org" Subject: Re: how to define local network? In-Reply-To: <37915AE2.99188E72@lvdi.net> Message-ID: X-X-Sender: hamellr@dsinw.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This might be an obvious question, but how do you define > the local network from the internet? Whenever I try to access > my local network, my ppp (set to dial on demand) will dial > out automatically. I have played with the hosts file, but that didn't > really help. Is it some port that it looks at? I define it as anything that is not linked via modem/other telecommunications option. Aka, buildings next to each other linked via a hub or switch would be local, but two buildings in different cities linked via sattelite communications are a wide area network. Win9x is throwing what are esentially 'are you there' packets onto the network. FreeBSD sees these with no local destination in mind so it opens up a connection to the internet for them to go out on. There is a way to block these in the PPP script, but I do not remeber the exact command. I do remeber that they come in on some weird port #138 and #140 I think. Rick --- E=mc2, not just a good idea, it's the law! www.grendal.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message