From owner-freebsd-questions Sun Feb 20 9:58: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.wa.home.com (ha1.rdc1.wa.home.com [24.0.2.66]) by hub.freebsd.org (Postfix) with ESMTP id B2FE137BF73 for ; Sun, 20 Feb 2000 09:58:05 -0800 (PST) (envelope-from johnmpurser@home.com) Received: from C37259A ([24.9.57.64]) by mail.rdc1.wa.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <20000220175805.WZBX14903.mail.rdc1.wa.home.com@C37259A> for ; Sun, 20 Feb 2000 09:58:05 -0800 Reply-To: From: "John Purser" To: Subject: Setting up a Gateway to @home - Newbie VERY confused Date: Sun, 20 Feb 2000 09:57:56 -0800 Message-ID: <000501bf7bcc$04e7ace0$40390918@vncvr1.wa.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have a computer running FreeBSD 3.4 (custom kernel) with two network cards (fxp0, fxp1). fxp0 is on my local network (FreeBSD, NTWks, Win98) and I want to use fxp1 to connect to my AT&T@home cable modem. I have a static IP address from @home, both NIC's are recognized by FreeBSD but I'm still having trouble. I've read man pages, huge chunks for the manual, man pages galore, and several tutorials that start out with "All you have to do..." and nothing is working. Using /stand/sysinstall I've configured fxp1 with the info from @home (Host name, Domain, DNS Server, Gateway, IP address, subnet mask). Now I'm trying to configure fxp0 for my network but changing the host name changes it for both cards. I thought the whole point of having two cards was that each card had it's own complete set of info. Apparently I'm way off base there but that leaves me not knowing how to proceed. From what I've read there seem to be five things that need to be configured for my FreeBSD box to work as a gateway: fxp0 (Private network) HOST: DOMAIN: DNS Server: GATEWAY: IP ADDR: 192.168.0.NNN SUBNET MASK: 255.255.255.0 fxp1 (@home) HOST: CWHATEVER DOMAIN: HOME.COM DNS Server: 24.YYY.YYY.YYY GATEWAY: 24.XXX.XXX.XXX IP ADDR: 24.ZZZ.ZZZ.ZZZ SUBNET MASK: 255.255.255.0 ipfw: natd: bind: I've filled in what I'm fairly confident about. I know this is a lot to ask for on the mailing list but this is my third day trying get there on my own and I don't have a whole lot to show for it. I've got a ton of books in the mail (Thank you Amazon and O'Reilly) but I want to at least connect my FreeBSD box to the internet before reading all of them! Has anyone seen a good tutorial on this? I've tried a few but not only did they not work I didn't even get enough of a response to figure out what was not working. Thanks in advance to anyone who helps and a thousand curses on anyone sitting there laughing so hard they can't breath! John Purser To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message