hi guys =)
I'm installing a centos meta-node for a cluster. This computer will be the frontend for the cluster, so it has 2 network cards: eth0, eth1.
I would like to rename them: eth0-FW and eth1-CL yet im not able to do it.
I have tried using the network-scripts and the udev rules but i'm not able to... last linux i used was Debian and there i just changed the 70-persistenet-net.rules and they changed, yet here im missing something...
any help would be apreaciated =)
Thanks
-ricardo :-)
renaming network interface
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
renaming network interface
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
See the upstream documentation about [url=http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces-alias.html]Alias and Clone Files[/url]. If you want to change the actual device name to /dev/whatever via udev rules, I'm not sure what else that would mess up, nor why it is worth the trouble.
See the upstream documentation about [url=http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces-alias.html]Alias and Clone Files[/url]. If you want to change the actual device name to /dev/whatever via udev rules, I'm not sure what else that would mess up, nor why it is worth the trouble.
Re: renaming network interface
Hi me back again.
I still haven't been able to rename these interfaces succesfully.
If i edit the /etc/udev/rules.d/70-persisent-net-rules in way where i fix the MAC address of the interfaces and i change the "name" to anything, on next boot the original eth0 and eth1 are recreated.
I still haven't been able to rename these interfaces succesfully.
If i edit the /etc/udev/rules.d/70-persisent-net-rules in way where i fix the MAC address of the interfaces and i change the "name" to anything, on next boot the original eth0 and eth1 are recreated.