From owner-freebsd-net Sat Feb 8 23: 2:14 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDE2B37B401 for ; Sat, 8 Feb 2003 23:02:12 -0800 (PST) Received: from fatpipi.cirx.org (fatpipi.cirx.org [211.23.144.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id E12D243FA3 for ; Sat, 8 Feb 2003 23:02:11 -0800 (PST) (envelope-from clive@tongi.org) Received: from fatpipi.cirx.org.rose (nullmail@localhost.cirx.org [127.0.0.1]) by fatpipi.cirx.org (8.12.6/8.12.6) with SMTP id h1971vLx073603; Sun, 9 Feb 2003 15:01:58 +0800 (CST) (envelope-from clive@tongi.org) Received: (nullmailer pid 73601 invoked by uid 1000); Sun, 09 Feb 2003 07:01:57 -0000 Date: Sun, 9 Feb 2003 15:01:57 +0800 From: Clive Lin To: Archie Cobbs Cc: freebsd-net@freebsd.org Subject: mpd pptp in multi-homed environment Message-ID: <20030209070157.GB72785@fatpipi.cirx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.3i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Can I setup a pptp configuration which binds on 2 IPs? I'm setting up a box which has 2 up streams, and of course, 2 NICs with 2 public IPs. I consulted mpd stock documents and googled around, but still can not find a solution for setting up a multiple 'lines' pptp server AND binds on 2 IPs. The pptp configuration is a typical one which can accept multiple clients simultaneously. My mpd.links looks like: pptp1: ... set pptp self pub.lic.ip.1 ... ... (and pptp[23456789] are followed) pptp10: set pptp self pub.lic.ip.2 ... ... After mpd lunched, it only listens on pub.lic.ip.1. It looks like only the first "set pptp self ..." command is recognized. Here's the related part in the log: Feb 9 14:41:49 camera mpd: [pptp1] ppp node is "mpd16969-pptp1" Feb 9 14:41:49 camera mpd: mpd: local IP address for PPTP is pub.lic.ip.1 Feb 9 14:41:49 camera mpd: [pptp1] using interface ng0 Feb 9 14:41:49 camera mpd: [pptp2] ppp node is "mpd16969-pptp2" Feb 9 14:41:49 camera mpd: [pptp2] using interface ng1 Feb 9 14:41:49 camera mpd: [pptp3] ppp node is "mpd16969-pptp3" Feb 9 14:41:49 camera mpd: [pptp3] using interface ng2 There's nothing about pub.lic.ip.2 in the log. I know I can simply lunch 2 mpds with 2 configurations, one for pub.lic.ip.1 and another for pub.lic.ip.2. But this is too tricky and dirty, IMHO. Best regards, Clive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message