Cannot set manual link speed over auto negotiation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
There are some occasions when we'd like to set a link speed explicitly including a troubleshooting phase.
systemd-networkd supports that operation in the [Link] section like the MTUBytes value. It would be nice if netplan allows to pass those parameters to networkd.
[systemd.link(5)]
> BitsPerSecond=
> The speed to set for the device, the value is rounded down to the
> nearest Mbps. The usual suffixes K, M, G are supported and are
> understood to the base of 1000.
>
> Duplex=
> The duplex mode to set for the device. The accepted values are half
> and full.
>
> AutoNegotiation=
> Takes a boolean. If set to yes, automatic negotiation of
> transmission parameters is enabled. Autonegotiation is a procedure
> by which two connected ethernet devices choose common transmission
> parameters, such as speed, duplex mode, and flow control. When
> unset, the kernel's default will be used.
>
> Note that if autonegotiation is enabled, speed and duplex settings
> are read-only. If autonegotiation is disabled, speed and duplex
> settings are writable if the driver supports multiple link modes.
related to bug #2016831