XCP-ng NIC issue

Issues related to applications and software problems
Post Reply
regiuser123
Posts: 3
Joined: 2021/05/19 16:21:44

XCP-ng NIC issue

Post by regiuser123 » 2021/05/23 20:42:16

Hi, I have three servers inside a pool in XCP-ng
The structure looks like this:
-xen-hypervisors
-xen-hv1
-xen-hv2
-xen-hv3

Originally these machines had a daughter card which have 2 cat5e NICs and 2 SFP ports in. We switched them out for a daughter card with 4 NICs.
The plan is to have 2 sets of networks, LAN and COMPANY
The first two eth0 and eth1 is bonded to become LAN
The second two eth2 and eth3 is bonded to become COMPANY
Currently, only the LAN network (eth0 + eth1) is working but the COMPANY network (eth2 + eth3) is not working. It just says "Partially connected" and "Disconnected" for eth2 and eth3, respectively.
We think this is because the two new NICs (originally the 2 SFP ports), are clashing with the old MAC addresses of the 2 SFP ports.
I've tried removing the old MAC addresses using xe pif-forget uuid=<UUID>, but when doing a "Rescan" from XCP, all the old MAC addresses gets regenerated again in the menu.
Can anybody suggest how to maybe "refresh" the list of MAC addresses of NICs it knows about?

Code: Select all

LAN Bond 0 + 1 - b8:ca:3a:60:e4:d4
Network 2 NIC 2 - ec:f4:bb:e2:79:e4 
Network 3 NIC 3 - 24.6e.96.04.1d.15
I've tried editing /etc/sysconfig/network-scripts/interface-rename-data/static-rules.conf to hopefully override the old MAC addresses

Code: Select all

eth2: mac = "ec:f4:bb:e6:d3:de"
eth3: mac = "ec:f4:bb:e6:d3:df"

Now it's says "Disconnected" for both eth2 and eth3, and it fails to create a bond.
Link to the image: https://postimg.cc/gn4cZhQM
Any help would be great. Thanks

Post Reply