<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Linux Creating or Adding New Network Alias To a Network Card (NIC)</title> <atom:link href="http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: mandeep kharel</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-66099</link> <dc:creator>mandeep kharel</dc:creator> <pubDate>Tue, 27 Dec 2011 15:27:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-66099</guid> <description>thanks this help to my configure my network</description> <content:encoded><![CDATA[<p>thanks this help to my configure my network</p> ]]></content:encoded> </item> <item><title>By: Patrick</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-60845</link> <dc:creator>Patrick</dc:creator> <pubDate>Tue, 19 Jul 2011 15:54:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-60845</guid> <description>For my centos5 this information was not sufficient. I&#039;ve added a IP alias eth1:1 on a different subnet than eth1 with this ifcfg-eth1:1 file:
GATEWAY=194.xxx.xxx.xxx
TYPE=Ethernet
DEVICE=eth1:1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=194.xxx.xxx.xxx
USERCTL=no
IPV6INIT=no
ONPARENT=yes
PEERDNS=yes
This works fine with a:
service network restart</description> <content:encoded><![CDATA[<p>For my centos5 this information was not sufficient. I&#8217;ve added a IP alias eth1:1 on a different subnet than eth1 with this ifcfg-eth1:1 file:<br
/> GATEWAY=194.xxx.xxx.xxx<br
/> TYPE=Ethernet<br
/> DEVICE=eth1:1<br
/> BOOTPROTO=none<br
/> NETMASK=255.255.255.0<br
/> IPADDR=194.xxx.xxx.xxx<br
/> USERCTL=no<br
/> IPV6INIT=no<br
/> ONPARENT=yes<br
/> PEERDNS=yes</p><p>This works fine with a:<br
/> service network restart</p> ]]></content:encoded> </item> <item><title>By: Pinoy</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-58467</link> <dc:creator>Pinoy</dc:creator> <pubDate>Wed, 27 Apr 2011 19:19:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-58467</guid> <description>Thanks I just managed to add a new network alias to my server. :) I also followed Steve&#039;s advice about the onboot parameter.</description> <content:encoded><![CDATA[<p>Thanks I just managed to add a new network alias to my server. :) I also followed Steve&#8217;s advice about the onboot parameter.</p> ]]></content:encoded> </item> <item><title>By: Steve Harper</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-56388</link> <dc:creator>Steve Harper</dc:creator> <pubDate>Sat, 19 Mar 2011 23:15:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-56388</guid> <description>The ONBOOT parameter is not appropriate for a Virtual IP / IP Alias - you need to use the ONPARENT param instead.
HTH,
Steve Harper</description> <content:encoded><![CDATA[<p>The ONBOOT parameter is not appropriate for a Virtual IP / IP Alias &#8211; you need to use the ONPARENT param instead.</p><p>HTH,<br
/> Steve Harper</p> ]]></content:encoded> </item> <item><title>By: Andrew K</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-56346</link> <dc:creator>Andrew K</dc:creator> <pubDate>Thu, 17 Mar 2011 06:21:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-56346</guid> <description>Since when does an alias have to be on the same subnet? I use aliases all the time at work to create private &quot;dev&quot; VLANS with servers I SSH to directly (with a simple switch in between).</description> <content:encoded><![CDATA[<p>Since when does an alias have to be on the same subnet? I use aliases all the time at work to create private &#8220;dev&#8221; VLANS with servers I SSH to directly (with a simple switch in between).</p> ]]></content:encoded> </item> <item><title>By: Stefan Lasiewski</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-55487</link> <dc:creator>Stefan Lasiewski</dc:creator> <pubDate>Wed, 09 Feb 2011 22:22:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-55487</guid> <description>I agree with Michael Leahy.
/usr/share/doc/initscripts-*/sysconfig.txt says that the alias interfaces should not duplicate the information contained in the parent device.
From /usr/share/doc/initscripts-*/sysconfig.txt
&lt;blockquote&gt;
/etc/sysconfig/network-scripts/ifcfg- and
/etc/sysconfig/network-scripts/ifcfg-::
The first defines an interface, and the second contains
only the parts of the definition that are different in a
&quot;alias&quot; (or alternative) interface.  For example, the
network numbers might be different, but everything else
might be the same, so only the network numbers would be
in the alias file, but all the device information would
be in the base ifcfg file.
&lt;/blockquote&gt;</description> <content:encoded><![CDATA[<p>I agree with Michael Leahy.</p><p>/usr/share/doc/initscripts-*/sysconfig.txt says that the alias interfaces should not duplicate the information contained in the parent device.</p><p>From /usr/share/doc/initscripts-*/sysconfig.txt</p><blockquote><p> /etc/sysconfig/network-scripts/ifcfg- and<br
/> /etc/sysconfig/network-scripts/ifcfg-::</p><p> The first defines an interface, and the second contains<br
/> only the parts of the definition that are different in a<br
/> &#8220;alias&#8221; (or alternative) interface.  For example, the<br
/> network numbers might be different, but everything else<br
/> might be the same, so only the network numbers would be<br
/> in the alias file, but all the device information would<br
/> be in the base ifcfg file.</p></blockquote> ]]></content:encoded> </item> <item><title>By: Michael Leahy</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-46617</link> <dc:creator>Michael Leahy</dc:creator> <pubDate>Mon, 29 Mar 2010 17:50:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-46617</guid> <description>According to the documentation in /usr/share/doc/initscripts-*/sysconfig.txt, the file defining the eth0:0 device on RedHat/RHEL/CentOS/Fedora systems should only contain the information that is different from the parent eth0 device.</description> <content:encoded><![CDATA[<p>According to the documentation in /usr/share/doc/initscripts-*/sysconfig.txt, the file defining the eth0:0 device on RedHat/RHEL/CentOS/Fedora systems should only contain the information that is different from the parent eth0 device.</p> ]]></content:encoded> </item> <item><title>By: vamsi</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-45773</link> <dc:creator>vamsi</dc:creator> <pubDate>Sun, 31 Jan 2010 19:52:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-45773</guid> <description>Hi sir
If I  have several additional IPs, will creating  eth0:1, eth0:2 and so on.
work&#039;s ?
thanks :D</description> <content:encoded><![CDATA[<p>Hi sir<br
/> If I  have several additional IPs, will creating  eth0:1, eth0:2 and so on.<br
/> work&#8217;s ?<br
/> thanks :D</p> ]]></content:encoded> </item> <item><title>By: Vamsi</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-45628</link> <dc:creator>Vamsi</dc:creator> <pubDate>Tue, 19 Jan 2010 17:45:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-45628</guid> <description>thanks !..will try to ad failover ip&#039;s on my ovh box :)</description> <content:encoded><![CDATA[<p>thanks !..will try to ad failover ip&#8217;s on my ovh box :)</p> ]]></content:encoded> </item> <item><title>By: Ross Sutherland</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-43516</link> <dc:creator>Ross Sutherland</dc:creator> <pubDate>Tue, 01 Sep 2009 10:58:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-43516</guid> <description>Hello, I am very new to Linux. Currently using Ubuntu and was wondering what the following line means.
&quot;name Ethernet alias LAN card&quot;
Any help on this would be great thanks!</description> <content:encoded><![CDATA[<p>Hello, I am very new to Linux. Currently using Ubuntu and was wondering what the following line means.<br
/> &#8220;name Ethernet alias LAN card&#8221;<br
/> Any help on this would be great thanks!</p> ]]></content:encoded> </item> <item><title>By: Manu Ignatius</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-39300</link> <dc:creator>Manu Ignatius</dc:creator> <pubDate>Tue, 25 Nov 2008 02:02:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-39300</guid> <description>This blog explains how to create an aliased interface using a C program.
&lt;a href=http://thedragonflypage.blogspot.com/2008/11/aliasing-ethernet-interface-in-linux.html rel=&quot;nofollow&quot;&gt;Link&lt;/a&gt;
Might be useful for some of you I guess.</description> <content:encoded><![CDATA[<p>This blog explains how to create an aliased interface using a C program.<br
/> <a
href=http://thedragonflypage.blogspot.com/2008/11/aliasing-ethernet-interface-in-linux.html rel="nofollow">Link</a><br
/> Might be useful for some of you I guess.</p> ]]></content:encoded> </item> <item><title>By: Walid Rudwan Osman</title><link>http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/#comment-29997</link> <dc:creator>Walid Rudwan Osman</dc:creator> <pubDate>Mon, 16 Apr 2007 07:08:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic.php#comment-29997</guid> <description>Hello there
I am using Linux enterprise 4 on my Toshipa Laptop but it didn&#039;t recognizing my NIC so I had to ask for the NIC installation file so I get and this is the name of the file install_8_37[1].tar but I dont know what to do after that ,so i need any help to do this but just please make simple and much details as much as you can because I am not quite expert.</description> <content:encoded><![CDATA[<p>Hello there<br
/> I am using Linux enterprise 4 on my Toshipa Laptop but it didn&#8217;t recognizing my NIC so I had to ask for the NIC installation file so I get and this is the name of the file install_8_37[1].tar but I dont know what to do after that ,so i need any help to do this but just please make simple and much details as much as you can because I am not quite expert.</p> ]]></content:encoded> </item> </channel> </rss>
