[Linux-PowerEdge] Interface names

Vinod Gupta vinod at princeton.edu
Mon Apr 21 13:15:29 CDT 2014


This will help after imaging. May be we can give kernel parameter 
biosdevname=0 even during imaging the machine in the  
pxelinux.cfg/default file. If I understand correctly, this will only 
ensure that interface names are not renamed. I need to ensure that we 
can assign eth0 name to the best of the available interfaces on a node 
so that we do not need to tweak our common kickstart file for each node. 
I thought this should be possible in BIOS that which interface is named 
what, but I could be wrong.

Vinod


On 04/21/2014 11:45 AM, linux-poweredge-request at dell.com wrote:
> I usually use 'biosdevname=0' on the GRUB kernel command line to get eth*
> names back in all cases. As in:
>
> # grep bios /boot/grub/grub.conf
>           kernel /vmlinuz-2.6.32-431.11.2.el6.x86_64 ro
> root=/dev/rootdg/lv_root rd_LVM_LV=rootdg/lv_swap rd_NO_LUKS LANG=C
> KEYBOARDTYPE=pc KEYTABLE=us-acentos rd_LVM_LV=rootdg/lv_root rd_NO_MD
> rd_NO_DM SYSFONT=latarcyrheb-sun16 crashkernel=auto intel_iommu=on
> swiotlb=65536 pcie_aspm=off elevator=deadline nouveau.modeset=0
> rdblacklist=nouveau biosdevname=0
>                       ^^^^^^^^^^^^^^
>
> I hope this helps,
>
> Vincent
>
> ,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
> Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
> Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
> Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
> http://step.polymtl.ca/~coyote   _.,-*~'`^`'~*-,._coyote at NOSPAM4cojot.name
>
> They cannot scare me with their empty spaces
> Between stars - on stars where no human race is
> I have it in me so much nearer home
> To scare myself with my own desert places.       - Robert Frost
>
>
> On Sun, 20 Apr 2014, Vinod Gupta wrote:
>
>> >  Our RHEL Linux cluster evolved over several years and now we have a mix
>> >  of various Dell PowerEdge servers running, each one having 2-4 ethernet
>> >  interfaces, some 1 Gbps and some 10 Gbps, some onboard and some in the
>> >  expansion slots. We use a common kickstart to image them. Every time a
>> >  new server is added or old one needs reimaging, we need to play with
>> >  network line changing --device value (eth0, em1 or p2p1...). This breaks
>> >  the idea of automating the imaging process. Is there a way to set the
>> >  interface names once for ever in BIOS?
>> >
>> >  Vinod
>> >



More information about the Linux-PowerEdge mailing list