Date: Fri, 24 Jun 2005 14:24:08 +0100 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: Joe <josepha48@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: SMP and networking under FreeBSD 5.3 Message-ID: <42BC0978.2020609@dial.pipex.com> In-Reply-To: <20050623182407.976.qmail@web41005.mail.yahoo.com> References: <20050623182407.976.qmail@web41005.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Joe wrote:
>Okay, I've been looking and looking for duplicate natd's.
>
>I have the /etc/rc.conf which has natd stuff below, and the only
>other place I see it is in ipfw.
>
>I was able to change my rc and use /etc/rc.d/natd start and that
>works. Which is better as it does not require me to reload my
>firewall rules.
>
>I still don't know why natd refuses to start the first time when
>called from ipfw.
>
>
If I understand the boot procedure correctly, natd ought to be started
as part of the /etc/rc.d/ipfw and that just calls "/etc/rc.d/natd start"
which is what you are typing later from the command line with success,
so why it fails at boot, I really don't know at this point.
The "cannot bind to divert socket" error I thought could happen if a)
you weren't root (seems unlikely from bootup) or b) something had
already bound the socket. After your machine boots, what does
ps uagxww | egrep natd
show?
Google also found this:
>- In FreeBSD, IPDIVERT must be enabled at compile time.
>
I guess your kernel has this option, or natd would never have worked.
what ifconfig lines do you have in /etc.rc.conf
egrep ifconfig /etc/rc.conf
>I have no rc.conf.local
>
>
Not too surprising. It could be used under 4.X as a second level to
rc.conf, but exists nowadays for backwards compatibility and AFAIK isn't
created by anything.
As a more drastic attempt at a solution, could you try upgrading to
5.4? It has numerous improvements over 5.3, which was never a
production release. Maybe some ordering problems was fixed.
--Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42BC0978.2020609>
