ethtool command line options, so you can use similar recipes.
Observing current status
You can observe current Ethernet settings in theEthernetStatus resource:
Configuration
Use the EthernetConfig document to configure Ethernet settings. You can append the machine config document to the machine configuration (separating with---), or apply it as a machine configuration patch.
For example, to disable TCP segmentation on transmit:
-max suffix).
Enable Wake-on-LAN support
Starting with 1.12, Talos Linux now supports configuring Wake-on-LAN (WOL) directly in the Ethernet configuration. Use thewakeOnLan field under the EthernetConfig resource to enable WOL and specify the desired WOL modes.
This allows a node’s network interface to wake the system from a low-power state when receiving a magic packet or other WOL-triggering event.
Example:
Supported modes
Supported WOL modes depend on the NIC and driver, but common values include:"magic"— wake on magic packet (most common)"unicast"— wake on unicast packets"multicast"— wake on multicast packets"broadcast"— wake on broadcast packets"phy"— wake on PHY activity
Note: If no modes are specified and enabled: true, Talos defaults to using the “magic” mode when supported by the hardware.
WOL functionality requires that your hardware and BIOS/UEFI firmware support it and that it is not disabled there.
You can check WOL support and status with: