[systemd-devel] Assigning a second ip-address on interface (i.e. eth0 and eth0:1)
Mantas Mikulėnas
grawity at gmail.com
Thu Apr 24 03:30:04 PDT 2014
On Thu, Apr 24, 2014 at 1:06 PM, Umut Tezduyar Lindskog
<umut at tezduyar.com> wrote:
> Hi Oliver,
>
> You can specify Address= more than once as it is explained in
> http://www.freedesktop.org/software/systemd/man/systemd.network.html
> (Address=).
And just for the record, use `ip addr` to make sure it works, because
chances are that `ifconfig` won't show it.
Since kernel 2.2, there can be several IP addresses on the same eth0
interface without having to use 'aliases', using `ip addr add` for
example. networkd uses the new method as well. Unfortunately,
`ifconfig` – even the last version that Arch has – only shows the
first address to this day.
--
Mantas Mikulėnas <grawity at gmail.com>
More information about the systemd-devel
mailing list