From owner-freebsd-questions Mon Feb 8 01:12:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA07602 for freebsd-questions-outgoing; Mon, 8 Feb 1999 01:12:46 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from platinum.tiger.lan (cvx01-367.gst.aloha.net [207.12.30.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA07597 for ; Mon, 8 Feb 1999 01:12:43 -0800 (PST) (envelope-from wai@aloha.net) Received: from aloha.net (localhost.tiger.lan [127.0.0.1]) by platinum.tiger.lan (8.9.1/8.9.1) with ESMTP id XAA00355; Sun, 7 Feb 1999 23:14:31 -1000 (HST) (envelope-from wai@aloha.net) Message-ID: <36BEAAF7.6076F57E@aloha.net> Date: Sun, 07 Feb 1999 23:14:31 -1000 From: Wai Chan X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.0-RELEASE i386) MIME-Version: 1.0 To: Thomas David Rivers , freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD to FreeBSD connection References: <199902071235.HAA02421@lakes.dignus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you very much! It works now. However, I one more questions. The diagram below is extented from the previous diagram. |------------| xl0 |------------| xl0 |-------| ~--| FreeBSD #1 |-------| FreeBSD #2 |-----------------| Win9x | |------------| |------------| |-------| IP aliasing 192.168.1.2 192.168.1.3 gateway enabled route add default 192.168.1.1 192.168.1.1 gateway enabled Do I need IP aliasing on FreeBSD #2 to let Win9x box to access the Internet from FreeBSD #2? If "yes," how do you set up the IP aliasing on FreeBSD #2 becasue it is not using ppp. best wishes, Wai Chan wai@aloha.net Thomas David Rivers wrote: > > > > > I have the following network configuration: > > > > |------| dial-up |------------| xl0 |------------| > > | ISP |--~~~~~~~--| FreeBSD #1 |-------| FreeBSD #2 | > > |------| |------------| |------------| > > IP aliasing 192.168.1.2 > > gateway enabled > > 192.168.1.1 > > > > How do you setup the FreeBSD #2 to access the Internet via FreeBSD #1? > > If you have ipfw and natd set up (as your picture indicates), then > all you need to do is set the default router on FreeBSD #2. > > On FreeBSD #2, issue the command: > route add default 192.168.1.1 > > or, set up 192.168.1.1 as the "gateway" machine in the /etc/rc.conf file > on FreeBSD #2. > > - Dave Rivers - > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message