Kconfig.net 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. menu "UML Network Devices"
  2. depends on NET
  3. # UML virtual driver
  4. config UML_NET
  5. bool "Virtual network device"
  6. help
  7. While the User-Mode port cannot directly talk to any physical
  8. hardware devices, this choice and the following transport options
  9. provide one or more virtual network devices through which the UML
  10. kernels can talk to each other, the host, and with the host's help,
  11. machines on the outside world.
  12. For more information, including explanations of the networking and
  13. sample configurations, see
  14. <http://user-mode-linux.sourceforge.net/old/networking.html>.
  15. If you'd like to be able to enable networking in the User-Mode
  16. linux environment, say Y; otherwise say N. Note that you must
  17. enable at least one of the following transport options to actually
  18. make use of UML networking.
  19. config UML_NET_ETHERTAP
  20. bool "Ethertap transport"
  21. depends on UML_NET
  22. help
  23. The Ethertap User-Mode Linux network transport allows a single
  24. running UML to exchange packets with its host over one of the
  25. host's Ethertap devices, such as /dev/tap0. Additional running
  26. UMLs can use additional Ethertap devices, one per running UML.
  27. While the UML believes it's on a (multi-device, broadcast) virtual
  28. Ethernet network, it's in fact communicating over a point-to-point
  29. link with the host.
  30. To use this, your host kernel must have support for Ethertap
  31. devices. Also, if your host kernel is 2.4.x, it must have
  32. CONFIG_NETLINK_DEV configured as Y or M.
  33. For more information, see
  34. <http://user-mode-linux.sourceforge.net/old/networking.html> That site
  35. has examples of the UML command line to use to enable Ethertap
  36. networking.
  37. If you'd like to set up an IP network with the host and/or the
  38. outside world, say Y to this, the Daemon Transport and/or the
  39. Slip Transport. You'll need at least one of them, but may choose
  40. more than one without conflict. If you don't need UML networking,
  41. say N.
  42. config UML_NET_TUNTAP
  43. bool "TUN/TAP transport"
  44. depends on UML_NET
  45. help
  46. The UML TUN/TAP network transport allows a UML instance to exchange
  47. packets with the host over a TUN/TAP device. This option will only
  48. work with a 2.4 host, unless you've applied the TUN/TAP patch to
  49. your 2.2 host kernel.
  50. To use this transport, your host kernel must have support for TUN/TAP
  51. devices, either built-in or as a module.
  52. config UML_NET_SLIP
  53. bool "SLIP transport"
  54. depends on UML_NET
  55. help
  56. The slip User-Mode Linux network transport allows a running UML to
  57. network with its host over a point-to-point link. Unlike Ethertap,
  58. which can carry any Ethernet frame (and hence even non-IP packets),
  59. the slip transport can only carry IP packets.
  60. To use this, your host must support slip devices.
  61. For more information, see
  62. <http://user-mode-linux.sourceforge.net/old/networking.html>.
  63. has examples of the UML command line to use to enable slip
  64. networking, and details of a few quirks with it.
  65. The Ethertap Transport is preferred over slip because of its
  66. limitations. If you prefer slip, however, say Y here. Otherwise
  67. choose the Multicast transport (to network multiple UMLs on
  68. multiple hosts), Ethertap (to network with the host and the
  69. outside world), and/or the Daemon transport (to network multiple
  70. UMLs on a single host). You may choose more than one without
  71. conflict. If you don't need UML networking, say N.
  72. config UML_NET_DAEMON
  73. bool "Daemon transport"
  74. depends on UML_NET
  75. help
  76. This User-Mode Linux network transport allows one or more running
  77. UMLs on a single host to communicate with each other, but not to
  78. the host.
  79. To use this form of networking, you'll need to run the UML
  80. networking daemon on the host.
  81. For more information, see
  82. <http://user-mode-linux.sourceforge.net/old/networking.html> That site
  83. has examples of the UML command line to use to enable Daemon
  84. networking.
  85. If you'd like to set up a network with other UMLs on a single host,
  86. say Y. If you need a network between UMLs on multiple physical
  87. hosts, choose the Multicast Transport. To set up a network with
  88. the host and/or other IP machines, say Y to the Ethertap or Slip
  89. transports. You'll need at least one of them, but may choose
  90. more than one without conflict. If you don't need UML networking,
  91. say N.
  92. config UML_NET_VDE
  93. bool "VDE transport"
  94. depends on UML_NET
  95. help
  96. This User-Mode Linux network transport allows one or more running
  97. UMLs on a single host to communicate with each other and also
  98. with the rest of the world using Virtual Distributed Ethernet,
  99. an improved fork of uml_switch.
  100. You must have libvdeplug installed in order to build the vde
  101. transport into UML.
  102. To use this form of networking, you will need to run vde_switch
  103. on the host.
  104. For more information, see <http://wiki.virtualsquare.org/>
  105. That site has a good overview of what VDE is and also examples
  106. of the UML command line to use to enable VDE networking.
  107. If you need UML networking with VDE,
  108. say Y.
  109. config UML_NET_MCAST
  110. bool "Multicast transport"
  111. depends on UML_NET
  112. help
  113. This Multicast User-Mode Linux network transport allows multiple
  114. UMLs (even ones running on different host machines!) to talk to
  115. each other over a virtual ethernet network. However, it requires
  116. at least one UML with one of the other transports to act as a
  117. bridge if any of them need to be able to talk to their hosts or any
  118. other IP machines.
  119. To use this, your host kernel(s) must support IP Multicasting.
  120. For more information, see
  121. <http://user-mode-linux.sourceforge.net/old/networking.html> That site
  122. has examples of the UML command line to use to enable Multicast
  123. networking, and notes about the security of this approach.
  124. If you need UMLs on multiple physical hosts to communicate as if
  125. they shared an Ethernet network, say Y. If you need to communicate
  126. with other IP machines, make sure you select one of the other
  127. transports (possibly in addition to Multicast; they're not
  128. exclusive). If you don't need to network UMLs say N to each of
  129. the transports.
  130. config UML_NET_PCAP
  131. bool "pcap transport"
  132. depends on UML_NET
  133. help
  134. The pcap transport makes a pcap packet stream on the host look
  135. like an ethernet device inside UML. This is useful for making
  136. UML act as a network monitor for the host. You must have libcap
  137. installed in order to build the pcap transport into UML.
  138. For more information, see
  139. <http://user-mode-linux.sourceforge.net/old/networking.html> That site
  140. has examples of the UML command line to use to enable this option.
  141. If you intend to use UML as a network monitor for the host, say
  142. Y here. Otherwise, say N.
  143. config UML_NET_SLIRP
  144. bool "SLiRP transport"
  145. depends on UML_NET
  146. help
  147. The SLiRP User-Mode Linux network transport allows a running UML
  148. to network by invoking a program that can handle SLIP encapsulated
  149. packets. This is commonly (but not limited to) the application
  150. known as SLiRP, a program that can re-socket IP packets back onto
  151. the host on which it is run. Only IP packets are supported,
  152. unlike other network transports that can handle all Ethernet
  153. frames. In general, slirp allows the UML the same IP connectivity
  154. to the outside world that the host user is permitted, and unlike
  155. other transports, SLiRP works without the need of root level
  156. privleges, setuid binaries, or SLIP devices on the host. This
  157. also means not every type of connection is possible, but most
  158. situations can be accommodated with carefully crafted slirp
  159. commands that can be passed along as part of the network device's
  160. setup string. The effect of this transport on the UML is similar
  161. that of a host behind a firewall that masquerades all network
  162. connections passing through it (but is less secure).
  163. To use this you should first have slirp compiled somewhere
  164. accessible on the host, and have read its documentation. If you
  165. don't need UML networking, say N.
  166. Startup example: "eth0=slirp,FE:FD:01:02:03:04,/usr/local/bin/slirp"
  167. endmenu