Configure Fedora 13 Networking

Fedora 13 –

Configure Static IP

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Where eth0 is the interface on which you want to configure the IP.

Change “onboot” and add the two following lines so it looks like this


Then we need to setup your “default gateway”

vi /etc/sysconfig/network

add the following


and finally we’ll configure the DNS servers

vi /etc/resolv.conf

and add the following


once you’ve done that, restart the “network” service

service network restart

Configure DHCP Fedora 13

First we need to hop into the network-scripts directory:

cd /etc/sysconfig/network-scripts/

Then edit the ifcfg-xxxx file for your particular network card:

vi ifcfg-eth0

Edit the following lines:


Then we’ll have to restart the “network” service:

service network restart

Configure the Network Service

Now that our network is setup, we should really configure the “network” service to automatically start up when we want it to. Personally I only run *nix in CLI, but for those of you that run some form of desktop manager, I’ve included that as well.

Lets first see if it’s already configured to start

chkconfig --list

if network isn’t marked as “on” for levels 3 and 5, then do the following

chkconfig --levels 35 network on

Now when your computer boots up into init 3 (multiuser network mode) or init 5 (xwindows) your network service will start.

Phil Pillera <ppillera [ a t ] gmail [ d o t ] com>