Re: ipv6_addrs_IF aliases in rc.conf(5)

From: Hiroki Sato <hrs_at_FreeBSD.org>
Date: Fri, 12 Jul 2013 16:03:58 +0900 (JST)
Michael Grimm <trashcan_at_odo.in-berlin.de> wrote
  in <4c07217dc9200841dfd065a6d52849eb_at_mx1.enfer-du-nord.net>:

tr> On 2013-07-12 6:56, Hiroki Sato wrote:
tr> > Kevin Oberman <rkoberman_at_gmail.com> wrote
tr> >   in <CAN6yY1sRSWEMj2_bJX_DRZMxgk4tf50_ODe8O8i2d6wTrGW3ug_at_mail.gmail.com>:
tr> > rk> On Wed, Jul 10, 2013 at 4:46 AM, Mark Felder <feld_at_feld.me> wrote:
tr> > rk>
tr> > rk> > On Wed, 10 Jul 2013 06:44:12 -0500, Michael Grimm <
tr> > rk> > trashcan_at_odo.in-berlin.de> wrote:
tr> > rk> >
tr> > rk> >  Will that patch make it into 9.2? If I am not mistaken, that patch isn't
tr> > rk> >> in stable yet.
tr> > rk> >>
tr> > rk> >
tr> > rk> > I would also like to see this patch hit 9.x sooner than later. It's so
tr> > rk> > painful when someone forgets to fix the alias numbering on servers with
tr> > rk> > many, many IPv4 and IPv6 addresses...
tr> > rk> >
tr> > rk>
tr> > rk> Please, please, please, please, ...!
tr> > rk>
tr> > rk> Freeze is only two days away, so time for 9.2 is almost over and I can see
tr> > rk> no good reason NOT to get this done.
tr> >  r252015 was merged to stable/9 today.
tr>
tr> Thanks! This is highly appreciated. A first glance at network.subr tells me that
tr> much more has been modified/simplified regarding alias definitions, great.

 Please let me know if the existing configurations and/or the new
 formats do not work.  The following is a summary of the supported
 rc.conf variables, FYI:

Hiroki Sato <hrs_at_FreeBSD.org> wrote
  in <201306200229.r5K2TnfR085621_at_svn.freebsd.org>:

hr>   A summary of the supported ifconfig_* variables is as follows:
hr>
hr>    # IPv4 configuration.
hr>    ifconfig_em0="inet 192.168.0.1"
hr>    # IPv6 configuration.
hr>    ifconfig_em0_ipv6="inet6 2001:db8::1/64"
hr>    # IPv4 address range spec.  Now deprecated.
hr>    ipv4_addr_em0="10.2.1.1-10"
hr>    # IPv6 alias.
hr>    ifconfig_em0_alias0="inet6 2001:db8:5::1 prefixlen 70"
hr>    # IPv4 alias.
hr>    ifconfig_em0_alias1="inet 10.2.2.1/24"
hr>    # IPv4 alias with range spec w/o AF keyword (backward compat).
hr>    ifconfig_em0_alias2="10.3.1.1-10/32"
hr>    # IPv6 alias with range spec.
hr>    ifconfig_em0_alias3="inet6 2001:db8:20-2f::1/64"
hr>    # ifconfig_IF_aliases is just like ifconfig_IF_aliasN.
hr>    ifconfig_em0_aliases="inet 10.3.3.201-204/24 inet6 2001:db8:210-213::1/64 inet 10.1.1.1/24"
hr>    # IPv6 alias (backward compat)
hr>    ipv6_ifconfig_em0_alias0="inet6 2001:db8:f::1/64"
hr>    # IPv6 alias w/o AF keyword (backward compat)
hr>    ipv6_ifconfig_em0_alias1="2001:db8:f:1::1/64"
hr>    # IPv6 prefix.
hr>    ipv6_prefix_em0="2001:db8::/64"

-- Hiroki

Received on Fri Jul 12 2013 - 05:04:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC