LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2012, 11:06 PM   #1
pigsa
Member
 
Registered: Nov 2003
Location: Hong Kong
Posts: 35
Blog Entries: 1

Rep: Reputation: 15
Question 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?
 
Old 01-31-2012, 10:23 AM   #2
amilo
Member
 
Registered: Oct 2011
Location: Nederland
Distribution: Debian, Centos, Ubuntu
Posts: 81

Rep: Reputation: Disabled
In most installations the interfaces are defined in /etc/network/interfaces
 
  


Reply

Tags
dummy.c, network bridge, rename, udev


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dummy interface drManhattan Linux - Networking 2 12-11-2010 07:25 AM
dummy.c AlanScott Linux From Scratch 10 07-21-2008 07:43 PM
setup dummy interface running DHCP and DNS for VM scheidel21 Linux - Wireless Networking 0 08-29-2007 12:46 PM
How to get rid of dummy0 krizzz Slackware 3 09-28-2006 03:01 AM
Dummy interface?? wtf?? DertyolBA$HTARD Linux - Networking 1 11-14-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration