Table Of Contents
Table Of Contents

Step 25. PCAP recording

Goals

[explanation]

Configuration

This configuration is based on step 1.

The configuration in omnetpp.ini is the following:

[Config Step25]
description = "PCAP recording"
extends = Step1

**.crcMode = "computed"
**.fcsMode = "computed"

*.R1.numPcapRecorders = 1
*.R1.pcapRecorder[0].moduleNamePatterns = "ppp[0]"
*.R1.pcapRecorder[0].pcapNetwork = 204        # ppp
*.R1.pcapRecorder[0].pcapFile = "results/R1.ppp0.pcap"

*.R5.numPcapRecorders = 1
*.R5.pcapRecorder[0].moduleNamePatterns = "ppp[1]"
*.R5.pcapRecorder[0].pcapNetwork = 204        # ppp
*.R5.pcapRecorder[0].pcapFile = "results/R5.ppp1.pcap"

*.R4.numPcapRecorders = 1
*.R4.pcapRecorder[0].moduleNamePatterns = "eth[0]"
*.R4.pcapRecorder[0].pcapNetwork = 1        # ethernet
*.R4.pcapRecorder[0].pcapFile = "results/R4.eth0.pcap"

Sources: omnetpp.ini, OspfNetwork.ned,