Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2016 17:06:51 +0300
From:      Artem Viklenko <artem@viklenko.net>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        "Patrick M. Hausen" <hausen@punkt.de>, freebsd-net@freebsd.org, freebsd-stable@freebsd.org, Kristof Provost <kp@freebsd.org>, owner-freebsd-net@freebsd.org
Subject:   Re: How to setup ethernet address and IPv4 address on interface?
Message-ID:  <56b23ba2f86bd3e6e61f7ea5e0590c36@mail.viklenko.net>
In-Reply-To: <20160629122310.GR46309@zxy.spb.ru>
References:  <20160629114729.GB20831@zxy.spb.ru> <BD69070C-4DD9-4525-874D-7C646FC82ED2@FreeBSD.org> <20160629120152.GQ46309@zxy.spb.ru> <0033E4B2-88E0-4182-A9A4-7794A98BF709@punkt.de> <20160629122310.GR46309@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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!



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