5.1.6.3. Other interface options

The following miscellaneous options can be configured for a network interface.

Note

It is rarely required to use these options in common scenarios. Modify these settings only if you are completely aware of all the necessary details.

  • hwaddress: It sets the MAC address of the interface.

  • mtu: It sets the Maximum Transfer Unit (MTU) of the interface.

  • keep-configuration: This parameter prevents either the manually configured IPs and routes or the IPS and routes set by other processes (mostly keepalived) from being dropped at the restart of the Networking component. When this option is set to value static, the static addresses and routes on the actual interface are not dropped at the restart of the Networking component. Also, if this parameter is set, then after any change on these interfaces, the old values will not be removed at the restart of the Networking component, but new values will be added (for example, IP, subnet). Temporarily turning the keep-configuration parameter to no and restarting the node is not advised, because the networking restart will remove all settings added by other sources too. It is recommended to reboot the node after these values have been changed, or to configure these changes manually, and skip restart.