Netconfig in Redhat Linux

  • Share
  • CevherShare
  • Share

Netconfig in redhat linux is used to set static IP address for our computer in a network.

We can install netconfig by yum or direct .rpm files

 

NETCONFIG Installation

#yum install netconfig*

( or )

#rpm -ivh netconfig-0.8.11-7.i386.rpm

 

Assigning IP address

simply type netconfig in terminal

#netconfig

 

To set more than one IP address for one system with single NIC 

For first IP address i.e., default

#netconfig

 

For second IP address

#netconfig -d eth0:0

 

For third IP address

#netconfig -d eth1:1

 

netconfig is used to edit this files, without netconfig the following files won’t found.

/etc/resolv.conf
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0

 

prasad

About prasad

Prasad K has written 111 post in this blog.