Home > OS >  Consult the LINUX add multiple independent loopback interface methods
Consult the LINUX add multiple independent loopback interface methods

Time:11-20

Consult method of adding the loopback interface LINUX,
Background: Windows programs to Linux, including a program to read more than one loopback card do different forwarding message processing,
Requirements: in the Linux create six isolated loopback card, for example: nic lo1 contract (message) on the second floor, in other loopback card can't get the newspaper article, can only be lo1 get message

I searched the Internet, the spectrum of the method is to call the driver interface to create, but do not have what experience I Linux C programming, the kernel compile environment is fear (the head.. ),
Want to ask, there is no other simple way to achieve the above requirements, if not, you must call driver interface to realize, what advice, can simplify the process?

Be very grateful!
  • Related