Date: Sun, 9 Feb 2003 15:01:57 +0800 From: Clive Lin <clive@tongi.org> To: Archie Cobbs <archie@dellroad.org> Cc: freebsd-net@freebsd.org Subject: mpd pptp in multi-homed environment Message-ID: <20030209070157.GB72785@fatpipi.cirx.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209070157.GB72785>