From owner-freebsd-net@FreeBSD.ORG Wed Feb 11 09:06:19 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35BB030D for ; Wed, 11 Feb 2015 09:06:19 +0000 (UTC) Received: from smtp-outbound.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.userve.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4B5AFB2 for ; Wed, 11 Feb 2015 09:06:17 +0000 (UTC) Received: from owa.usd-group.com (owa.usd-group.com [217.196.1.2]) by smtp-outbound.userve.net (8.14.7/8.14.7) with ESMTP id t1B8xenh003696 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 11 Feb 2015 08:59:43 GMT (envelope-from matt.churchyard@userve.net) Received: from SERVER.ad.usd-group.com (192.168.0.1) by SERVER.ad.usd-group.com (192.168.0.1) with Microsoft SMTP Server (TLS) id 15.0.516.32; Wed, 11 Feb 2015 08:59:40 +0000 Received: from SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9]) by SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9%12]) with mapi id 15.00.0516.029; Wed, 11 Feb 2015 08:59:40 +0000 From: Matt Churchyard To: "freebsd-net@freebsd.org" Subject: Invalid subnet masks Thread-Topic: Invalid subnet masks Thread-Index: AdBF2FIuD1FE1aNwSWOzQAqD5/Kpzw== Date: Wed, 11 Feb 2015 08:59:39 +0000 Message-ID: <7e069c1946454793b1c7e0be988877c4@SERVER.ad.usd-group.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.10] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 09:06:19 -0000 Hello, Just been helping someone on the forums who appears to have configured thei= r network interface incorrectly. It looks like they've assigned 250.250.250= .0 as the netmask. I've tried assigning this netmask on a 10.1 machine and ifconfig happily ac= cepts it. Is there any reason why FreeBSD accepts this value as a netmask? I'm fairly= well versed in IPv4, although not a real expert, but I see no reason why s= uch a mask would be used. Testing on my Win8.1 workstation, it gets rejected telling me the mask must= be contiguous (i.e. all 1's then 0's), as I would expect. Regards, Matt Churchyard