From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MdNHR-0005Ii-Uq for garchives@archives.gentoo.org; Tue, 18 Aug 2009 11:55:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1690BE0209; Tue, 18 Aug 2009 11:55:08 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id 01D55E0209 for ; Tue, 18 Aug 2009 11:55:08 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAK8zikrO+IIX/2dsb2JhbACBUtZ9hBkFgU6GAQ X-IronPort-AV: E=Sophos;i="4.43,402,1246852800"; d="scan'208";a="43719125" Received: from 206-248-130-23.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.130.23]) by ironport2-out.teksavvy.com with SMTP; 18 Aug 2009 07:54:33 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Tue, 18 Aug 2009 07:55:13 -0400 From: "Walter Dnes" Date: Tue, 18 Aug 2009 07:55:13 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problem with pppd-added routes Message-ID: <20090818115513.GA6096@waltdnes.org> References: <20090817104518.5dcddc31@malediction> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090817104518.5dcddc31@malediction> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 83a4ef6c-9286-4dfd-ab7f-fca5ef15bdd3 X-Archives-Hash: 1920534ac2af2d6fc88a8ff2dedec14e I have things set up to allow me to connect to dialup, and still keep connections going to my other machine ("LAN" = 2 machines). I think this is similar to your situation. The key is in my /etc/conf.d/net file as per the following excerpt... routes_eth0=( "default via 192.168.123.254 metric 2 mss 1454" "192.168.123.248/29 via 192.168.123.254 metric 0" ) My home machine is 192.168.123.250 on my "LAN", my hot-backup is 192.168.123.251, and the ADSL-modem-cum-router is 192.168.123.254. Note the 2 statements. The default connection to the world is "metric 2", while the connection to the LAN is given "metric 0". The ppp0 connection, when active, has priority over the default connection, but not over the LAN connection. So I don't have to tear down the eth0 connection when dialing up, and re-start it after disconnecting from dialup. If I wanted to get really fancy, I could assign separate "metric 0" routes for streaming video or audio sites, where dialup won't hack it. This would allow me to listen to internet radio on ADSL, while simultaneously downloading updates/email/usenet over dialup, or even surfing the web on dialup. Why bother, you ask? Bell Canada will soon be be ramming billing-by-the-byte on all its users and its resellers' users. The only "alternative" in Toronto is Rogers Cable, and they're not attractive either. I intend to divert update/email/usenet downloads to dialup. This will apply to any files where I don't care if it's an overnight download. This would also be a great idea for usability testing for some web developers, to see how piggy their Schlockwave-Trash websites are on dialup. -- Walter Dnes