ConVirt EnterpriseMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

RedHat 6 Networking

From ConVirt Enterprise


RHEL/CentOS 6 Networking

RHEL/CentOS 6 does not configure network interfaces on default installation. Also, it is configured to use NetworkManager. To enable networking interface and disable NetworkManager please follow instructions below.

The /etc/sysconfig/network-scripts/ifcfg-eth0 content looks as follows on default installation.

DEVICE="eth0"
HWADDR=specifc mac address
NM_CONTROLLED="yes"
ONBOOT="no"

For DHCP, configure the interface as follows.

DEVICE="eth0"
HWADDR=specifc mac address
NM_CONTROLLED="no"
ONBOOT="yes"
BOOTPROTO="dhcp"


 Restart the network after configuration.
/etc/init.d/network restart

For Static ip, configure it as follows

DEVICE="eth0"
HWADDR=specifc mac address
NM_CONTROLLED="no"
ONBOOT="yes"
BOOTPROTO="static"
IPADDR=ip address here.
NETMASK=netmask here.
Change the /etc/sysconfig/network to have the GATEWAY.

NETWORKING=yes
HOSTNAME=www1.nixcraft.in
GATEWAY=gateway address here.

Change /etc/resolve.conf
nameserver Specify ip address of dns server/usually same as gateway.
For example configuration, see  Method #3 
http://www.cyberciti.biz/faq/rhel-centos-fedoracore-linux-network-card-configuration/
Restart the network after configuration.
/etc/init.d/network restart

Retrieved from "http://www.convirture.com/ee_wiki/index.php?title=RedHat_6_Networking"

This page has been accessed 26,674 times. This page was last modified on 7 October 2011, at 00:27.


Find

Browse
Main page
Installation
Documentation
Forums
Blog
Website
Recent changes
Random page
Help
Edit
View source
Editing help
This page
Discuss this page
New section
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More...