From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 20 00:20:47 2015 Return-Path: Delivered-To: freebsd-hackers@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 06299C14 for ; Fri, 20 Mar 2015 00:20:47 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 888F2F18 for ; Fri, 20 Mar 2015 00:20:46 +0000 (UTC) Received: by wgbcc7 with SMTP id cc7so76170634wgb.0 for ; Thu, 19 Mar 2015 17:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:importance :mime-version:content-type:content-transfer-encoding; bh=8/9cIpiFRCCEJ2RbFUFzDBfmWkzENxt3PExRNU9iRnA=; b=mtfGPBLowyeuth+TLan9+OJFwYKZhCoMasOFYPSF1HxjqWZwP9UeoaoUHWCORQapxp sMnG9Qe6lOhsIDpdHTedPsENDWE3XLYx+CUJlQ9V8kAZ8I4XYguUlM+ZWmV22e84w50x Lv3UMKCEE0imK2mmwlmjMg+i4EUfuGXeFOxI3xPo5PxVydu8eMYz+ifQvHcwQnYBD/Na 0eUf7653wEJeSic3ifw9L+IQe/3680oHeCZb+1eNeoAkIavrKUe6xKurlLJogQ7FrTaO tspDU/yZDowy9VDU7Iqa45HitF8BgjIFa2fn0KetiMvHObDyultcphpaPRKhwH4CYLeO 6xKA== X-Received: by 10.180.76.77 with SMTP id i13mr21064892wiw.6.1426810844752; Thu, 19 Mar 2015 17:20:44 -0700 (PDT) Received: from localhost ([217.14.212.217]) by mx.google.com with ESMTPSA id ka1sm4078424wjc.2.2015.03.19.17.20.43 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 19 Mar 2015 17:20:44 -0700 (PDT) Date: Fri, 20 Mar 2015 01:20:41 +0100 From: To: freebsd-hackers@freebsd.org Subject: Re: net rc.conf bug? Message-ID: <20150320012041.00006251@gmail.com> In-Reply-To: <550B4A9D.1080602@freebsd.org> References: <20150319230613.000074b1@gmail.com> <550B4A9D.1080602@freebsd.org> Importance: high X-Priority: 2 (High) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2015 00:20:47 -0000 On Thu, 19 Mar 2015 18:15:57 -0400 Allan Jude wrote: > On 2015-03-19 18:06, rank1seeker@gmail.com wrote: > > 10.1-RELEASE-p6 i386 > > > > /etc/rc.conf > > ---- > > # TO DO: Setting ether as prefix OR suffix to inet, WON'T set IP to > > NIC ifconfig_em0="inet 10.232.191.1/22" > > ---- > > > > Can someone confirm? > > This nuked PF, which in turn disbled NAT, which in turn ... > > :P > > > > > > Domagoj S. > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to > > "freebsd-hackers-unsubscribe@freebsd.org" > > > > Not sure what you are asking. > ifconfig_em1=" inet 94.100.23.178/29" > ifconfig_em1_alias0=" inet 94.100.23.179/32" > > works prefectly fine for me > Of course it does, as it doesn't have 'ether' specified. Try this: ifconfig_em1="ether 00:90:99:8f:da:6f inet 94.100.23.178/29" and/or ifconfig_em1="inet 94.100.23.178/29 ether 00:90:99:8f:da:6f" While this should work: ifconfig_em1="ether 00:90:99:8f:da:6f DHCP"