Date: Fri, 14 Dec 2007 11:06:03 +0100 From: Max Laier <max@love2party.net> To: freebsd-net@freebsd.org Cc: vermaden <vermaden@interia.pl> Subject: Re: default route Message-ID: <200712141106.12683.max@love2party.net> In-Reply-To: <20071214091124.F22C91D789E@f39.poczta.interia.pl> References: <20071214091124.F22C91D789E@f39.poczta.interia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1917906.DMl4NcPDuS Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 14 December 2007, vermaden wrote: > Hi all > I have strange problem with default router for two diffrent networks > put on my FreeBSD box, network 10.0.0.0/24 is put on rl0 and > 192.168.0.0/16 is on rl1, default router is set to 10.0.0.1 on > /etc/rc.conf as defaultrouter=3D"10.0.0.1", the problem: > > When I ping some box from 10.0.0.0 network, it responds, when some box > from 10.0.0.0 network ping my box, my box responds, when I ping someone > from 192.168.0.0 network, he responds, when someone from 192.168.0.0 > network pings me my box does not response, propably packets are coming > IN by rl1 and going out by defaultgateway 10.0.0.1 so thru rl0, how to > change/fix that so my box will respond to 192.168.0.0 network using rl1 > interface? Probably not. Packets you send to 192.168.0.0/16 when doing a ping are=20 subject to the same routing as kernel generated replys to that network. =20 Check out "netstat -rnfinet" to make sure your routing is what you=20 believe it to be. Also use tcpdump to verify your assumptions. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1917906.DMl4NcPDuS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHYlWUXyyEoT62BG0RAviUAJ4uR8wcj9JP98E4NPPh4ctd+mQ91gCeOtgV ayfimrMXqRhWh7Ho66CqXmU= =QeOg -----END PGP SIGNATURE----- --nextPart1917906.DMl4NcPDuS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712141106.12683.max>