Date: Wed, 11 Feb 2015 10:38:11 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Matt Churchyard <matt.churchyard@userve.net> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Invalid subnet masks Message-ID: <alpine.BSF.2.11.1502111033140.4693@wonkity.com> In-Reply-To: <7e069c1946454793b1c7e0be988877c4@SERVER.ad.usd-group.com> References: <7e069c1946454793b1c7e0be988877c4@SERVER.ad.usd-group.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Feb 2015, Matt Churchyard wrote: > Just been helping someone on the forums who appears to have configured their 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 accepts it. As a tangent to that question, ifconfig(8) and the rc.conf settings do accept CIDR notation, which is both shorter and clearer than a dotted quad IP address and a separate netmask: ifconfig em0 inet 192.168.1.1/24
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1502111033140.4693>