Hi,

leafy schrieb:
> 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?
> 
You can set this rule in an iface up-script:
set iface up-script script
set iface down-script script

bye,
-- 
------------------------------- ----------------------------------
Michael Bretterklieber          - [EMAIL PROTECTED]        
JAWA Management Software GmbH   - http://www.jawa.at
Liebenauer Hauptstr. 200        -------------- privat ------------
A-8041 GRAZ                     GSM: ++43-(0)676-93 96 698              
Tel: ++43-(0)316-403274-12      E-mail:   [EMAIL PROTECTED]
Fax: ++43-(0)316-403274-10      http://www.inode.at/mbretter
------------------------------- ----------------------------------
"...the number of UNIX installations has grown to 10, with more expected..."
           - Dennis Ritchie and Ken Thompson, June 1972


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to