Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 23:11:32 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Andrzej Szydlo <andrzej@maciek.gv.edu.pl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Multiple destinations dial on demand 
Message-ID:  <199901132311.XAA01320@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Tue, 12 Jan 1999 13:37:07 %2B0100." <Pine.BSF.3.96.990112132815.20302B-100000@maciek.gv.edu.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
> Is there any way to have multiple dial-on-deman ppp interfaces on a single
> FreeBSD box? I'd like it to dial and connect to destination1 if it senses
> traffic to the network1, dial and connect to destination2 if it senses
> traffic to network2 etc. 
> 
> Any suggestions would be welcome.

This shouldn't be a problem, as long as you have more than one tun 
device (see the handbook for details on configuring tun devices in 
your kernel).

You'll need to use specific network routes rather than default routes 
too:

  add 1.2.3.4/24 HISADDR
or
  add 2.3.4.5/16 HISADDR

etc.

> Andrzej

-- 
Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour !



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901132311.XAA01320>