net rc.conf bug?

Allan Jude allanjude at freebsd.org
Fri Mar 20 02:36:33 UTC 2015


On 2015-03-19 20:20, rank1seeker at gmail.com wrote:
> 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"
> _______________________________________________
> 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"
> 

that specifically sets the MAC address. not sure why that would be required.

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150319/d7c68456/attachment.sig>


More information about the freebsd-hackers mailing list