LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Renaming Dummy Interface (dummy0) (https://www.linuxquestions.org/questions/linux-networking-3/renaming-dummy-interface-dummy0-926413/)

pigsa 01-29-2012 11:06 PM

Renaming Dummy Interface (dummy0)
 
I am using dummy network interface (dummy0) for communication between the host and guest when I use XEN. The name dummy0 seems a little bit too ... generic. Therefore, I want to change it.

My preference is to use udev. However, since the MAC address was generated randomly, it seems impossible to rename with udev?

I can rename it using 'ip link set dummy0 name xxx '. What's the best location to do this? Other services will depend on this interface so I can't rename in rc.local. Should I customize the rcN.d/network (or similar) script?

amilo 01-31-2012 10:23 AM

In most installations the interfaces are defined in /etc/network/interfaces


All times are GMT -5. The time now is 08:05 PM.