(interface-set-mtu! interface mtu-size)
This procedure sets the MTU for the specified interface. Values netween 1000 and 10000 are accepted. Superuser (root) permissions are required. For injecting 802.1Q tagged packets increasing the standard MTU of 1500 by 4 bytes to 1504 is recommended, for additional IEEE 802.1ad “double tagging” 1508. If this procedure returns #f, (strerror (errno)) may be useful.
The MTU size is set.
#t on success, #f on failure.
> (define interface (interface-attach "en0"))
interface
> (interface-set-mtu! interface 1504)
#t
>