Cannot set manual link speed over auto negotiation

Bug #2020254 reported by Nobuto Murata
6
This bug affects 1 person
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.

Revision history for this message
Lukas Märdian (slyon) wrote :

related to bug #2016831

Changed in netplan:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Lukas Märdian (slyon) wrote :

Added as a feature request. Remember that you could make use of a systemd override file as a workaround for now, e.g. something like:

/etc/systemd/network/10-netplan-eth0.link.d/override.conf

see:
https://www.freedesktop.org/software/systemd/man/systemd.link.html#Description

Revision history for this message
Maxime Accadia (maxacc) wrote :

I have a similar issue for netplan support for Flow control configuration :

       RxFlowControl

       TxFlowControl

       AutoNegotiationFlowControl

in systemd.link(5)

Should netplan add a passthrough option like it does for NetworkManager ?

Should I create an other bug report ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.