Dan Nelson: > This was a quick hack, so I'm just adding the > first IP in each line, not the whole netblock (I didn't want to write a > range->netmask converter). No need to do that, there is ipcalc in the ports. http://jodies.de/ipcalc