Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VLAN interfaces information aren't complete #94

Open
christophefontaine opened this issue Nov 27, 2024 · 0 comments
Open

VLAN interfaces information aren't complete #94

christophefontaine opened this issue Nov 27, 2024 · 0 comments

Comments

@christophefontaine
Copy link
Contributor

christophefontaine commented Nov 27, 2024

Vlan interface should have a mtu inferred from the parent interface.
As of now, the MTU is set to '0':

grout# show interface name dpdk-p1
name: dpdk-p1
id: 2
flags: up running
vrf: 0
mtu: 1500
type: port
devargs: 0000:08:00.0
driver:  net_ixgbe
mac: 90:e2:ba:14:2f:8c
n_rxq: 1
n_txq: 2
rxq_size: 4096
txq_size: 4096

grout# show interface name vlan210
name: vlan210
id: 3
flags: up
vrf: 0
mtu: 0
type: vlan
parent: dpdk-p1
vlan_id: 210

Also, the vlan interface flag isn't set as "running" similar to its parent interface:

grout# show interface all
NAME     ID  FLAGS       VRF  TYPE  INFO
dpdk-p0  1   up running  0    port  devargs=0000:05:00.0 mac=3c:fd:fe:a0:a4:c4
dpdk-p1  2   up running  0    port  devargs=0000:08:00.0 mac=90:e2:ba:14:2f:8c
vlan210  3   up          0    vlan  parent=dpdk-p1 vlan_id=210
vlan211  4   up          0    vlan  parent=dpdk-p0 vlan_id=211
@christophefontaine christophefontaine changed the title MTU of a vlan interface is set to 0 VLAN interfaces information aren't complete Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant