From owner-freebsd-questions Wed Jan 17 15:10:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail4.sdc1.sfba.home.com (femail4.sdc1.sfba.home.com [24.0.95.84]) by hub.freebsd.org (Postfix) with ESMTP id E541D37B400 for ; Wed, 17 Jan 2001 15:10:26 -0800 (PST) Received: from home.com ([24.5.252.61]) by femail4.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010117230823.ISRD25309.femail4.sdc1.sfba.home.com@home.com> for ; Wed, 17 Jan 2001 15:08:23 -0800 Message-ID: <3A662661.298866BF@home.com> Date: Wed, 17 Jan 2001 15:10:25 -0800 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.5.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Two subnetworks on one physical segment. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexander Derevyanko wrote: > > Hello! > > Few days ago i see strangely conigured network, and > i need some advise. The problem is: > On one physical network segment (one hub + coaxial cable connected to > hub) > where exists two different networks, with different first byte of IP > address. > Netmasks are 0xffffff00. > Some computers belong to one of the network, some to other. > Is such configuration allowed ? If so, how can i make my FreeBSD server > to exist > in both of the networks, so all packets directed to the both networks > will > go directly, and all other - directed to well-known gateway? > I have two IP addresses, from both networks. > > Best regards, > Alexander. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message You can make the Freebsd box to forward packets from one network to the other, as long as the rest of the computers "know" that the Freebsd box is the gateway. See man ifconfig and pay attention to the alias section. raymundo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message