GPEN Exam QuestionsBrowse all questions from this exam

GPEN Exam - Question 53


Given the following Scapy information, how is default Layer 2 information derived?

Exam GPEN Question 53
Show Answer
Correct Answer: D

Scapy relies on the underlying operating system to construct Layer 2 information to use as default. This means that if a Layer 2 field such as MAC address is not explicitly defined, Scapy will use the MAC address of the network interface card (NIC) of the system it is running on. The provided Scapy information reflects constructing packets where Ether (Layer 2) and IP (Layer 3) headers are specified without defining all fields, confirming the usage of defaults from the operating system.

Discussion

1 comment
Sign in to comment
devnullOption: D
Aug 20, 2024

The correct answer is D. If you actually try it, you can confirm that the MAC address adopted by scapy corresponds to the MAC address of the actual NIC.