Subject: Re: Gateway
To: Cecil Eduardo Campos Costa <cecilcosta@yahoo.com>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <timo.schoeler@macfinity.net>
List: netbsd-help
Date: 09/18/2004 17:55:22
> 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=B4s 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=3D1, 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=B4s IP
> but it can=B4t open www.google.com (cant ping, cant
> trace route, etc...)
> What can I do?
> I know that I=B4m not doing well but I cant find
> documentation on internet.
>
> thank you,
>
> Eduardo Campos
>
> =3D=3D=3D=3D=3D
> "Existe un largo camino entre lo que es la inform=E1tica en s=ED<BR>
> y lo que la poblaci=F3n interpreta como inform=E1tica"
> www.eduardocampos.com

hi,

seems to be an ICMP issue.

is there a difference in running traceroute without or with the
-I' option (the 'I' is the uppercase 'i', not the lowercase 'L'!)?

furthermore, what are your icmp settings (sysctl -a |=A0grep=20
net.inet.icmp.)?

HTH,
--=20
mit vorzueglichster Hochachtung/best regards,

Timo Schoeler
//macfinity -- finest IT services | Triftstrasse 39 | 13353 Berlin |=20
Germany
Fon ++49 30 25 20 30 20 | Fax ++49 30 25 20 30 19
PGP data http://www.macfinity.net/~tis/contact/PGPPKB_timo.schoeler.txt=