Skip site navigation (1)Skip section navigation (2)
Date:      08 Jul 2004 15:16:51 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        root@mediamonks.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Network configuration
Message-ID:  <44briqb97g.fsf@be-well.ilk.org>
In-Reply-To: <200407081710527.SM07768@manrikigusari>
References:  <200407081710527.SM07768@manrikigusari>

next in thread | previous in thread | raw e-mail | index | archive | help
"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 |
> ------------------- ------------------- -------------------
> 
> 
> The FreeBSD box has full internet connectivity and I can also get NAT
> working, but the thing is that I need those non-private IP's bound to the
> clients and I need ipfw between the clients and the modem. Also I need the
> FreeBSD machine to have a non-private IP address. I have no clue as to
> getting the packets from those clients to the internet. I tried bridging xl0
> and xl1 and using 217.1.1.155 as gateway, but that didn't work.

I can't be sure without knowing the netmask, but it sounds like that's
exactly the right idea.  There's no way to tell why it went wrong when
you gave neither the system configuration details or what actually
happened when it "didn't work."

You will probably find the FreeBSD Handbook documentation on this
topic useful:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org:8088/~lowell/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44briqb97g.fsf>