Date: 5 Jun 2001 04:49:28 MDT From: J S <spl1t_h0r1z0n@usa.net> To: Andrew Hesford <ajh3@usrlib.org>, FreeBSD-questions <freebsd-questions@freebsd.org> Subject: Re: [Router/Firewall] Message-ID: <20010605104932.9378.qmail@www0a.netaddress.usa.net>
next in thread | raw e-mail | index | archive | help
Andrew Hesford <ajh3@usrlib.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010605104932.9378.qmail>