paramatrize router host and ip