This is our old Q&A Site. Please post any new questions and answers at

Can i change the order of interface number, by the way, the number is get by command "tshark -D"?

asked 15 Jun '11, 05:19

phoenix's gravatar image

accept rate: 0%

edited 15 Jun '11, 05:22

Why would you want to do that? the list is usually pretty short anyway...

(15 Jun '11, 06:32) Jasper ♦♦

No, you can't change the order of the interfaces; they're supplied in the order in which libpcap gets them from the OS (with interfaces that libpcap can identify as "loopback" interfaces sorted to the end) or in which WinPcap gets them from wherever it gets them.

The number printed by "tshark -D" (and "tcpdump -D" and...) is just the ordinal number of the interface in the list.

permanent link

answered 16 Jun '11, 11:42

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 15 Jun '11, 05:19

question was seen: 2,435 times

last updated: 16 Jun '11, 11:42

p​o​w​e​r​e​d by O​S​Q​A