From owner-freebsd-questions Mon Dec 13 15: 2:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailext03.compaq.com (mailext03.compaq.com [207.18.199.41]) by hub.freebsd.org (Postfix) with ESMTP id AF78715530 for ; Mon, 13 Dec 1999 15:02:28 -0800 (PST) (envelope-from grog@mojave.worldwide.lemis.com) Received: by mailext03.compaq.com (Postfix, from userid 12345) id 4BCC6151FB0; Mon, 13 Dec 1999 17:02:28 -0600 (CST) Received: from mailint01.im.hou.compaq.com (mailint01.compaq.com [207.18.199.34]) by mailext03.compaq.com (Postfix) with ESMTP id 45EBE14850C; Mon, 13 Dec 1999 17:02:28 -0600 (CST) Received: by mailint01.im.hou.compaq.com (Postfix, from userid 12345) id C6E4A825EE; Mon, 13 Dec 1999 17:02:20 -0600 (CST) Received: from mojave.worldwide.lemis.com (unknown [155.186.83.42]) by mailint01.im.hou.compaq.com (Postfix) with ESMTP id 4D3AE78B42; Mon, 13 Dec 1999 17:02:20 -0600 (CST) Received: (from grog@localhost) by mojave.sitaranetworks.com (8.9.3/8.9.3) id LAA00628; Sat, 11 Dec 1999 11:54:51 -0600 (CST) (envelope-from grog) Date: Sat, 11 Dec 1999 12:54:51 -0500 From: Greg Lehey To: Kayo Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Gateway with two real IPs? Message-ID: <19991211125451.G355@mojave.sitaranetworks.com> Reply-To: Greg Lehey References: <001901bf4384$225b0e00$0301010a@kayo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <001901bf4384$225b0e00$0301010a@kayo>; from mimiandi@bh.mbn.or.jp on Sat, Dec 11, 1999 at 12:02:16PM +0900 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 11 December 1999 at 12:02:16 +0900, Kayo wrote: > Hi, > > I am trying to set up gateway using FreeBSD. > I aleady enable Gateway_enable to yes > and set sysctl -w net.inet.ip.fastforwaring=1 > > I am trying to do this with two real ips > (both on same network) since my network uses > only real ips. > > Here is how my nics are set up in FreeBSD > >> ifconfig -a > fxp0: flags=8843 mtu 1500 > inet *.*.*.3 netmask 0xffffff80 broadcast *.*.*.127 > ether 00:a0:c9:ca:ac:df > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP > fxp1: flags=8843 mtu 1500 > inet *.*.*.4 netmask 0xffffffff broadcast *.*.*.127 > ether 00:90:27:66:da:7a > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP > > First Nic in FreeBSD goes to the hub that is connected > to the router and Second Nic in FreeBSD goes to > the hub that is connecting the network. > > > Here is the topology of the network. > > internet - router - hub - freebsd - hub - network > > Any help is appreciated Do you have a problem? Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message