<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>experimental &#187; Networking</title>
	<atom:link href="http://www.tajidyakub.com/category/networking/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tajidyakub.com</link>
	<description>Experience the Experiment</description>
	<lastBuildDate>Sat, 10 Oct 2009 19:32:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Basic Network Configuration in CentOS</title>
		<link>http://www.tajidyakub.com/networking/basic-network-configuration-in-centos-2008-06-27.html</link>
		<comments>http://www.tajidyakub.com/networking/basic-network-configuration-in-centos-2008-06-27.html#comments</comments>
		<pubDate>Thu, 26 Jun 2008 18:15:20 +0000</pubDate>
		<dc:creator>Tajid Yakub</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Nix Basics]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[IP Address]]></category>

		<guid isPermaLink="false">http://tajidyakub.com/?p=9</guid>
		<description><![CDATA[The file you have to keep an eye on CentOS for your box basic networking configuration is /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-eth0 or /etc/sysconfig/network-scripts/ifcfg-eth0:x for the alias network Interface. Below are the example of output in My CentOS box, /24 IP Block assumed. cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static BROADCAST=xxx.xxx.xxx.255 IPADDR=xxx.xxx.xxx.12 NETMASK=255.255.255.0 NETWORK=xxx.xxx.xxx.0 ONBOOT=yes TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes cat [...]]]></description>
			<content:encoded><![CDATA[<p>The file you have to keep an eye on CentOS for your box basic networking configuration is /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-eth0 or /etc/sysconfig/network-scripts/ifcfg-eth0:x for the alias network Interface. Below are the example of output in My CentOS box, /24 IP Block assumed.</p>
<p><span id="more-9"></span></p>
<pre class="brush: bash">cat /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
BROADCAST=xxx.xxx.xxx.255
IPADDR=xxx.xxx.xxx.12
NETMASK=255.255.255.0
NETWORK=xxx.xxx.xxx.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

cat /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=xxx.magnet-id.com
GATEWAY=xxx.xxx.xxx.1</pre>
<p>Put the resolver DNS IP Address on your /etc/resolv.conf (get them from your ISP or Data Center)</p>
<pre class="brush: bash">cat /etc/resolv.conf

nameserver 117.103.57.4
nameserver 117.103.56.5</pre>
<p>If you want to make an alias IP Address, do this step;</p>
<p>Copy the ifcfg startup script</p>
<pre class="brush: bash">cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0</pre>
<p>Edit the newly created ifcfg script, customize to your other IP Address (aliased to the same network interface). Change the Device and IP Address Informations.<br />
Restart Network Service</p>
<pre class="brush: bash">service network restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.tajidyakub.com/networking/basic-network-configuration-in-centos-2008-06-27.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

