All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Greg Scott" <GregScott@InfraSupportEtc.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] dial on demand
Date: Mon, 17 Jun 2002 19:51:37 +0000	[thread overview]
Message-ID: <marc-lartc-102434349308947@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102432531219681@msgid-missing>

I will take a shot at this:

I think I get what you want - Is this picture accurate?

internal ethernet    Firewall   PPP to the Internet
----------------------+     +---------------------+--
                 eth0 |     | ppp0                |
                     +-------+                ISP Router
                     |       |
                     +-------+ 

So the problem is, you don't know the IP Address of that
ppp interface, right?

If so, why not use the eth0 IP Address as the default gw
for your internal systems?  When the firewall dials out, it
would set up its own routing and forwarding through the ppp0
interface wouldn't it?

As for the default gw of the Linux firewall system itself, 
what about using the IP Address of your end of the ISP's router?
This should be fixed and should be part of the same network as
your ppp0 interface.  

If I'm completely missing the point then apologies in advance.

- Greg



-----Original Message-----
From: Andreani Luca [mailto:landreani@seltatel.it]
Sent: Monday, June 17, 2002 9:36 AM
To: LARTC mailing list (E-mail)
Subject: [LARTC] dial on demand


hi,

I would like to configure my linux box in ordere to have a PPP link as
default gateway.
How can I do this? In particular I want that, when, for instance, I put ping
123.123.123.123, the box automatically connects to my ISP and then
disconnect.
I read the PPP-HOWTO and configured the /etc/ppp/options adding the "demand"
command.
But, how I can add the default route? I usually use an ethernet and then I
put:

route add default gw xyz.xyz.xyz.xyz

but with PPP is not possible, because I can't associate the address with the
interface!

Helps and references are really welcome!

Best regerds,

	Luca Andreani
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      reply	other threads:[~2002-06-17 19:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 14:35 [LARTC] dial on demand Andreani Luca
2002-06-17 19:51 ` Greg Scott [this message]

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=marc-lartc-102434349308947@msgid-missing \
    --to=gregscott@infrasupportetc.com \
    --cc=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.