Index: dhclient-script =================================================================== --- dhclient-script +++ dhclient-script @@ -259,6 +259,14 @@ return 1 } +set_interface_mtu() { + if [ -n "$new_interface_mtu" ]; then + eval "$IFCONFIG $interface mtu $new_interface_mtu" + + $LOGGER "New MTU ($interface): $new_interface_mtu" + fi +} + # Must be used on exit. Invokes the local dhcp client exit hooks, if any. exit_with_hooks() { exit_status=$1 @@ -337,6 +345,7 @@ delete_old_routes fi fi + set_interface_mtu if [ "$reason" = BOUND ] || \ [ "$reason" = REBOOT ] || \ [ -z "$old_ip_address" ] || \