Hi,

  I want to control the interface index assigned  to   network
interfaces when they are created  in Linux Operating System.
I am using TUN/TAP driver to create virtual network interfaces in
linux from user application. Normally by default Linux by itself
assigns the interface index to the inetrfaces. I can get the inetrface
information by reading the file /proc/net/igmp   or ioctl command.
    My requirement is that i need to assign some fixed interfaces
index to these interfaces
  created in linux. For example:
      Interface name              Interface Index
      =============================
      interface-0
  10
      interface-1                      11
     etc.

  Using ioctl i am not finding information how to change the
interface index. Please let me know  how can i assign the fixed
interface index to network interfaces created in linux OR is there any
way to control interface index assignment to network interfaces in
Linux.


Regards,
Anil
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to