From owner-freebsd-current Mon Dec 9 8: 6:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 230A337B401 for ; Mon, 9 Dec 2002 08:06:30 -0800 (PST) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DCF243EC5 for ; Mon, 9 Dec 2002 08:06:24 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.150.135] (port=49166 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18LQQJ-0009ru-00 for freebsd-current@freebsd.org; Tue, 10 Dec 2002 00:06:23 +0800 Received: from leafy.idv.tw (localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id gB9G6MoG000688 for ; Tue, 10 Dec 2002 00:06:22 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id gB9G6Lvw000687 for freebsd-current@freebsd.org; Tue, 10 Dec 2002 00:06:21 +0800 (CST) Date: Tue, 10 Dec 2002 00:06:21 +0800 From: leafy To: freebsd-current@freebsd.org Subject: Confused by mpd and ipnat Message-ID: <20021209160621.GA665@leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I run -current and decided to try kernel PPPoE. I installed mpd from ports which ran fine. After installing ipnat, I setup the following rule in ipnat.rules: map ng0 192.168.0.0/24 -> 0/32 When I reboot, this line (along with ipnat stuff) got executed before mpd fiinishes PPPoE negotiation, and ipnat -l shows that the ng0 ip was 0.0.0.0/32. Is there anyway I can ensure that "ipnat -f /etc/ipnat.rules" get executed only after mpd has obtained proper ip settings? Thank you, JY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message