Lekola setšoantšo sa moralo:
Mofuta oa sistimi: Ubuntu16.04
Ho kenya Tcpreplay: apt-get install tcpreplay
(Phetolelo ena ea lebitso la NIC ha e bitsoe eth0 le eth1, liphetoho tse latelang tsa tlhophiso)
eth0 e lumellana le en33 NIC: IP: 172.20.60.166 MAC: ec:a8:6b:82:32:c1
eth1 e lumellana le en32 NIC: IP: 172.20.60.165 MAC: 00:13:3b:0f:6a:fb
Lekola mohato oa pele: Etsa Cache esale pele, taelo ke:
tcpprep -a client -i rzxSJ.pcap -o rzx.cach
Taelo ena e arola faele ea PCAP ho moreki le seva, ka moreki ka boiketsetso. Ha e romelloa, pakete e romelloa ho tsoa ho moreki le seva.
Mohato oa 2 oa teko: Ngola hape aterese ea IP le aterese ea MAC, taelo ke:
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 -i rzxSJ. Pcap - o 111. Pcap
Taelo ena e hlakola liaterese tsa IP le MAC. U ka sebelisa sesebelisoa se kang wireshark ho bula 111.pcap le ho hlahloba hore na phetoho e atlehile.
Mohato oa 3: Bapala pakete hape ka taelo e latelang:
tcpreplay -i en33 -I en32 -l 100 -t -c rzx.cach 111.pcap
koung ea en33 e lumellana le eth0. koung ea en32 e lumellana le eth1
E kaholimo ke Shenzhen HDV Phoelectron Technology Ltd. tlisa bareki mabapi le sengoloa sa selelekela sa "tcpreplay current test method", mme k'hamphani ea rona ke tlhahiso e ikhethileng ea baetsi ba marang-rang a optical, lihlahisoa tse amehang keONUletoto (OLT ONU/ACONU/CATVONU/GPONONU/XPONONU), letoto la li-Optical module (optical fiber module/Ethernet optical fiber module / SFP optical module),OLTletoto (OLTthepa /OLT switjha/katse ya mahloOLT), joalo-joalo, ho na le litlhaloso tse sa tšoaneng tsa lihlahisoa tsa puisano bakeng sa litlhoko tsa maemo a fapaneng bakeng sa tšehetso ea marang-rang, amohelehile ho buisana.