LPIC-2 Exam 201 (Linux Engineer) — Question 58

Which of the filter keywords below could be used in the following command: tcpdump ""i eth0 ____________ 203.0.113.8
(Choose three.)

Answer options

Correct answer: A, C, D

Explanation

The correct answers are A, C, and D because 'host' allows filtering by the specific host, while 'src' and 'dst' filter packets based on source and destination addresses, respectively. Option B, 'ip', is incorrect as it is not a valid filter keyword in this context, and option E, 'ipv6', is not applicable since the specified address is an IPv4 address.