From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 00:02:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6194B16A4CE for ; Sat, 10 Jul 2004 00:02:52 +0000 (GMT) Received: from ssigc.net (dsl092-076-115.bos1.dsl.speakeasy.net [66.92.76.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B695443D3F for ; Sat, 10 Jul 2004 00:02:51 +0000 (GMT) (envelope-from info@mvcg.net) Received: from ssigc.net (localhost [10.10.10.13]) by ssigc.net (8.12.11/8.12.10) with ESMTP id i6A011e7002755; Fri, 9 Jul 2004 20:01:01 -0400 (EDT) Received: from NEON-DURON ([10.10.10.11]) by ssigc.net (MailMonitor for SMTP v1.2.2 ) ; Fri, 9 Jul 2004 20:01:00 -0400 (EDT) Message-ID: <006301c46611$ef3176d0$0b0a0a0a@neonduron> From: "Thomas Farrell" To: "Nathan Kinkade" , "Terrence Koeman" References: <200407081710527.SM07768@manrikigusari> <20040708174925.GA24348@gentoo-npk.bmp.ub> Date: Fri, 9 Jul 2004 20:07:47 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: freebsd-questions@freebsd.org Subject: Re: Network configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2004 00:02:52 -0000 Hello, I see you have a problem here. First what kind of connectivity does your DSL provider use? Companies like Covad, VerizonEast, Earthlink & AOL use pppoe. So the first thing is to figure out what you provider requires DHCP, Static, or pppoe. Then it is very simple to begin nating between the two Networks. biggreenwall#ipfw add divert natd all from any to any via rl0 biggreenwall# cat /etc/dhcpd.conf subnet 192.168.50.0 netmask 255.255.255.0 { range 192.168.50.2 192.168.50.254; option routers 192.168.50.1; } biggreenwall#dhcpd rl1 -q biggreenwall# ifconfig -a rl0: flags=8843 mtu 1500 inet 66.24.50.87 netmask 0xffffff00 broadcast 66.24.50.255 inet6 fe80::230:bdff:fe26:4b28%rl0 prefixlen 64 scopeid 0x1 ether 00:30:bd:26:4b:28 media: Ethernet autoselect (100baseTX ) status: active rl1: flags=8843 mtu 1500 inet 192.168.50.1 netmask 0xffffff00 broadcast 192.168.50.255 inet6 fe80::230:bdff:fe28:295b%rl1 prefixlen 64 scopeid 0x2 ether 00:30:bd:28:29:5b media: Ethernet autoselect (10baseT/UTP) status: active biggreenwall# cat /etc/rc.conf "cut to save space" defaultrouter="66.24.50.1" gateway_enable="YES" hostname="biggreenwall" ifconfig_rl0="inet 66.24.50.87netmask 255.255.255.0" ifconfig_rl1="inet 192.168.50.1 netmask 255.255.255.0" router_enable="YES" sendmail_enable="NO" natd_enable="YES" natd_interface="rl0" # the id of your public NIC card natd_flags="-m" biggreenwall# RFC1918 ----- Original Message ----- From: "Nathan Kinkade" To: "Terrence Koeman" Cc: Sent: Thursday, July 08, 2004 1:49 PM Subject: Re: Network configuration