Yesani chojambula:
Mtundu wa System: Ubuntu16.04
Kuyika kwa Tcpreplay: apt-get install tcpreplay
(Mtundu uwu wa dzina la NIC sutchedwa eth0 ndi eth1, masinthidwe otsatirawa)
eth0 ikufanana ndi en33 NIC: IP: 172.20.60.166 MAC: ec:a8:6b:82:32:c1
eth1 ikufanana ndi en32 NIC: IP: 172.20.60.165 MAC: 00:13:3b:0f:6a:fb
Yesani sitepe yoyamba: Preprocess Cache, lamulo ndi:
tcpprep -a kasitomala -i rzxSJ.pcap -o rzx.cach
Lamuloli limagawanitsa fayilo ya PCAP kukhala kasitomala ndi seva, ndi kasitomala mwachisawawa. Akatumizidwa, paketiyo imatumizidwa kuchokera kwa kasitomala ndi seva.
Yesani 2: Lembaninso adilesi ya IP ndi adilesi ya MAC, lamulo ndi:
Tcprewrite - e 172.20.60.166:172.20.60.165 -- enet - 10-channel dmac = 00:13:3 b: 0 f: 6 a: fb, ec, a8:6 b: 82-32: c1 - enet - s = ec: a8:6 b: 82-32: c1, 00:13:3 b: 0 f: 6 a: fb - c RZX. Cach - ndi rzxSJ. Pcap - o 111. Pcap
Lamuloli limachotsa ma adilesi a IP ndi a MAC. Mungagwiritse ntchito chida monga wireshark kuti mutsegule 111.pcap ndikuwona ngati kusinthidwa kuli kopambana.
Yesani 3: Seweraninso paketi ndi lamulo ili:
tcpreplay -i ens33 -I en32 -l 100 -t -c rzx.cach 111.pcap
doko la en33 likufanana ndi eth0. doko la en32 likufanana ndi eth1
Zomwe zili pamwambazi ndi Shenzhen HDV Phoelectron Technology Ltd. imabweretsa makasitomala za "tcpreplay current test method", ndipo kampani yathu ndiyopanga mwapadera opanga opanga ma optical network, zomwe zikukhudzidwa ndiONUmndandanda (OLT ONU/ACONU/CATVONU/GPONONU/XPONONU), Optical module series (optical fiber module/Ethernet optical fiber module / SFP Optical module),OLTmndandanda (OLTzida /OLT kusintha/ mphaka wowonekaOLT), etc., pali specifications zosiyanasiyana za mankhwala kulankhulana kwa zosowa za zochitika zosiyanasiyana thandizo maukonde, kulandiridwa kufunsira.