IxEplorer can be used to send and recieve customized data or send imported ".enc" data as stream.
IxEplorer 這個軟件可以用來發送和接收自定義數據包或者導入“enc”文件發送。
Part 1: Setting your own stream
Step 1.
The device I use called "IXIA", connected to its IP address and select the port you want to use as TX. Here I use port 4 as input, double click it to set the packet stream.
Step 2.
Right click and create a new stream, name it and bouble click to set the contnent of your stream
Frame data
Preamble: 8Byte. Normally a standard packet start with preamble and ends with CRC: preamble+payload(data pattern)+CRC. For here I go with default.
Data pattern: data pattern is the data you want to deal with. For here I want to set the pattern to my lastname(WEIXU) using ASCII. Type go with repeating.
Frame size
You can set a vairable size like random or incremental, I'll go with fixed, so every packet in this stream has the same size. The min size is 64 and max is 1518(1522 with 4 byte CRC).
DA/SA: (MAC source/destination address)
1. increment: start from "Value", increase "repeat count" times, each time increased by "step". After reaching "repeat count" times, it will start from "Value" again. 2.Continuous increment: start from "Value", each time increased by "step". 3. Same way in Decrement.
Protocol: chose the protocol that you want to transmit. Mine header: VLAN, ETHERNET II, ipV4, UDP/IP.
STREAM CONTROL
The stream's content setting have been completed, now we are starting to decide how to send the packet that we have.
Total number of packet=packet per burst * bursts per stream.
Continuous packet:指定的流發送連續的且每對包之間具有相同的間隔的包
Continuous burst:指定的流發送連續的burst
Stop after this stream:此流是發送的最後一個流
Advance to next stream:發送完此流再發送下一個流
Return to ID:在此流發送完成後返回到ID的流,ID=1 則返回第一個流
Return to ID for count:在此流發送完成後返回到指定的流loop count次
Loop count:流重複次數
Rate control:The gate between packet, if rate=100%, it means the gap between packet is 12bytes, which is the minimum packect gap in a stream. You can also set the "Inter-Packet Gap" value instead of “Rate“” based on the speed that you are wroking on.
Packet View
128byte= 46byte hearder(..-.i) + 14 byte data(WEIXU-EI)+ 4byte(Ik%a) CRC
Part Two: importing .enc file as stream
Click on the port you want to use.
Click "start capture: then "en capture" then "view" capture to open the interface. Right click in the new interface, import the enc file you have. If you have a "pcap" file, you need to convert it to "enc" file first.
Use "shift" to select packet you want to send in this file, you can send less than 256 streams at a time. Right click and select "convert to stream".
Back to the home interface and enable the packet that you have selected.
Reference: