IT Knowledge Base

Technical Repository

HowTo: CentOS – Minimal. Configure Network Adapter

Check IP address

ip addr

Note: ifconfig has been depreciated in Linux versions. Most systems will be using the IP command from now on.

ip

http://srobb.net/ip.html

Additional Commands can be found here.

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

DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
PEERDNS=yes
IPADDR=15.15.15.15
NETMASK=255.255.255.0
GATEWAY=15.15.15.1

nano /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4

Restart the networking service for configurations to take affect

service network restart

To ensure that VMware Tools are able to install on this machine, you will need to install the ifconfig utility.

yum install net-tools



Leave a Reply