From owner-freebsd-net Thu Jul 8 23:18:11 1999 Delivered-To: freebsd-net@freebsd.org Received: from hal.bsdguy.com (tnt132-134.nidlink.com [216.18.132.134]) by hub.freebsd.org (Postfix) with ESMTP id 0473314DB5 for ; Thu, 8 Jul 1999 23:18:03 -0700 (PDT) (envelope-from shawn@bsdguy.com) Received: from hal.nidlink.com (localhost.nidlink.com [127.0.0.1]) by hal.bsdguy.com (8.9.3/8.9.2) with ESMTP id XAA00713; Thu, 8 Jul 1999 23:22:40 -0700 (PDT) (envelope-from shawn@bsdguy.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199907090607.XAA01050@walker3.apple.com> Date: Thu, 08 Jul 1999 23:22:40 -0700 (PDT) Reply-To: shawn@bsdguy.com From: Shawn Workman To: "Justin C. Walker" Subject: Re: Setting up LAN Cc: net@freebsd.org Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I forgot to mention that the FreeBSD box is also my firewall.. could I divide my subnet? Maybe have the netmask on the router be a netmask of 16 IP's and the netmask on my vr1 interface be 16 IP's? I suppose I could get another 224 network and have 32 IPs on the vr1 interface.. Of course then I would be loosing 4 IP's either way I go.. I suppose the easiest way to do it would be to use natd and forward the requests from the real IP's to the translated IP's, but I was trying to avoid that.. On 09-Jul-99 Justin C. Walker wrote: >> From: Shawn Workman >> Date: 1999-07-08 22:45:08 -0700 >> To: net@FreeBSD.ORG >> Subject: Setting up LAN >> X-Priority: 3 (Normal) >> Delivered-to: freebsd-net@freebsd.org >> X-Mailer: XFMail 1.3 [p0] on FreeBSD >> X-Loop: FreeBSD.org >> >> I am having some difficulty setting up my LAN here in my house. >> I have my main box (FreeBSD 3.2 Stable) that has 2 NIC's, vr0 is > my outside >> interface and vr1 is my inside interface. I can get out on the > net no proble, >> with this box. >> >> the IP address of vr0 is 216.18.166.162 >> the IP address of vr1 is 216.18.166.163 > I think this is your problem. You can't have the same subnet on > two distinct interfaces (it confuses the stack). With your mask, you > are using the subnet 216.18.166.160 on both. They need to be > different. > > Why do you need to have the two interfaces on the BSD box? Seems > like you can have a single subnet with all systems connected to the > "cable" that connects to your ISP's bridge/router (I'm making a few > leaps of the imagination here, to guess your real configuration). > > Regards, > > Justin > > -- > Justin C. Walker, Curmudgeon-At-Large * > Institute for General Semantics | > Manager, CoreOS Networking | Men are from Earth. > Apple Computer, Inc. | Women are from Earth. > 2 Infinite Loop | Deal with it. > Cupertino, CA 95014 | > *-------------------------------------*-------------------------------* > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message ---------------------------------- E-Mail: Shawn Workman Date: 08-Jul-99 Time: 23:17:50 This message was sent by XFMail ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message