Date: Thu, 8 Jul 2004 14:35:28 -0500 From: "Eric Crist" <ecrist@secure-computing.net> To: "'Lowell Gilbert'" <freebsd-questions-local@be-well.no-ip.com>, <root@mediamonks.net> Cc: freebsd-questions@freebsd.org Subject: RE: Network configuration Message-ID: <003301c46522$bc69cbc0$6501a8c0@Nomad> In-Reply-To: <44briqb97g.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Lowell Gilbert > Sent: Thursday, July 08, 2004 2:17 PM > To: root@mediamonks.net > Cc: freebsd-questions@freebsd.org > Subject: Re: Network configuration > > > "Terrence Koeman" <root@mediamonks.net> writes: > > > Hi, > > > > I have been busy setting up a network the last 3 days, but I cannot > > get it working. > > > > Basically I have no clue what has to be setup etc. and if I need > > bridging or not. > > > > The situation is as follows: > > > > -------------- > > | SDSL Modem | > > | Bridged | > > -------------- > > | > > -------------------------- > > | xl0: 217.1.1.155 | > > | | > > | Freebsd Box | > > | | > > | xl1 | > > -------------------------- > > | > > ---------- > > |---------------| SWITCH |---------------| > > | ---------- | > > | | | > > ------------------- ------------------- ------------------- > > | C1: 217.1.1.156 | | C2: 217.1.1.157 | | C3: 217.1.1.158 | > > ------------------- ------------------- ------------------- One thing I noticed is that there isn't an IP address assigned to xl1. This needs to be done, afaik. If you're out of IP addresses, NAT is going to be your thing, on a third interface perhaps. Here's what I'm getting at: As an example, set the IP address of xl1 to 217.1.1.154. Then, set up the routing table on the freebsd box so that all outgoing packets get passed to xl0, and any packet destined for 156, 157, or 158 get passed back to xl1. Set the default gateway on your machines to .154. This should have you up and running. If this doesn't make sense to you, send me an email and I'll try to explain further. HTH Eric Crist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301c46522$bc69cbc0$6501a8c0>