changing ethernet NIC names?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat changing ethernet NIC names?
# 1  
Old 10-03-2009
changing ethernet NIC names?

I have an RHEL 5 server with 2 Broadcom on-board NICs and 2 quad-port Intel NICs. After I installed the OS, the Intel NICs became eth0-7, and the onboards are eth8 and eth9. I really need the onboard NICs to be eth0 and eth1 (I have plans to later remove the quad-ports and replace them with 10gE cards but that's another story). What's the right way to renumber the existing eth devices? I have the following entries in modprobe.conf:

Code:
alias eth0 e1000e
alias eth1 e1000e
alias eth2 e1000e
alias eth3 e1000e
alias eth4 e1000e
alias eth5 e1000e
alias eth6 e1000e
alias eth7 e1000e
alias eth8 bnx2
alias eth9 bnx2

Should I just change the names in there and also modify the ifcfg-* files? Or is there more to this? How do I make sure that after I reboot, the names will not change back?
# 2  
Old 10-03-2009
Usually, it should be enough to just change the names of the ifcfg-* files, and restart the network service. Additionally, to ensure that the name always binds to the right port, add the line
Code:
HWADDR=<MAC address>

to the appropriate file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Changing single path NIC to a teamed connection in same subnet

Dear all, I have a remote CentOS7 server that has two network cards. Each card has four ports and port one of card one was defined with the IP address assigned to the server. So far, so good and it's been working for over a year. We have now got cables sorted out so there are four paths... (4 Replies)
Discussion started by: rbatte1
4 Replies

2. Shell Programming and Scripting

Changing file names

sac_pzs_iv_epoz_hhe__2013.074.14.40.46.0000_2599.365.23.59.59.99999 sac_pzs_iv_epoz_hhn__2013.074.14.40.46.0000_2599.365.23.59.59.99999 sac_pzs_iv_epoz_hhz__2013.074.14.40.46.0000_2599.365.23.59.59.99999 sac_pzs_iv_haga_hhe__2006.111.00.00.00.0000_2599.365.23.59.59.99999... (3 Replies)
Discussion started by: kristinu
3 Replies

3. Red Hat

Oracle RAC -- changing ethernet device name

I have a RAC setup that was configured before I started at my new company. I would like to reconfigure the network devices and change the names. How complex is this regarding the Oracle RAC environment? Does the Oracle RAC rely on the device name or is it only relying on the IP information? ... (1 Reply)
Discussion started by: s ladd
1 Replies

4. AIX

interface collisions on ethernet nic

Hi, is there any method to check the interface collisions on ethernet NIC in AIX. I know that in Solaris it's netstat -i but I've written that in AIX it doesn't show this. Thanks&regards, p (1 Reply)
Discussion started by: pitmod
1 Replies

5. Solaris

Solaris 10 Changing of nic link_speed

hi guys, is there any way to change the nic link_speed in Solaris 10? now my box is running degraded performance of the link speed as the switch is upgraded from 100m to 1000m. dladm show-dev e1000g0 link: up speed: 100 Mbps duplex: full e1000g1 link: up ... (10 Replies)
Discussion started by: freshmeat
10 Replies

6. UNIX for Advanced & Expert Users

Determine the ethernet (NIC) card speed.

Hi, Does anyone know how can I determine the maximum capable speed on a network interface card for different OS like HP, Sun, AIX and Linux. I am aware of the tool "ethtool" which can be used for Linux. Are there any handly commands or /proc files where I can get this info depending on the OS.... (3 Replies)
Discussion started by: devtakh
3 Replies

7. Shell Programming and Scripting

Changing names

I have file names m04-npt06-z30-syn.ps m04-npt06-dp018-8x6smp.vmod m04-npt06-sr40-syn-dp01-16x12drw.params m04-npt06-sr40-syn-dp008-16x12drw.params m04-npt06-sr40-syn-dp008-16x12drw.vmod m04-npt06-sr40-syn-dp008-16x12drw.bck m04-npt06-sr40-syn-dp008-16x12drw.exp... (6 Replies)
Discussion started by: kristinu
6 Replies

8. Linux

changing speed of NIC Card in linux

Hi, I would like to know how to change the speed of ethernet card in linux? as it is showing auto-neg using mii-tool -v eth0 and my requirement is 100mbps full duplex. Regards, Manoj (3 Replies)
Discussion started by: manoj.solaris
3 Replies

9. AIX

PCI Ethernet NIC's for IBM RISC 600 Model B50

I am trying to locate a non IBM PCI Ethernet card that will work with the Model B50 RISC box. Alternatively, I need to find AIX drivers for standard PCI Ethernet NIC's ?. (0 Replies)
Discussion started by: rahe
0 Replies

10. UNIX for Advanced & Expert Users

Changing MAC address of a NIC

All, I have a need to software change the MAC address of a NIC in a Sparc Ultra 10 - I believe there is a command that allows to do this at boot up? Is it a missing (to me) part of ifconfig ? If so, what is the syntax? All replies gratefully received ! Thanks Andrew (3 Replies)
Discussion started by: wretch
3 Replies
Login or Register to Ask a Question