Igishushanyo mbonera cyibizamini:
Sisitemu ya sisitemu: Ubuntu16.04
Kwiyubaka kwa Tcpreplay: apt-kubona kwishyiriraho tcpreplay
(Iyi verisiyo yizina rya NIC ntabwo yitwa eth0 na eth1, iboneza rikurikira)
eth0 ihuye na ens33 NIC: IP: 172.20.60.166 MAC: ec: a8: 6b: 82: 32: c1
eth1 ihuye na ens32 NIC: IP: 172.20.60.165 MAC: 00: 13: 3b: 0f: 6a: fb
Gerageza intambwe yambere: Tegura Cache, itegeko ni:
tcpprep -a umukiriya -i rzxSJ.pcap -o rzx.cach
Iri tegeko rigabanya dosiye ya PCAP mubakiriya na seriveri, hamwe nabakiriya kubisanzwe. Iyo yoherejwe, paki yoherejwe kuva kubakiriya na seriveri.
Intambwe yikizamini 2: Andika aderesi ya IP na aderesi ya MAC, itegeko ni:
Tcprewrite - e 172.20.60.166:172.20.60.165 - enet - imiyoboro 10-dmac = 00: 13: 3 b: 0 f: 6 a: fb, ec, a8: 6 b: 82-32: c1 - enet - smac = ec: a8: 6 b: 82-32: c1, 00: 13: 3 b: 0 f: 6 a: fb - c RZX. Cach -i rzxSJ. Igicapo - o 111. Urupapuro
Iri tegeko ryandika aderesi ya IP na MAC. Urashobora gukoresha igikoresho nka wireshark kugirango ufungure 111.pcap hanyuma urebe niba guhindura byagenze neza.
Intambwe yikizamini 3: Subiza paki hamwe nubutegetsi bukurikira:
tcpreplay -i ens33 -I ens32 -l 100 -t -c rzx.cach 111.pcap
icyambu cya ens33 gihuye na eth0. icyambu cya ens32 gihuye na eth1
Ibyavuzwe haruguru ni Shenzhen HDV Phoelectron Technology Ltd izana abakiriya kubyerekeye "tcpreplay current test method" ingingo yo gutangiza, kandi isosiyete yacu ni umusaruro wihariye wabakora imiyoboro ya optique, ibicuruzwa birimoONUurukurikirane (OLT ONU/ ACONU/ CATVONU/ GPONONU/ XPONONU), Optical module series (optique fibre module / Ethernet optique fibre module / SFP optique module),OLTurukurikirane (OLTibikoresho /OLT hindura/ injangweOLT), nibindi, haribisobanuro bitandukanye byibicuruzwa byitumanaho kubikenewe muburyo butandukanye bwo gushyigikira imiyoboro, ikaze kugisha inama.