Feature #123

Distinguish the virtual and physical network cards

Added by Benoit Machiavello about 3 years ago. Updated about 1 year ago.

Status:FeedbackStart date:05/26/2010
Priority:NormalDue date:
Assignee:Guillaume Rousse% Done:

0%

Category:linux
Target version:-
For junior contributor:No

Description

On a server, I have many virtual network connections, for VLANs, Interface Carp. We would have to differentiate.

With ifconfig, all physical network cards seem to have the line that begins with "media", virtual cards have not

History

#1 Updated by Gonéri Le Bouder about 3 years ago

maybe media is present when a link is plugged?

#2 Updated by Benoit Machiavello about 3 years ago

how do you plug a link on a virtual interface ?

#3 Updated by Gonéri Le Bouder about 3 years ago

I meant, maybe if you unplug the link from your physical interface, the "media" information will vanish

#4 Updated by Benoit Machiavello about 3 years ago

I can't test now, but i'm sure not.
When we unplug the link, we have something like "Media: no link"

#5 Updated by Guillaume Rousse over 1 year ago

  • Category set to linux
  • Status changed from New to Feedback
  • Assignee set to Guillaume Rousse
  • Target version set to 2.2.1
  • For junior contributor set to No

The VIRTUALDEV attribute should be set for those devices. It is currently computed from /sys/devices/virtual/net/ directory content, as well as 'brctl show' output.

Please test with current development release, or with 2.2.0 once released. If the problem still exists, please provide '/sbin/ip' output.

#6 Updated by Gonéri Le Bouder about 1 year ago

  • Target version deleted (2.2.1)

Also available in: Atom PDF