[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-net
Subject:    Re: How to setup ethernet address and IPv4 address on interface?
From:       Artem Viklenko <artem () viklenko ! net>
Date:       2016-06-29 14:06:51
Message-ID: 56b23ba2f86bd3e6e61f7ea5e0590c36 () mail ! viklenko ! net
[Download RAW message or body]

2016-06-29 15:23, Slawa Olhovchenkov написав:
> On Wed, Jun 29, 2016 at 02:13:59PM +0200, Patrick M. Hausen wrote:
> 
>> Hi!
>> 
>> > Am 29.06.2016 um 14:01 schrieb Slawa Olhovchenkov <slw@zxy.spb.ru>:
>> > I am need in one call, multiple commands not allways allowed.
>> > Using /etc/start_if.$IFNAME produce side effects and can mask errors
>> > in rc.conf.
>> 
>> What about using a combination of
>> 
>> ifconfig_em1
>> ipv4_addrs_em1
>> 
>> in rc.conf?
> 
> What you mean? I am not rc.conf/network.subr hacker.

on my home router's rc.conf:

ifconfig_fxp1="ether xx:xx:xx:xx:xx:xx polling -rxcsum link0"
ifconfig_fxp1_alias0="inet 192.168.XX.XX/XX"


-- 
Regards!
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic