SDN - incorrect MTU

kocifi

Member
Jun 14, 2022
9
0
6
Hello, I'm testing SDN and I'm stuck on incorrect MTU

Zone VLAN:
ID - Bridge - MTU
Cluster1 - vmbr1 - 9000

vmbr1 is based on bond0 (enp3s0f0 enp3s0f1) - everything under vmbr1 have MTU 9000 (and it's working correctly)

Vnets:
Name - Alias - Zone - Tag
vnet10 - Sync GWs - Cluster1 - 10

/etc/network/interfaces.d/sdn:
Code:
auto ln_vnet10
iface ln_vnet10
        link-type veth
        veth-peer-name pr_vnet10

auto pr_vnet10
iface pr_vnet10
        link-type veth
        veth-peer-name ln_vnet10

auto vmbr1v10
iface vmbr1v10
        bridge_ports  bond0.10 pr_vnet10
        bridge_stp off
        bridge_fd 0

auto vnet10
iface vnet10
        bridge_ports ln_vnet10
        bridge_stp off
        bridge_fd 0
        mtu 9000
        alias Sync GWs

ip a:
Code:
14: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000
    link/ether b4:b5:2f:a4:26:d0 brd ff:ff:ff:ff:ff:ff
    inet 172.16.0.10/24 scope global vmbr1
       valid_lft forever preferred_lft forever
    inet6 fe80::b6b5:2fff:fea4:26d0/64 scope link
       valid_lft forever preferred_lft forever
94: vnet10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000
    link/ether 82:94:f5:12:b3:92 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::8094:f5ff:fe12:b392/64 scope link
       valid_lft forever preferred_lft forever
113: ln_vnet10@pr_vnet10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vnet10 state UP group default qlen 1000
    link/ether 82:94:f5:12:b3:92 brd ff:ff:ff:ff:ff:ff
114: pr_vnet10@ln_vnet10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr1v10 state UP group default qlen 1000
    link/ether 92:bc:a4:fb:bf:f3 brd ff:ff:ff:ff:ff:ff
115: bond0.10@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue master vmbr1v10 state UP group default qlen 1000
    link/ether b4:b5:2f:a4:26:d0 brd ff:ff:ff:ff:ff:ff
116: vmbr1v10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether b4:b5:2f:a4:26:d0 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::b6b5:2fff:fea4:26d0/64 scope link
       valid_lft forever preferred_lft forever

ping -M do -s 8972 172.16.0.2 (to test mtu 9000 on vmbr1)
Code:
PING 172.16.0.2 (172.16.0.2) 8972(9000) bytes of data.
8980 bytes from 172.16.0.2: icmp_seq=1 ttl=64 time=0.435 ms
8980 bytes from 172.16.0.2: icmp_seq=2 ttl=64 time=0.302 ms
8980 bytes from 172.16.0.2: icmp_seq=3 ttl=64 time=0.297 ms
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!