I want to extract the lines in a file containing the range for particular subnet
Input:
subnet 172.16.31.0 netmask 255.255.255.0 { # default gateway