Router configuration method