From owner-freebsd-questions@FreeBSD.ORG Fri May 29 17:31:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 549FE1065675 for ; Fri, 29 May 2009 17:31:22 +0000 (UTC) (envelope-from holler_f@informatik.haw-hamburg.de) Received: from mail1.is.haw-hamburg.de (mail1.is.haw-hamburg.de [141.22.192.107]) by mx1.freebsd.org (Postfix) with ESMTP id D2BC68FC1B for ; Fri, 29 May 2009 17:31:21 +0000 (UTC) (envelope-from holler_f@informatik.haw-hamburg.de) Received: from whiteshark.holler (e176180240.adsl.alicedsl.de [85.176.180.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail1.is.haw-hamburg.de (Postfix) with ESMTP id 883637D571 for ; Fri, 29 May 2009 19:31:19 +0200 (CEST) Date: Fri, 29 May 2009 19:29:46 +0200 From: Fabian Holler To: freebsd-questions@freebsd.org Message-ID: <20090529172946.GB93798@whiteshark.holler> References: <20090529104441.GP98712@whiteshark.holler> <4A2005C1.9050404@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline In-Reply-To: <4A2005C1.9050404@gmx.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV at mailgate.haw-hamburg.de Subject: Re: pppoe routing problem, default route isnt used for some hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 17:31:22 -0000 --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Nikos, thank you very much Nikos "You've repaired my internet" ,) On Fri, May 29, 2009 at 06:56:49PM +0300, Nikos Vassiliadis wrote: > Fabian Holler wrote: > > I have an strange routing problem. I can't connect to some hosts in the > > internet till I add an explicit route for this hosts with my default gw > > as gateway. > > There aren't any other routes that could match the destination IP for > > "non-working hosts". So the connection should also without an explicit > > route for this Hosts use the default gw. > Besides netstat -rn, you can use "route get southparkstudios.com" > to check a route for a destination. >=20 > > Connections with nc to port 80 works > > (the connections tests are made from the router, the iface MTUs are cor= rect) >=20 > You cannot test MTU settings using nc, since initial packets, that > is, small packets, are always smaller than your MTU. You can test > MTU using fetch or ftp or nc + "GET /some.big.file". I only tried to say, that the connection problems couldn't be an MTU problem. Because I tried to connect from the router(where the PPPOE iface should have the correct MTU) and not from any LAN-Host. > > PPPoE: > > new -i ng0 PPPoE PPPoE > > set iface addrs 1.1.1.1 2.2.2.2 >=20 > Maybe you should delete the above line as That was the problem:) I thought ip+netmask from the iface are arbitrary because they will be "overwritten" after I made an successfull connection. But the the crappy netmask was responsible for my problems > > set link mtu 1492 > > set link mru 1492 >=20 > this is also wrong, don't try to set MTU > or MRU. There are negotiated during PPP. removed this also :) regards Fabian --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkogG4oACgkQeki1sRhDXQDxRwCfTXTYeoPnUKRYmlSXjfoj4OEX sJcAnjyFSuDUrwl411ajKbm9ASkiy1uR =X9rr -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS--