IP / MAC Rewriter

“IP / MAC Rewriter” is a tool used to change specific IP addresses and MAC addresses in a pcap file.
This is useful when we have a PCAP recorded for one ECU, and we would like to replay it to another ECU that has different IP/MAC addresses.
../_images/open_ip_mac_rewriter.png

Figure 1: Open IP / MAC Rewriter

Once the tool is started (see [Figure 2]), choose a pcap file as an input and another pcap file as an output. The output will contain the same exact data as the input pcap file except the mentioned IP addresses and MAC addresses will be replaced by the specified new ones. Also IP, UDP and TCP checksum will be recalculated.
The time shift field will allow shifting the captured time of the packets.
../_images/Ip_Mac_Rewriter.png

Figure 2: IP / MAC Rewriter

../_images/Ip_Mac_pcap.png

Figure 3: Original vs Modified Pcap