Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 01:20:41 +0100
From:      <rank1seeker@gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Mar 2015 18:15:57 -0400
Allan Jude <allanjude@freebsd.org> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150320012041.00006251>