named error in /var/log/messages
smithi at nimnet.asn.au
Wed Feb 16 08:45:19 GMT 2005
Re: freebsd-questions Digest, Vol 88, Issue 54
> Message: 4
> Date: Tue, 15 Feb 2005 19:21:32 -0500
> From: Benjamin Dover <dawgeestyle at gmail.com>
> Subject: named error in /var/log/messages
> I am running fBSD 5.3 Release. I get this message repeated in
> Feb 15 17:27:09 w00f named: omitting IPv4 interface xl1 from
> localnets ACL: address mask not contiguous
> w00f# sockstat -4l
> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
> bind named 317 20 udp4 2xx.195.187.218:53 *:*
> bind named 317 21 tcp4 2xx.195.187.218:53 *:*
> bind named 317 22 udp4 192.168.1.110:53 *:*
> bind named 317 23 tcp4 192.168.1.110:53 *:*
> bind named 317 24 udp4 2xx.195.187.219:53 *:*
> bind named 317 25 tcp4 2xx.195.187.219:53 *:*
> bind named 317 26 udp4 127.0.0.1:53 *:*
> bind named 317 27 tcp4 127.0.0.1:53 *:*
> bind named 317 28 udp4 *:55145 *:*
> bind named 317 30 tcp4 127.0.0.1:953 *:*
> ifconfig_fxp0="inet 2xx.195.187.219 netmask 255.255.255.0"
> ifconfig_xl1="inet 2xx.195.187.244 netmask 2xx.195.191.255"
'address mask not contiguous' ie contiguous one bits from the left.
> ifconfig_dc0="inet 192.168.1.110 netmask 255.255.255.0"
> I realize my rc.conf is a little abnormal. When I signed up for
> premium service at my ISP I learned I gained extra IP addresses. I
> have cable so they have to be gained through a switch. I could not
> configure more than one interface with DHCP so I had to use the above
> last few lines to obtain the IP's. I didnt tell named to listen on
> xl1 so why is named giving an error and filling up my messages log?
> How can I correct the error?
It's not clear from this where the .218 address shown by sockstat comes
from, or which interface it's assigned to? Maybe I've pruned too much?
'ifconfig -au' would be informative. Anyway ..
Assuming fxp0 with address .219 is the A address of host w00f on a /24
net as indicated by the fxp0 netmask, then you shouldn't have another
interface on that subnet except as a /32 (single IP address), though
apparently not an alias as such, being on another interface.
I'm not clear how this works through your switch, but try xl1 (.244)
with a 255.255.255.255 (0xffffffff) netmask. Then when you tell named
which addresses to bind to it'll be dealing with addresses it can find.
More information about the freebsd-questions