[CentOS] Systemd interface rename does not work
Marcelo Roccasalva
marcelo-centos at irrigacion.gov.ar
Mon Mar 27 14:17:37 UTC 2017
On Sun, Mar 26, 2017 at 9:16 AM, Matt . <yamakasi.014 at gmail.com> wrote:
>
> Hi,
>
> I'm moving to Systemd for my network management but I don't see my
> link name changed when I try to using a .link name.
>
> The .network file works right, networkmanager is removed as well to
> accomplish this.
>
> Any idea why the rename is not done ?
>
>
> /etc/systemd/network/0-eth.network
> [Match]
> MACAddress=00:1a:4a:a9:0a:17
>
> [Network]
> Address=172.16.3.141/24
> Gateway=172.16.3.254
> DNS=172.16.3.1
> DNS=172.16.3.2
>
> /etc/systemd/network/0-eth.link
> [Match]
> MACAddress=00:1a:4a:a9:0a:17
>
> [Link]
> Name=eth0
Can you try with a name that does not start with "eth"?
--
Marcelo
"¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida?" (Mafalda)
More information about the CentOS
mailing list