Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Restrictions: 35 per post, maximum total size 3000KB, maximum individual size 500KB
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
E=???:
Who runs this web-site?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Fmslick
« on: April 08, 2017, 04:16:59 PM »

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

DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.1.44
NETMASK=255.255.255.0


 Configure Default Gateway
vi /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=centos6
GATEWAY=192.168.1.1


Restart Network Interface
/etc/init.d/network restart

Configure DNS Server
vi /etc/resolv.conf

nameserver 8.8.8.8      # Replace with your nameserver ip (8.8.8.8 is google DNS)
nameserver 192.168.1.1  # Replace with your nameserver ip