• Giga@hdv-tech.com
  • 24H lawelawe pūnaewele:
    • 7189078c
    • sns03
    • 6660e33e
    • youtube 拷贝
    • instagram

    tcpreplay Stream hoao ana

    Ka manawa hoʻouna: ʻAukake-13-2024

    Hoʻāʻo schematic kiʻi:

    ture2

    Pūnaehana mana: Ubuntu16.04

    Hoʻokomo ʻia ʻo Tcpreplay: apt-get install tcpreplay

    (ʻAʻole i kapa ʻia kēia mana o ka inoa NIC eth0 a me eth1, nā hoʻololi hoʻonohonoho ma lalo nei)

    pili ka eth0 me ens33 NIC: IP: 172.20.60.166 MAC: ec:a8:6b:82:32:c1

    eth1 pili i ka ens32 NIC: IP: 172.20.60.165 MAC: 00:13:3b:0f:6a:fb

    E hoʻāʻo i ka hana mua: Preprocess the Cache, ʻo ke kauoha:

    tcpprep -a mea kūʻai aku -i rzxSJ.pcap -o rzx.cach

    Hoʻokaʻawale kēia kauoha i ka faila PCAP i ka mea kūʻai aku a me ke kikowaena, me ka mea kūʻai aku ma ka paʻamau. Ke hoʻouna ʻia, hoʻouna ʻia ka ʻeke mai ka mea kūʻai aku a me ke kikowaena.

    Kaʻina hana 2: E kākau hou i ka IP address a me ka helu MAC, ʻo ke kauoha:

    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 - 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

    Hoʻopau kēia kauoha i nā helu IP a me MAC. Hiki iā ʻoe ke hoʻohana i kahi mea hana e like me wireshark e wehe i ka 111.pcap a nānā i ka holomua o ka hoʻololi.

    E ho'āʻo i ka ʻanuʻu 3: E hoʻokani hou i ka ʻeke me kēia kauoha:

    tcpreplay -i ens33 -I ens32 -l 100 -t -c rzx.cach 111.pcap

    ʻO ke awa ens33 pili i ka eth0. ens32 awa pili i eth1

    ʻO ka mea i luna ʻo Shenzhen HDV Phoelectron Technology Ltd. lawe mai i nā mea kūʻai aku e pili ana i ka "tcpreplay current test method" ʻatikala hoʻolauna, a ʻo kā mākou hui kahi hana kūikawā o nā mea hana ʻenehana optical, nā huahana i pili.ONUmoʻo (OLT ONU/ACONU/CATVONU/GPONONU/XPONONU), ʻO ka moʻo moʻokala ʻokoʻa (mode fiber optika/Module fiber optical Ethernet / module optical SFP),OLTmoʻo (OLTmea lako /OLT hoʻololi/pōkole optikaOLT), etc., aia nā ʻano kikoʻī like ʻole o nā huahana kamaʻilio no nā pono o nā hiʻohiʻona like ʻole no ke kākoʻo pūnaewele, ʻoluʻolu e kūkākūkā.



    pūnaewele聊天