From owner-freebsd-questions Tue Jun 5 3:49:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from www0a.netaddress.usa.net (www0a.netaddress.usa.net [204.68.24.30]) by hub.freebsd.org (Postfix) with SMTP id 3450337B403 for ; Tue, 5 Jun 2001 03:49:34 -0700 (PDT) (envelope-from spl1t_h0r1z0n@usa.net) Received: (qmail 9380 invoked by uid 60001); 5 Jun 2001 10:49:32 -0000 Message-ID: <20010605104932.9378.qmail@www0a.netaddress.usa.net> Received: from 204.68.24.30 by www0a for [165.212.15.106] via web-mailer(34FM.0700.17C.01) on Tue Jun 5 10:49:28 GMT 2001 Date: 5 Jun 2001 04:49:28 MDT From: J S To: Andrew Hesford , FreeBSD-questions Subject: Re: [Router/Firewall] X-Mailer: USANET web-mailer (34FM.0700.17C.01) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew Hesford wrote: (cut) > = > Let's say the external interface on the FreeBSD machine, xl0, is > 128.252.130.211 and it connects directly to the T1 through a dedicated > router and some crossover cable. dc0, which is connected to my internal= > network, will be called 128.252.130.220. if you are using the default mask (255.255.255.240/0xfffffff0) on both interfaces, you would need to make the ip address of dc0 128.252.130.225/0xfffffff0. each interface on it's own subnet. however,= this wastes precious ip address. if you are running a classless routing proto= col, you could further subnet the 128.252.130.208 subnet, with say a 255.255.255.252/0xfffffffc0 mask, which would give you four additional su= bnets with two ip's each for addressing routers/switches/etc in your network. |-------| |gateway| |_______| | 128.252.130.209/30 | | 128.252.130.210/30 |(xl0) |-------| |FreeBSD| |_______| |(dc0) 128.252.130.213/30 | | 128.252.130.214/30 | |----------| |lan switch| = |_ router _| = with each interface on it's own subnet, you can now use a default route f= rom your network to the isp. i'm still new to FreeBSD so i can't tell you how to configure the interfa= ces or routes. = HTH joshua Joshua Smith, CCNA Data Center Technian USA.NET joshua.smith@corp.usa.net "Walk with me through the Universe, And along the way see how all of us are Connected. Feast the eyes of your Soul, On the Love that abounds. In all places at once, seemingly endless, Like your own existence." - Stephen Hawking - ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message