Output all possible IP ranges properly.