Date: Fri, 29 May 2009 19:29:46 +0200 From: Fabian Holler <holler_f@informatik.haw-hamburg.de> To: freebsd-questions@freebsd.org Subject: Re: pppoe routing problem, default route isnt used for some hosts Message-ID: <20090529172946.GB93798@whiteshark.holler> In-Reply-To: <4A2005C1.9050404@gmx.com> References: <20090529104441.GP98712@whiteshark.holler> <4A2005C1.9050404@gmx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090529172946.GB93798>