Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 11:41:05 +0100 (CET)
From:      Michael Reifenberger <root@nihil.plaut.de>
To:        leafy <leafy@leafy.idv.tw>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Confused by mpd and ipnat
Message-ID:  <20021210113937.E603-100000@nihil>
In-Reply-To: <20021209160621.GA665@leafy.idv.tw>
References:  <20021209160621.GA665@leafy.idv.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Dec 2002, leafy wrote:

> Date: Tue, 10 Dec 2002 00:06:21 +0800
> From: leafy <leafy@leafy.idv.tw>
> To: freebsd-current@FreeBSD.ORG
> Subject: Confused by mpd and ipnat
>
> 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?

No.
Use a mpd.up Script like:
...
/sbin/ipnat -F
...


Bye!
----
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS

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




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