Fedora use some own configuration files unlike Debian systems. For network configuration exactly the same.
Lets bring our eth0 interface up with static IP-Address.
This configuration block can be copied, please change your BROADCAST, HWADDR, IPADDR, NETWORK and of course the GATEWAY parameter.
1 | vim /etc/sysconfig/network-scripts/ifcfg-eth0 |
1 2 3 4 5 6 7 8 9 10 11 12 | DEVICE="eth0" BOOTPROTO="none" BROADCAST="192.168.3.255" HWADDR="52:54:00:51:B9:F5" IPADDR="192.168.3.201" NETMASK="255.255.255.0" NETWORK="192.168.3.0" ONBOOT="yes" TYPE="ETHERNET" GATEWAY="192.168.3.1" DEFROUTE="yes" NM_CONTROLLED="yes" |
If you reboot your system and you have still no IP try this out, you network will be started in the runlevels 2-5:
1 | chkconfig --level 2345 network on |
Leave a Reply