two network cards

Josef Karthauser joe
Tue Jul 27 11:29:36 BST 1999


On Tue, Jul 27, 1999 at 09:48:21AM +0100, David Richards wrote:
> Hello
>       I have now added another network card to my freebsd box and create
> another network. My linux machine is behind my freebsd box which has two
> nics in it. I can't get my linux box to ping the proxy server that has the
> internet connect.
> 
> here is a little picture of my setup
> 
> 
> 
> 
> 			internet		
> 			  |  	
> 			  |                    
> 			Proxy	  <-->       freebsd     <-->     Linux
> 
> 
> Ip addresses
> 
> Proxy = 192.192.192.128
> freebsd to proxy = 192.192.192.120
> linux to freebsd   = 192.192.193.120
> 			
> 			
> Please could you send me your ideas

Your proxy needs a static route through the freebsd box to the linux one,
and the linux box needs a static route through the freebsd box to the proxy.
In addition you need to switch gateway_enable="YES" in /etc/rc.conf in
the freebsd box.

Joe
-- 
Josef Karthauser	FreeBSD: How many times have you booted today?
Technical Manager	Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc.  [joe at pavilion.net, joe at uk.freebsd.org, joe at tao.org.uk]






More information about the Ukfreebsd mailing list