I have 2 issues:
- Issue 1.
If I do not specify a Mac Address manually it will always default to one assigned by the OS. Same mac address is assigned by the OS across all my test servers (3 numbers) and it is creating network issues where I can see connection drop and some cases system is not available at all.
How can I enforce bond1 to use the mac address of eno1 without manually assigning it under [Link] section?
Configuration for reference
- Code: Select all
root@deb-test-1:/usr# cat /etc/systemd/network/bond1.netdev
[NetDev]
Name=bond1
Description=Bonding
Kind=bond
[Bond]
Mode=active-backup
PrimaryReselectPolicy=always
MIIMonitorSec=1s
- Code: Select all
root@deb-test-1:/usr# cat /etc/systemd/network/bond1.network
[Match]
Name=bond1
[Network]
Address=192.168.1.12
Gateway=192.168.1.1
#[Link]
#MACAddressPolicy=persistent
#MACAddress=12:34:56:78:1a:1a
#MACAddress=12:34:56:78:1a:1b
#MACAddress=12:34:56:78:1a:1c
#NamePolicy=mac
- Code: Select all
root@deb-test-1:/usr# cat /etc/systemd/network/eno1-slave.network
[Match]
Name=eno1
[Network]
Bond=bond1
ActiveSlave=true
PrimarySlave=true
- Code: Select all
root@deb-test-1:/usr# cat /etc/systemd/network/eno2-slave.network
[Match]
Name=eno2
[Network]
Bond=bond1
- Issue 2.
Settings for bond1:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: Other
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: yes
Do I need to enable Auto-Negotiation in bond1 also, if so how to do it, please help.