New Adapter Swap

Issues related to configuring your network
Post Reply
halcaldwell1
Posts: 2
Joined: 2019/02/28 18:41:37

New Adapter Swap

Post by halcaldwell1 » 2019/10/22 21:52:03

What happens if I try to install a different network adapter on my Centos 7.7 system? I presently have an Intel PRO/100 VE (LOM) Ethernet Controller (motherboard integrated) and the kmod-e100 module is tainting my kernel. I am hoping the change out automagically keeps my network settings and I don't have to re-create everything.

Thanks,
Hal

User avatar
TrevorH
Forum Moderator
Posts: 26934
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New Adapter Swap

Post by TrevorH » 2019/10/23 14:24:28

It's likely to be autodetected and assigned a new name but that does depend a bit on how your system is set up. If you use the default predictable network naming scheme and you install the new adapter in the same PCIe slot then it should be assigned the same name as the old one if it currently has a name like 'enp2s0f0' (EtherNet in pci bus 2, socket 0, function 0). However the MAC address will be different so it may not work without changes.

You'll want to have access to the machine via the local console to do this. Or if it's a server and has iDRAC/iLO console functions then that's ok too. You may need to logon locally and adjust the ifcfg files in /etc/sysconfig/network-scripts/ to reflect things like device names/MAC addresses.

This does of course assume that you have done your research and picked a new network card that has built-in drivers in the CentOS 7 kernel.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

halcaldwell1
Posts: 2
Joined: 2019/02/28 18:41:37

Re: New Adapter Swap

Post by halcaldwell1 » 2019/10/23 16:17:29

Thanks for the reply. It also brings up the other question I had but did not post which is, how can I find what drivers are supported? I have searched on the web for references to device support in Centos but haven't been able to find anything.

User avatar
TrevorH
Forum Moderator
Posts: 26934
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New Adapter Swap

Post by TrevorH » 2019/10/23 17:30:01

Mostly it's a matter of looking at pci device ids to see. For example, run modinfo e1000e and it will spit out a long list of the PCI vendor/device ids that it supports. e1000e is the module for most Intel gigabit chipsets though the igb module is also used as is the e1000 module (but I wouldn't use e1000 if you can help it as it's marked as deprecated in el8 even though it currently still works).
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Networking Support”