From owner-freebsd-questions@FreeBSD.ORG Wed Feb 16 08:45:19 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6356016A4CE for ; Wed, 16 Feb 2005 08:45:19 +0000 (GMT) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1382843D41 for ; Wed, 16 Feb 2005 08:45:16 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id TAA03941; Wed, 16 Feb 2005 19:45:04 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 16 Feb 2005 19:45:03 +1100 (EST) From: Ian Smith To: Benjamin Dover In-Reply-To: <20050216045414.32F0616A4D9@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: named error in /var/log/messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 08:45:19 -0000 Re: freebsd-questions Digest, Vol 88, Issue 54 > Message: 4 > Date: Tue, 15 Feb 2005 19:21:32 -0500 > From: Benjamin Dover > Subject: named error in /var/log/messages > I am running fBSD 5.3 Release. I get this message repeated in > /var/log/messages > > Feb 15 17:27:09 w00f named[317]: 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 *:* > RC.CONF [..] > 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. Cheers, Ian