You are not logged in.
Pages: 1
Hi all,
I have a basic static wired ethernet connection on a machine that I use as a NAS, defined in a file /etc/netctl/ethernet-static:
Description='A basic static ethernet connection'
Interface=eno1
Connection=ethernet
IP=static
Address=('192.168.1.100/24')
Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')
It has an associated systemctl unit named: netctl@ethernet\x2dstatic.service
The machine has another NIC that I would like to use in the same manner, with a different IP. To do that, I would like to change the name of the systemd unit into something resembling the name of the NIC. Is that possible?
Offline
Not sure whether that's whatyou mean, but you can name the profiles whatever you want, eg.
/etc/netctl/static-eno1-100
/etc/netctl/static-enp63s0-101
The systemd service will reflect this.
Offline
Yes, that is what I meant. Thanks. I tried it before but I think I forgot to disable the old unit and enable the new one.
Offline
Pages: 1