How do I know if my IP is static or dynamic Linux?

Thành Nguyễn

New member
How do I know if my IP is static or dynamic Linux?
Answer
There’s no simple command that you can run to determine whether the IP address on a Linux system is assigned by DHCP or static. If it changes when the system restarts, it’s clearly dynamically assigned, but even a dynamic address has some resistance to change. The best way is to look at the configuration file.
 

Tìm kiếm

Back
Top