Project

General

Profile

Actions

Bug #15695

open

dladm does not set MTU for a vnic over an etherstub

Added by James MacMahon 11 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:
External Bug:

Description

Given an etherstub:

james@dinnerbone:~$ dladm
LINK        CLASS     MTU    STATE    BRIDGE     OVER
underlay_stub0 etherstub 9000 up      --         --

Attempting to create a vnic using that etherstub as the vnic's link and specifying mtu 1500 does not work:

james@dinnerbone:~$ pfexec dladm create-vnic -t -l underlay_stub0 -p mtu=1500 underlay1

james@dinnerbone:~$ dladm
LINK        CLASS     MTU    STATE    BRIDGE     OVER
underlay_stub0 etherstub 9000 up      --         --
underlay1   vnic      9000   up       --         underlay_stub0

It does work to later use `set-linkprop`:

james@dinnerbone:~$ pfexec dladm set-linkprop -p mtu=1500 underlay1

james@dinnerbone:~$ dladm show-linkprop -p mtu underlay1
LINK         PROPERTY        PERM VALUE          DEFAULT        POSSIBLE
underlay1    mtu             rw   1500           9000           576-9000

No data to display

Actions

Also available in: Atom PDF