|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Artem Chuprina 2:5020/400 24 Jun 2002 22:29:57 To : "Igor Alimov" Subject : Re: Diald -------------------------------------------------------------------------------- Здравствуй, Igor Alimov. AC>> Современный еще ethertap умеет. Его и норовит. IA> А что это за зверь и где можно про него почитать ? x CONFIG_ETHERTAP: x x x x If you say Y here (and have said Y to "Kernel/User network link x x driver", above) and create a character special file /dev/tap0 with x x major number 36 and minor number 16 using mknod ("man mknod"), you x x will be able to have a user space program read and write raw x x Ethernet frames from/to that special file. tap0 can be configured x x with ifconfig and route like any other Ethernet device but it is not x x connected to any physical LAN; everything written by the user to x x /dev/tap0 is treated by the kernel as if it had come in from a LAN x x to the device tap0; everything the kernel wants to send out over the x x device tap0 can instead be read by the user from /dev/tap0: the user x x mode program replaces the LAN that would be attached to an ordinary x x Ethernet device. Please read the file x x Documentation/networking/ethertap.txt for more information. x x x x This driver is also available as a module ( = code which can be x x inserted in and removed from the running kernel whenever you want). x x The module will be called ethertap.o. If you want to compile it as a x x module, say M here and read Documentation/modules.txt. x x x x If you don't know what to use this for, you don't need it. x В 2.4.x считается устаревшим, а взамен работает x CONFIG_TUN: x x x x TUN/TAP provides packet reception and transmission for user space x x programs. It can be viewed as a simple Point-to-Point or Ethernet x x device, which instead of receiving packets from a physical media, x x receives them from user space program and instead of sending packets x x via physical media writes them to the user space program. x x x x When a program opens /dev/net/tun, driver creates and registers x x corresponding net device tunX or tapX. After a program closed above x x devices, driver will automatically delete tunXX or tapXX device and x x all routes corresponding to it. x x x x Please read Documentation/networking/tuntap.txt for more x x information. x x x x This driver is also available as a module ( = code which can be x x inserted in and removed from the running kernel whenever you want). x x The module will be called tun.o. If you want to compile it as a x x module, say M here and read Documentation/modules.txt. x x x x If you don't know what to use this for, you don't need it. x -- Artem Chuprina Communiware.net RFC2822: <ran@ran.pp.ru>, FIDO: 2:5020/358.49, ICQ: 13038757 --- ifmail v.2.15dev5 * Origin: Leninsky 45 home network (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/14454ab032e35.html, оценка из 5, голосов 10
|