December 5, 2013

Managing Network in RHEL 6


The simplest way to manage network settings is to use the system-config-network tool or the non-graphical variant system-config-network-tui

To start, stop, status all our network devices

Other useful tools are:

ifconfigDisplay our network settings.
pingUsed for check network connectivity
route -nDisplay routing and Gateway
tracerouteDisplay network routing to a host.
netstat -nrDisplay open ports.


Main network configuration file is /etc/sysconfig/network-scripts/ifcfg-<name>.



Local routing for e.g. localhost, but also for static routing.

Main routing configuration file. Any changes will be overwritten, unless disabled in above sysconfig network-scripts with PEERDNS=no.


  • network-scripts: /usr/share/doc/initscripts-<version>/sysconfig.txt

No comments: