• Giga@hdv-tech.com
  • 24H Online Service:
    • 7189078c
    • sns03
    • 6660e33e
    • youtube 拷贝
    • instagram

    tcpreplay Stream Test Method

    Nguva yekutumira: Aug-13-2024

    Yedza dhiyabhorosi:

    ture2

    Shanduro yeSystem: Ubuntu16.04

    Tcpreplay kuisirwa: apt-tora kuisa tcpreplay

    (Iyi vhezheni yezita reNIC haina kunzi eth0 uye eth1, inotevera gadziriso shanduko)

    eth0 inoenderana neen33 NIC: IP: 172.20.60.166 MAC: ec:a8:6b:82:32:c1

    eth1 inoenderana ne ens32 NIC: IP: 172.20.60.165 MAC: 00:13:3b:0f:6a:fb

    Edza danho rekutanga: Preprocess the Cache, mutemo ndewekuti:

    tcpprep -a mutengi -i rzxSJ.pcap -o rzx.cach

    Uyu murairo unokamura iyo PCAP faira kuita mutengi uye sevha, ine mutengi nekukasira. Kana yatumirwa, packet inotumirwa kubva kune vese mutengi uye server.

    Yedzo nhanho yechipiri: Nyora zvakare iyo IP kero uye MAC kero, iwo mutemo ndewekuti:

    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

    Uyu murairo unodarika iyo IP uye MAC kero. Iwe unogona kushandisa chishandiso chakadai se wireshark kuti uvhure 111.pcap uye tarisa kana iyo shanduko yakabudirira.

    Yedza nhanho 3: Replay packet nemurairo unotevera:

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

    en33 port inoenderana ne eth0. en32 port inoenderana ne eth1

    Iri pamusoro iShenzhen HDV Phoelectron Technology Ltd inounza vatengi nezve "tcpreplay yazvino bvunzo nzira" chinyorwa chekusuma, uye kambani yedu inogadzirwa hunyanzvi hwekugadzira optical network vagadziri, zvigadzirwa zvinobatanidzwaONUseries (OLT ONU/ACONU/CATVONU/GPONONU/XPONONU), Optical module series (optical fiber module/Ethernet optical fiber module/SFP optical module),OLTseries (OLTmidziyo /OLT chinja/katsi yemazisoOLT), nezvimwewo, kune zvakasiyana-siyana zvinotsanangurwa zvekutaurirana zvigadzirwa zvezvido zvemamiriro akasiyana ekutsigira network, kugamuchirwa kubvunza.



  • Zvakapfuura: << -> Dzokera kuBlog <- Zvinotevera: >>
  • web聊天