RHEL9 nmcli modify mtu not effective

Latest response

I used nmcli to create vlan interface successfully. I also want to set the mtu to non default. I used nmcli modify to set mtu on both parent interface and vlan interface. See attached nmconnection files.

But neither of them were changed.

12: ens3f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 88:e9:a4:89:14:68 brd ff:ff:ff:ff:ff:ff
    altname enp216s0f0np0
14: vlan77@ens3f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 88:e9:a4:89:14:68 brd ff:ff:ff:ff:ff:ff
    inet 77.1.1.3/24 brd 77.1.1.255 scope global noprefixroute vlan77
       valid_lft forever preferred_lft forever
    inet6 fe80::720f:7a74:7d6e:4136/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

I ended up using ip link set command to change them. Why is nm config not work? Thanks.

Attachments

Responses