?
Solved

How can i determine the enabled NIC durring installation

Posted on 2008-06-11
1
Medium Priority
?
283 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

801 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