2 Network cards

General support questions
Post Reply
Rocketrrt
Posts: 51
Joined: 2016/09/15 16:51:31

2 Network cards

Post by Rocketrrt » 2020/05/28 21:01:06

Hi,

I am not sure if this hardware or software. I have a dell 710 server that has 1 4 port network card in it. I have added a 2nd 4 port network card to it.
The system is automatically assigning a DHCP address to the first port on card number 2. I don't want this to happen. On the server only the first port on card #1 should be assigned. That is manual address and not a DHCP. All other ports are for the VM's on the machine. I have 4 VM's running and they all use their network address. All are macvtap to the network port. I should be em1, em2, em3, em4 and p1p1. The server is also using p1p1 that is assigning a DHCP Address that I don't want. I want p1p1 to be like em2, em3, and em4. I have attached a copy of the ifconfig.

Thanks,

Ron

download/file.php?mode=view&id=3546
Attachments
ipconfig.txt
(5.49 KiB) Downloaded 9 times

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

Re: 2 Network cards

Post by TrevorH » 2020/05/28 21:51:12

So edit the config file in /etc/sysconfig/network-scripts and change ONBOOT="yes" to "no".
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
jlehtone
Posts: 3038
Joined: 2007/12/11 08:17:33
Location: Finland

Re: 2 Network cards

Post by jlehtone » 2020/05/29 06:27:47

Install package NetworkManager-config-server
What does it do? See https://access.redhat.com/solutions/894763

Then you can remove unwanted connections (nmcli con del $con-name).

Rocketrrt
Posts: 51
Joined: 2016/09/15 16:51:31

Re: 2 Network cards

Post by Rocketrrt » 2020/05/29 13:33:13

Hi Trevor,

That fixed it, thank you so much!!!

Ron

Post Reply

Return to “CentOS 7 - General Support”