How to modify the dynamic IP to static IP in Linux?
Question
How to modify the dynamic IP to static IP in Linux?
Answer
1. Use vi to open the 2. Modify the contents below “# Wired or wireless interfaces”: a) Comment out the row marked in red box 1, after modification, it should be b) Add static IP configuration as in red box 2, the added contents are as below: