Use the correct dns and gateway