On Thu, Aug 21, 2003 at 09:17:55PM -0400, Rod Person wrote:
> Here are the portions of rc.ipfw:
> 
> oif="fxp0"
> onet=? this is assigned via DHCP
> omask="255.255.255.240" <- Should I change this?
> oip=????

I believe your current omask will work; try it and see.

I use
        omask="255.255.255.0"
        onet=`ifconfig fxp0 | grep "inet " | awk '{print $2}'`/24
        oip=`ifconfig fxp0 | grep "inet " | awk '{print $2}'`
You could probably simplify that with
        oip=`ifconfig fxp0 | grep "inet " | awk '{print $2}'`
        onet=${oip}/24
but I haven't tried it. 

Bob Hall
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to