How can I see which VLAN a virtual network interface is assigned to

Martin

After I created a new virtual interface like this:

ip link add link eth0 name eth0.100 type vlan id 100

How can I afterwards verify that a virtual interface is configured for that VLAN? Neither

ip link show eth0.100

nor

ip a s

seems to show any VLAN information.

Martin

found the following solution:

cat /proc/net/vlan/eth0.2011 
eth0.2011 VID: 2011 REORDER_HDR: 1 dev->priv_flags: 1 total frames received 1129 total bytes received 55318 Broadcast/Multicast Rcvd 0

total frames transmitted            8
total bytes transmitted          648

Device: eth0 INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 
EGRESS priority mappings: 

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I tell which network interface my computer is using?

From Dev

How many IP address can be assigned to one network interface

From Dev

How can I tell whether a network interface is physical (device) or virtual (alias)?

From Dev

Can I assign a virtual interface of wireless to a network namespace?

From Dev

Is there a way to see the virtual keyboard presented and how can I close it with AndroidViewClient?

From Dev

How can I set a default profile for a network interface in network manager?

From Dev

How can I set a default profile for a network interface in network manager?

From Dev

Why is some virtual network interface assigned private IP address, while some is assigned loopback IP address?

From Dev

Network Interface VLAN static addressing

From Dev

In which vlan am I in?

From Dev

How can I get Dash lenses to see files in network shares?

From Dev

How can I do to my PC see its network adapter?

From Dev

How can I override this method in this interface (see code)?

From Dev

Android Studio: How can I see which resources are not used?

From Dev

How can I see which methods are called in a .NET assembly programmatically?

From Dev

How can I see which Delphi version a .dcu was compiled with?

From Dev

How can I use Git to see in which commits a file was renamed?

From Dev

How can I see which package manager is running?

From Dev

How can I see which devices are synced with my Firefox?

From Dev

How can I see which user is working on what task in Fogbugz?

From Dev

How can I see which tables are changed in SQL Server?

From Dev

In R, how can I see the signatures for which a generic method is implemented?

From Dev

How can I see which encoding is used in a file

From Dev

How can I see at which index my iterator is?

From Dev

How can I see which is my boot partition?

From Dev

How can I see which DLLs included in Windows contain icons?

From Dev

How to see network traffic per interface in FreeBSD?

From Dev

How can I create a virtual wireless network adapter for testing?

From Dev

How to add virtual IP to network interface in CentOS?

Related Related

  1. 1

    How can I tell which network interface my computer is using?

  2. 2

    How many IP address can be assigned to one network interface

  3. 3

    How can I tell whether a network interface is physical (device) or virtual (alias)?

  4. 4

    Can I assign a virtual interface of wireless to a network namespace?

  5. 5

    Is there a way to see the virtual keyboard presented and how can I close it with AndroidViewClient?

  6. 6

    How can I set a default profile for a network interface in network manager?

  7. 7

    How can I set a default profile for a network interface in network manager?

  8. 8

    Why is some virtual network interface assigned private IP address, while some is assigned loopback IP address?

  9. 9

    Network Interface VLAN static addressing

  10. 10

    In which vlan am I in?

  11. 11

    How can I get Dash lenses to see files in network shares?

  12. 12

    How can I do to my PC see its network adapter?

  13. 13

    How can I override this method in this interface (see code)?

  14. 14

    Android Studio: How can I see which resources are not used?

  15. 15

    How can I see which methods are called in a .NET assembly programmatically?

  16. 16

    How can I see which Delphi version a .dcu was compiled with?

  17. 17

    How can I use Git to see in which commits a file was renamed?

  18. 18

    How can I see which package manager is running?

  19. 19

    How can I see which devices are synced with my Firefox?

  20. 20

    How can I see which user is working on what task in Fogbugz?

  21. 21

    How can I see which tables are changed in SQL Server?

  22. 22

    In R, how can I see the signatures for which a generic method is implemented?

  23. 23

    How can I see which encoding is used in a file

  24. 24

    How can I see at which index my iterator is?

  25. 25

    How can I see which is my boot partition?

  26. 26

    How can I see which DLLs included in Windows contain icons?

  27. 27

    How to see network traffic per interface in FreeBSD?

  28. 28

    How can I create a virtual wireless network adapter for testing?

  29. 29

    How to add virtual IP to network interface in CentOS?

HotTag

Archive