This is a quick tutorial on how to set a static IP address using the terminal within Fedora 20.
Disable Network Manager
- First stop and disable the gnome network manager from running on boot.
- Now start and enable the network service to run on boot.
Set the Static Address
Check which interface(s) you want to set as static.
Next edit the config file for the required interface.
Edit the config file to look similar to the following.
Change the BOOTPROTO from “dhcp” to “static”. Also adding IPADDR, NETMASK, BROADCAST and NETWORK variables and make sure ONBOOT is set to yes.
Apply the Settings
Restart the network service to apply the settings.
Make sure the correct DNS servers are configured to allow Fedora to resolve domains.