Date: Thu, 21 Aug 2003 22:14:15 -0400 From: "Bob Hall" <rjhjr@cox.net> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Help setup home network when gateways, ip asigned by DHCP Message-ID: <20030822021414.GA3003@kongemord.krig.net> In-Reply-To: <20030821211755.096b57e2.rod.person@hotpop.com> References: <20030821211755.096b57e2.rod.person@hotpop.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030822021414.GA3003>