Gwada zane-zane:
Sigar tsarin: Ubuntu16.04
Shigar Tcpreplay: dace-samun shigar tcpreplay
(Wannan sigar sunan NIC ba a kiran shi eth0 da eth1, canje-canje masu zuwa)
eth0 yayi daidai da ens33 NIC: IP: 172.20.60.166 MAC: ec: a8: 6b: 82: 32: c1
eth1 yayi daidai da ens32 NIC: IP: 172.20.60.165 MAC: 00:13:3b:0f:6a:fb
Gwada mataki na farko: Gabatar da Cache, umarnin shine:
tcpprep - abokin ciniki -i rzxSJ.pcap -o rzx.cach
Wannan umarnin yana raba fayil ɗin PCAP zuwa abokin ciniki da uwar garken, tare da abokin ciniki ta tsohuwa. Lokacin da aka aika, ana aika fakitin daga duka abokin ciniki da uwar garken.
Gwaji mataki 2: Sake rubuta adireshin IP da adireshin MAC, umarnin shine:
Tcprewrite - e 172.20.60.166:172.20.60.165 -- enet - 10-tashar 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. Pcap - o 111. Pcap
Wannan umarnin yana sake rubuta adireshin IP da MAC. Kuna iya amfani da kayan aiki kamar wireshark don buɗe 111.pcap kuma duba ko gyara ya yi nasara.
Gwaji mataki 3: Sake kunna fakiti tare da umarni mai zuwa:
tcpreplay -i ens33 -I ens32 -l 100 -t -c rzx.cach 111.pcap
tashar jiragen ruwa ens33 yayi daidai da eth0. tashar jiragen ruwa ens32 yayi daidai da eth1
Na sama shi ne Shenzhen HDV Phoelectron Technology Ltd. kawo abokan ciniki game da "tcpreplay halin yanzu gwajin Hanyar" gabatarwa labarin, kuma mu kamfanin ne na musamman samar da Tantancewar cibiyar sadarwa masana'antun, da kayayyakin da hannu su ne.ONUjerin (OLT ONU/ACONU/CATVONU/GPONONU/XPONONU), Jerin abubuwan gani na gani (modul fiber na gani / module fiber Optical module / SFP Optical module),OLTjerin (OLTkayan aiki /OLT canza/kashin ganiOLT), da dai sauransu, akwai nau'o'i daban-daban na samfurori na sadarwa don bukatun yanayi daban-daban don tallafin cibiyar sadarwa, maraba don tuntuɓar.