node5.html 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!--Converted with LaTeX2HTML 2002-2-1 (1.70)
  3. original version by: Nikos Drakos, CBLU, University of Leeds
  4. * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
  5. * with significant contributions from:
  6. Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
  7. <HTML>
  8. <HEAD>
  9. <TITLE>4 Common Error and Warning Messages</TITLE>
  10. <META NAME="description" CONTENT="4 Common Error and Warning Messages">
  11. <META NAME="keywords" CONTENT="FAQ">
  12. <META NAME="resource-type" CONTENT="document">
  13. <META NAME="distribution" CONTENT="global">
  14. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
  15. <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
  16. <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
  17. <LINK REL="STYLESHEET" HREF="FAQ.css">
  18. <LINK REL="next" HREF="node6.html">
  19. <LINK REL="previous" HREF="node4.html">
  20. <LINK REL="up" HREF="FAQ.html">
  21. <LINK REL="next" HREF="node6.html">
  22. </HEAD>
  23. <BODY >
  24. <DIV CLASS="navigation"><!--Navigation Panel-->
  25. <A NAME="tex2html192"
  26. HREF="node6.html">
  27. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
  28. <A NAME="tex2html188"
  29. HREF="FAQ.html">
  30. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
  31. <A NAME="tex2html182"
  32. HREF="node4.html">
  33. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
  34. <A NAME="tex2html190"
  35. HREF="node1.html">
  36. <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
  37. <BR>
  38. <B> Next:</B> <A NAME="tex2html193"
  39. HREF="node6.html">5 Common Questions from</A>
  40. <B> Up:</B> <A NAME="tex2html189"
  41. HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
  42. <B> Previous:</B> <A NAME="tex2html183"
  43. HREF="node4.html">3 Understanding tcpprep</A>
  44. &nbsp; <B> <A NAME="tex2html191"
  45. HREF="node1.html">Contents</A></B>
  46. <BR>
  47. <BR></DIV>
  48. <!--End of Navigation Panel-->
  49. <!--Table of Child-Links-->
  50. <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
  51. <UL CLASS="ChildLinks">
  52. <LI><A NAME="tex2html194"
  53. HREF="node5.html#SECTION00051000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">1</SPAN> Can't open eth0: libnet_select_device(): Can't find interface eth0</A>
  54. <LI><A NAME="tex2html195"
  55. HREF="node5.html#SECTION00052000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">2</SPAN> Can't open lo: libnet_select_device(): Can't find interface lo</A>
  56. <LI><A NAME="tex2html196"
  57. HREF="node5.html#SECTION00053000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">3</SPAN> Can't open eth0: UID != 0</A>
  58. <LI><A NAME="tex2html197"
  59. HREF="node5.html#SECTION00054000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">4</SPAN> 100000 write attempts failed from full buffers and were repeated</A>
  60. <LI><A NAME="tex2html198"
  61. HREF="node5.html#SECTION00055000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">5</SPAN> Invalid mac address: 00:00:00:00:00:00</A>
  62. <LI><A NAME="tex2html199"
  63. HREF="node5.html#SECTION00056000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">6</SPAN> Unable to process test.cache: cache file version missmatch</A>
  64. <LI><A NAME="tex2html200"
  65. HREF="node5.html#SECTION00057000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">7</SPAN> Skipping SLL loopback packet.</A>
  66. <LI><A NAME="tex2html201"
  67. HREF="node5.html#SECTION00058000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">8</SPAN> Packet length (8892) is greater then MTU; skipping packet.</A>
  68. </UL>
  69. <!--End of Table of Child-Links-->
  70. <HR>
  71. <H1><A NAME="SECTION00050000000000000000">
  72. <SPAN CLASS="arabic">4</SPAN> Common Error and Warning Messages</A>
  73. </H1>
  74. <P>
  75. <H2><A NAME="SECTION00051000000000000000">
  76. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">1</SPAN> Can't open eth0: libnet_select_device(): Can't find interface eth0</A>
  77. </H2>
  78. <P>
  79. Generally this occurs when the interface (eth0 in this example) is
  80. not up or doesn't have an IP address assigned to it.
  81. <P>
  82. <H2><A NAME="SECTION00052000000000000000">
  83. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">2</SPAN> Can't open lo: libnet_select_device(): Can't find interface lo</A>
  84. </H2>
  85. <P>
  86. Version 1.1.0 of Libnet is unable to send traffic on the loopback
  87. device. Upgrade to a later release of the Libnet library to solve
  88. this problem.
  89. <P>
  90. <H2><A NAME="SECTION00053000000000000000">
  91. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">3</SPAN> Can't open eth0: UID != 0</A>
  92. </H2>
  93. <P>
  94. Tcpreplay requires that you run it as root.
  95. <P>
  96. <H2><A NAME="SECTION00054000000000000000">
  97. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">4</SPAN> 100000 write attempts failed from full buffers and were repeated</A>
  98. </H2>
  99. <P>
  100. When tcpreplay displays a message like &#34;100000 write attempts
  101. failed from full buffers and were repeated&#34;, this usually
  102. means the kernel buffers were full and it had to wait until memory
  103. was available. This is quite common when replaying files as fast as
  104. possible with the &#34;-R&#34; option. See the tuning OS
  105. section in this document for suggestions on solving this problem.
  106. <P>
  107. <H2><A NAME="SECTION00055000000000000000">
  108. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">5</SPAN> Invalid mac address: 00:00:00:00:00:00</A>
  109. </H2>
  110. <P>
  111. Currently tcpreplay reserves the MAC address of 00:00:00:00:00:00
  112. as reserved for internal use. Hence you can't rewrite the MAC address
  113. of packets to be all zeros. While we intend to fix this someday it's
  114. not currently high on our priority list, so let us know if we should
  115. re-prioritize things.
  116. <P>
  117. <H2><A NAME="SECTION00056000000000000000">
  118. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">6</SPAN> Unable to process test.cache: cache file version missmatch</A>
  119. </H2>
  120. <P>
  121. Cache files generated by tcpprep and read by tcpreplay are versioned
  122. to allow enhancements to the cache file format. Anytime the cache
  123. file format changes, the version is incremented. Since this occurs
  124. on a very rare basis, this is generally not an issue; however anytime
  125. there is a change, it breaks compatibility with previously created
  126. cache files. The solution for this problem is to use the same version
  127. of tcpreplay and tcpprep to read/write the cache files. Cache file
  128. versions match the following versions of tcpprep/tcpreplay:
  129. <P>
  130. <UL>
  131. <LI>Version 1:
  132. <BR>
  133. Prior to 1.3.beta1
  134. </LI>
  135. <LI>Version 2:
  136. <BR>
  137. 1.3.beta2 to 1.3.1/1.4.beta1
  138. </LI>
  139. <LI>Version 3:
  140. <BR>
  141. 1.3.2/1.4.beta2 to 2.0.3
  142. </LI>
  143. <LI>Version 4:
  144. <BR>
  145. 2.1.0 and above. Note that prior to version 2.3.0, tcpprep had a bug
  146. which broke cache file compatibility between big and little endian
  147. systems.
  148. </LI>
  149. </UL>
  150. <P>
  151. <H2><A NAME="SECTION00057000000000000000">
  152. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">7</SPAN> Skipping SLL loopback packet.</A>
  153. </H2>
  154. <P>
  155. Your capture file was created on Linux with the 'any' parameter which
  156. then captured a packet on the loopback interface. However, tcpreplay
  157. doesn't have enough information to actual send the packet, so it skips
  158. it. Specifying a destination and source MAC address (-D and -S) will
  159. allow tcpreplay to send these packets.
  160. <P>
  161. <H2><A NAME="SECTION00058000000000000000">
  162. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">8</SPAN> Packet length (8892) is greater then MTU; skipping packet.</A>
  163. </H2>
  164. <P>
  165. The packet length (in this case 8892 bytes) is greater then the maximum
  166. transmition unit (MTU) on the outgoing interface. Tcpreplay must skip
  167. the packet. Alternatively, you can specify the -T option and tcpreplay
  168. will truncate the packet to the MTU size, fix the checksums and send
  169. it.
  170. <P>
  171. <DIV CLASS="navigation"><HR>
  172. <!--Navigation Panel-->
  173. <A NAME="tex2html192"
  174. HREF="node6.html">
  175. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
  176. <A NAME="tex2html188"
  177. HREF="FAQ.html">
  178. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
  179. <A NAME="tex2html182"
  180. HREF="node4.html">
  181. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
  182. <A NAME="tex2html190"
  183. HREF="node1.html">
  184. <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
  185. <BR>
  186. <B> Next:</B> <A NAME="tex2html193"
  187. HREF="node6.html">5 Common Questions from</A>
  188. <B> Up:</B> <A NAME="tex2html189"
  189. HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
  190. <B> Previous:</B> <A NAME="tex2html183"
  191. HREF="node4.html">3 Understanding tcpprep</A>
  192. &nbsp; <B> <A NAME="tex2html191"
  193. HREF="node1.html">Contents</A></B> </DIV>
  194. <!--End of Navigation Panel-->
  195. <ADDRESS>
  196. Aaron Turner
  197. 2005-08-07
  198. </ADDRESS>
  199. </BODY>
  200. </HTML>