net rc.conf bug?

rank1seeker at gmail.com rank1seeker at gmail.com
Fri Mar 20 00:20:47 UTC 2015


On Thu, 19 Mar 2015 18:15:57 -0400
Allan Jude <allanjude at freebsd.org> wrote:

> On 2015-03-19 18:06, rank1seeker at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to
> > "freebsd-hackers-unsubscribe at 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"


More information about the freebsd-hackers mailing list