Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2012 10:11:58 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Thomas Krause <freebsd-stable@chef-ingenieur.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Config ipv4 and ipv6 aliases
Message-ID:  <EE7C74B0-2462-4D66-8CD0-5A080413A28F@lists.zabbadoz.net>
In-Reply-To: <21cacc98d48babdb91db692d86ab4775@chef-ingenieur.de>
References:  <21cacc98d48babdb91db692d86ab4775@chef-ingenieur.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 1. Jun 2012, at 09:29 , Thomas Krause wrote:

> Hi,
>=20
> (I'm using FreeBSD 9.0-REL).
>=20
> ifconfig_em0_ipv6_alias0 doesn't work. I've to use
> ifconfig_em0_alias0 for both ipv4 and ipv6.
> This is not consequent.

It is actually a lot more consistent now that way than it was ever =
before.

The reason the "primary" entries are still different is that "DHCP" for =
IPv4 etc is special magic as is some automatic handling depending on =
ifconfig_IF_ipv6 is there or not to make your life easier.

At least, as you can guess, I it this way a lot better.  The rc.conf man =
pages has a couple of rough edges still but...

> My working config
> looks like this:
>=20
> ifconfig_em0=3D"inet 192.168.100.50/28"
> ifconfig_em0_ipv6=3D"inet6 2a00:abcd:0:405::2/64"
>=20
> ifconfig_em0_alias0=3D"inet 192.168.100.51/32"
> ifconfig_em0_alias1=3D"inet6 2a00:abcd:0:405::3/64"
>=20
> defaultrouter=3D"192.168.100.49"
> ipv6_defaultrouter=3D"2a00:abcd:0:405::1"
>=20
> Please correct me, if there is a better solution.



--=20
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EE7C74B0-2462-4D66-8CD0-5A080413A28F>