You have evidence to believe that an attacker was scanning your network from an IP address at 172.16.1.224. This network is part of a /26 subnet. You wish to quickly filter through several logs using a REGEX for anything that came from that subnet. What REGEX expression would provide the appropriate output when searching the logs for any traffic originating from only IP addresses within that subnet? \b172\.16\.1\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b \b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0- 5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b \b172\.16\.1\.(25[0-5]|2[0-4][0-9]|19[2-9])\b \b172\.16\.1\.(25[0-5]|2[0-4][0-9]?)\b
Added by Brian H.
Close
Step 1
16.1.224 is part of a /26 subnet. This means that the first 26 bits of the IP address are fixed, and the remaining 6 bits are variable. Show more…
Show all steps
Your feedback will help us improve your experience
Madhur L and 92 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Computer 1 on network B, with IP address of 192.168.1.121, wants to send a packet to Computer 2, with IP address of 172.16.1.57. Which of the following has the correct IP datagram information for the fields: Version, minimum Header Length, Source IP, and Destination IP? 9. Computer 1 on network B, with IP address of 192.168.1.121, wants to send a packet to Computer 2 with IP address of 172.16.1.57. Which of the following has the correct IP datagram information for the fields: Version, minimum Header Length, Source IP, and Destination IP? Version: 6 Header Length: 20 Source IP Address: 8a:1a:2b:3c:4d:5f Destination IP address: 2a:2b:3c:4d:8f Version: 5 Header Length: 16 Source IP Address: 10.1.1.0/24 Destination IP address: 10.1.1.0/23 Version: 4 Header Length: 20 Source IP Address: 192.168.1.121
Madhur L.
What is the first valid host on the subnetwork that the node 172.26.112.165/27 belongs to? What is the broadcast address of the network 172.21.176.0/22? What is the first valid host on the subnetwork that the node 172.18.238.160/255.255.240.0 belongs to? What is the broadcast address of the network 10.176.80.0/20? What is the broadcast address of the network 172.22.104.0/255.255.254.0?
Akash M.
Adi S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD