public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problem with pppd-added routes
Date: Tue, 18 Aug 2009 07:55:13 -0400	[thread overview]
Message-ID: <20090818115513.GA6096@waltdnes.org> (raw)
In-Reply-To: <20090817104518.5dcddc31@malediction>

  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 <waltdnes@waltdnes.org>



  parent reply	other threads:[~2009-08-18 11:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17  4:45 [gentoo-user] Problem with pppd-added routes Mike Kazantsev
2009-08-17  9:37 ` Keith Dart
2009-08-17 10:42   ` Mike Kazantsev
2009-08-18 11:55 ` Walter Dnes [this message]
2009-08-18 13:50   ` Mike Kazantsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090818115513.GA6096@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox