I don't think #3 is that bad actually; remember that's how we used to do it before static IP days so it's tried and tested (although admittedly the DNS was in place by the time commissioning ended).
#2 is also good, but you have to calculate which lines to generate based on the netmask.
I don't think #3 is that bad actually; remember that's how we used to do it before static IP days so it's tried and tested (although admittedly the DNS was in place by the time commissioning ended).
#2 is also good, but you have to calculate which lines to generate based on the netmask.
I'd go for #2 on balance.