Interface Conficguration
การคอนฟิค IP-CentOS 5.8
----
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:B7:F5:1B
IPADDR=192.168.0.59
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
---------------------
network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=cabal-ep6
GATEWAY=192.168.0.99
-------------------------
hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 cabal-ep6 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
---------------------------
resolve
nameserver 192.168.0.99
nameserver 8.8.8.8
=====================================
การคอนฟิค IP-CentOS 6.3
----
ไฟล์ ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="static"
BROADCAST="192.168.0.255"
DNS1="192.168.0.99"
GATEWAY="192.168.0.99"
HWADDR="00:0C:29:95:6C:98"
IPADDR="192.168.0.60"
NETMASK="255.255.255.0"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="0141846f-acf4-46b3-99d2-9b2830b90a28"
---------
ไฟล์ hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
----------
ไฟล์ network
NETWORKING=yes
HOSTNAME=localhost.localdomain
GATEWAY=192.168.0.99
------------
ไฟล์ resolv.conf
# Generated by NetworkManager
nameserver 192.168.0.99
======================================
Requires Login