Subject: Re: Gateway
To: None <netbsd-help@netbsd.org>
From: Daniel Bolgheroni <dbolgheroni@unifei.edu.br>
List: netbsd-help
Date: 09/18/2004 13:13:16
Did you put DNS addresses in /etc/resolv.conf? dhcpd do this
automatically but you are using static IP addresses.

On Sat, 18 Sep 2004 08:41:33 -0700 (PDT)
Cecil Eduardo Campos Costa <cecilcosta@yahoo.com> wrote:

> Hello everybody,
> 
> I still have my NetBSD server and I really like it.
> Now I  would like to configure it to work like a
> router.  I mean I have a ADSL router that is the
> default gateway to my network it_s IP is 192.163.9.1
> (mask 255.255.255.240) and  my server has the IP
> 192.163.9.9 (same mask) and it has another interface
> that is 192.168.1.2 (mask 255.255.255.224) and other
> computer that is connected with tis second interface
> with the ip 192.168.1.3. 
> I use those commands sysctl -w
> net.inet.ip.forwarding=1, route add -net 192.168.1.0
> -netmask 255.255.255.224 192.163.9.9.
> the server is still working fine, but the computer can
> find other computers on internet but cannot ping them.
> I mean if I ping www.google.com it recognizes it_s IP
> but it can_t open www.google.com (cant ping, cant
> trace route, etc...) 
> What can I do?
> I know that I_m not doing well but I cant find
> documentation on internet.
> 
> thank you,
> 
> Eduardo Campos
> 
> =====
> "Existe un largo camino entre lo que es la inform_tica en s_<BR>
> y lo que la poblaci_n interpreta como inform_tica"
> www.eduardocampos.com
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com