Hey thanks, 

   it seems that ipfw complains during boot with a message:

hostname ``or'' unknown

   which I have no idea where that is coming from yet, but will
look.  

   Then natd doesn't get started.  

   If I run /etc/rc.d/ipfw start then the router is up and natd
gets started.    

   For now, I'll probably just add it to rc at the end.  I think
it has something to do with the order things get run.  

   My firewall script is for a dhcp interface.  Since I don't
know the IP, I use ifconfig dc0 | grep -v inet6 | grep inet |
awk ... to get the IP address for some of the rules.  I'm
wondering if this is failing and causing the message above.

   Is there a 'recommended' way to create a rule for ipfw on a
dhcp interface  using its IP address?  

Joe



--- Jarrod Martin <[EMAIL PROTECTED]> wrote:

> Joe wrote:
> 
> >Okay, I've figure it out.  
> >
> >natd is not starting via rc.conf, or if it is, it dies.  I
> can
> >start it manually, and it works okay.
> >
> >Also it seems that for some reason some of my ipfw rules
> don't
> >get set, so I have to rerun ipfw also to make things work.  
> >
> >I'll just hack the rc scripts to get this machine up.
> >
> >Joe
> >
> >--- Dmitry Mityugov <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> rc_debug="YES" in rc.conf, then run 'dmesg -a | grep natd' and
> see if 
> anything pops up.  This should tell you everything that's goin
> on with 
> natd at boot.
> 



                
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to