NIC Related Clarification

General support questions
Post Reply
sysarun86
Posts: 10
Joined: 2022/04/06 08:33:13

NIC Related Clarification

Post by sysarun86 » 2024/05/07 05:39:46

Two interface em1 and em2 has been configured in NIC Bonding,
em1&em2 having 10G support and both interface BOOTPROTO=None but em1 interface after some time it is accepting DHCP ip and it is not in the Bonding

EM1 Settings

HWADDR=D0:94:66:32:FC:AD
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=em1
UUID=1b86b872-64e9-467e-8e31-3f315568ffd8
ONBOOT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
MASTER=bond0
SLAVE=yes

EM2 Settings :

HWADDR=D0:94:66:32:FC:AF
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=em2
UUID=9b6b4900-bf3e-369d-8756-205641824fc1
ONBOOT=yes
AUTOCONNECT_PRIORITY=-999
MASTER=bond0
SLAVE=yes

Bond 0 Settings:

DEVICE=bond0
TYPE=Bond
NAME=bond0
BONDING_MASTER=yes
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.0.48
NETMASK=255.255.252.0
GATEWAY=192.168.0.28
BONDING_OPTS="mode=5 miimon=100"

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

Re: NIC Related Clarification

Post by jlehtone » 2024/05/07 14:24:58

I have not looked at network config files in a long time; I do look and modify config with 'nmcli'.

Code: Select all

nmcli
nmcli d s
nmcli c s
man nmcli-examples does have an example for bond too. Naturally, bond mode, options,
and ipv4 do differ from that example. In other words, I'd start by removing existing connections,
add "fresh" similar to the example, and the fine-tune as necessary.

User avatar
TrevorH
Site Admin
Posts: 33243
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: NIC Related Clarification

Post by TrevorH » 2024/05/07 15:08:17

Check you don't have duplicate files pertaining to the same adapter in /etc/sysconfig/network-scripts
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply