ipv6_addrs_IF aliases in rc.conf(5)

Mark Felder feld at freebsd.org
Tue Jul 16 11:29:23 UTC 2013


On Tue, Jul 16, 2013, at 6:12, Łukasz Wąsikowski wrote:
>
> What is the current, non deprecated way, to configure IP addresses in
> rc.conf? Let's say for a dual stack, multi IP box I need to set:
> 
> 10.0.0.66/28 and 10.0.0.67-78 as aliases and
> fdda:5cc1:23:4::1/48 and fdda:5cc1:23:4::2-f as aliases
> 
> What is the best way to accomplish it?
>


ipv4_addrs_em0="10.0.0.66-78/28"

ipv6 syntax depends on if you're using 8.x or 9.1-RELEASE, but you're
going to have to do all the aliases manually.


More information about the freebsd-stable mailing list