I'm trying to alias an ip address onto Lo or create a new loopback interface such as lo:1
I've created /etc/sysconfig/network-scripts/ifcfg-lo:10
DEVICE=lo:10 IPADDR=192.168.10.1 NETMASK=255.255.255.0 NETWORK=192.168.10.0 BROADCAST=192.168.10.255 ONBOOT=yes NAME=lo10
When I do ifup lo:10
[root@xxxx network-scripts]# ifup lo:10 Error: no device found for connection 'lo10'.
Can anyone please shed some light on this issue. I have used this method for aliasing ip addresses on physical interfaces without issues.
This is not a duplicate as Michael has tried to point out as I'm trying the correctly documented way and would rather not use the rc.local as suggested in what he feels the same question.