?
Solved

How can i determine the enabled NIC durring installation

Posted on 2008-06-11
1
Medium Priority
?
288 Views
Last Modified: 2013-12-16
I am trying to install Red Hat Linux remotely. During the installation, i am suppose to specify the interface in which the dhcp address will be obtained in order to locate the build. At the momet i am using a trial and error approach because i have up to 10 NICs and it is a waste of time. Please i will like to know the following...
- How does linux determine which interface to allocate eth0, 1, 2, 3....
- is there a way to easily specify which interface will be used for obtaing a dhcp address
- Is there a way to reboot a server via iLo (remotely) during installation
- is there a way to specify in the build ISO or Kick Start which interface to be used?

thanks..
0
Comment
Question by:tdopsdarock
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
Rance_Hall earned 1500 total points
ID: 21762812
First thing you need to know is how linux assigns ethX names to nics

first priority is the order that the modules were loaded into the kernel  (edit /etc/modprobe.conf to change the order)

second is the pci bus itself.


pci ports are numbered from small to large (check your mobo docs for details)

so kernel nic module is loaded and it scans the pci bus looking for compatible nics in order of the pci bus id

each card identified is named ethX where X starts at 0

its possible then to have different nics in the system and specify which one will be eth0 based on the order the different modules are loaded.


Can you do something about this during install?  possible depends on the flexibility of kickstart...(I dont know, but thats where you would look)

all nics the same and only one kernel module loaded, then they are numbered in order of the pci bus id.

is there a way to specify which nic gets dhcp during install?  I dont think so, what I do is set them all to dhcp, but only plug one of them in, then after I get the network configuration files done like I want, then I have the server plugged in correctly.

can you reboot a server via ilo? yes you can, but you should have pre configured the static ip address of the ilo interface and plugged a seperate cable into it so you can access the hardware when the software hangs.

can you specify via kickstart what network to use?  I dont think so, but again, its been awhile for me, so its possible this has changed.


0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question