SMP and networking under FreeBSD 5.3
josepha48 at yahoo.com
Wed Jun 15 05:14:35 GMT 2005
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
Then natd doesn't get started.
If I run /etc/rc.d/ipfw start then the router is up and natd
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?
--- Jarrod Martin <jmartin37 at speakeasy.net> wrote:
> Joe wrote:
> >Okay, I've figure it out.
> >natd is not starting via rc.conf, or if it is, it dies. I
> >start it manually, and it works okay.
> >Also it seems that for some reason some of my ipfw rules
> >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.
> >--- Dmitry Mityugov <dmitry.mityugov at gmail.com> 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.
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
More information about the freebsd-questions