How do I set a static IP in Linux?

How do I set a static IP in Linux?
Answer
Changing Network Configuration
Open your /etc/network/interfaces file, locate the: “iface eth0…” line and change dynamic to static. address line and change the address to the static IP address. netmask line and change the address to the correct subnet mask.
 

Tìm kiếm

Back
Top