Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2003 14:31:48 +0900
From:      horio shoichi <bugsgrief@bugsgrief.net>
To:        "Extech" <extech@dod.co.za>
Cc:        questions@FreeBSD.org
Subject:   Re: Router/Gateway
Message-ID:  <20031213.053155.71aa683eb7b6bbca.10.0.3.9@bugsgrief.net>
In-Reply-To: <200312111345560418.01599EE7@smtp.tridan.co.za>
References:  <200312111345560418.01599EE7@smtp.tridan.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Dec 2003 13:45:56 +0200
"Extech" <extech@dod.co.za> wrote:
> Hello
> 
> I have looked through the archives and I have read the manual (Advance Networking) but could not find specific to address my question.
> 
> I want to set up a FreeBSD 5.x box as a router/gateway on a permanent connection with a fixed IP address,
> there will also be other machines with fixed IP addresses (not 192.168.x.x but proper IP's)
> on this network.
> 
> something like this:
> 
> 	To internet exchange on T1 Leased Line
> 		   |
> 		   |
> 		   | dc0 (196.x.x.1)
> 		---------
> 		FreeBSD
> 		router/
> 		gateway
> 		---------
> 		   | lr0
> 		   |
> 		   |
> 		   |
> 		---------
> 		switch/hub
> 		---------
> 		|	|
> 		|	|
>       196.x.x.2	|	| 196.x.x.3
> 	    --------  	--------
> 	    Server 1  	Server 2
> 	    --------  	--------	
> 
> 
> Obviously I have to have two network cards in the router/gateway (dc0 and lr0),
> I assume that I will configure dc0 with my fixed IP, but what do I do with lr0?
> 
> Can somebody please point me in the right direction.
> 
> Thanks
> extech
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

A popular solution is the route/gateway not have ip addresses that belong to
allocated global ips, and use bridge configuration.

If bridging is inadequate in your case, the thing pretty much depends on
the "cloud" one hop away from dc0 interface. Describe it (modem/router,
 configuable/not, etc).


horio shoichi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031213.053155.71aa683eb7b6bbca.10.0.3.9>