From owner-freebsd-net@FreeBSD.ORG Fri Dec 14 10:06:17 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E585E16A41B for ; Fri, 14 Dec 2007 10:06:17 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id 7E47813C4D3 for ; Fri, 14 Dec 2007 10:06:17 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-020-068.pools.arcor-ip.net [88.66.20.68]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1J37Qt2CSx-0001qQ; Fri, 14 Dec 2007 11:06:15 +0100 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Fri, 14 Dec 2007 11:06:03 +0100 User-Agent: KMail/1.9.7 References: <20071214091124.F22C91D789E@f39.poczta.interia.pl> In-Reply-To: <20071214091124.F22C91D789E@f39.poczta.interia.pl> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1917906.DMl4NcPDuS"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200712141106.12683.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+gMigunLRfDs1hEIqzmqBV8u94eCDVODPgpnr xzpsbRvwybPK1zQ0T3S7njk2dFKbLFQjBvGim6cJCSZvSz5Etu BmJl7lcZb19dE8bqsRk4ETBESVhLXZ+99U1rTprpvA= Cc: vermaden Subject: Re: default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2007 10:06:18 -0000 --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--