From owner-freebsd-questions Tue Jan 23 5:13:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id B17CA37B401 for ; Tue, 23 Jan 2001 05:13:32 -0800 (PST) Received: from [195.11.243.26] (helo=Debug) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14L3GN-000EtT-00; Tue, 23 Jan 2001 13:13:31 +0000 To: "Donald Orbin" , From: Cliff Sarginson Subject: Re: ppp + dialing different numbers Date: Tue, 23 Jan 2001 13:13:31 GMT X-Mailer: www.webmail.nl.demon.net X-Sender: postmaster@btvs.demon.nl X-Originating-IP: 192.250.24.58 Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I hope this message is coming to the right place... all my other searches > have been futile. > > I am wanting to use the autodial feature to: > i) Dial number A if the destination ip address is 1.2.3.4 > ii) Dial number B if the destination ip address is anything else > > ie. the BSD box must connect (dial) a certain sserver if a packet to that > machine is encountered; or dial an isp number if any other ips are > encountered. I don;t know if this is possibble, but it certainly begs a lot of questions. Just one. Most things that will stimulate a dial-out will involve a DNS enquiry, do you have your own DNS ? If not, which one should it dial ? .. I would think you could better look at doing this at a higher level, by having seperate targets in your ppp.conf and (somehow) wrapping requests up with something that decided which to dial.. I have been thinking about this very problem myself...you really want to do it at the level of the name of s provider to dial, not an IP address. I will watch with interest Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message