<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create Virtual IP Address in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579898#M18622</link>
    <description>You treat a 'virtual ip' (it's called aliasing in Linux) as you would a normal interface IP.&lt;BR /&gt;&lt;BR /&gt;You subnet it based on what traffic you want through that interface (whether it's virtual or physical).&lt;BR /&gt;&lt;BR /&gt;That being said, I've never seen a situation in a business where an 8bit subnet mask is needed on a client or server (do you honestly have an office with over 16 million devices?), only on dedicated routers.</description>
    <pubDate>Tue, 19 Jul 2005 18:57:38 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2005-07-19T18:57:38Z</dc:date>
    <item>
      <title>Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579891#M18615</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;Currently, I need to create a virtural ip address under the eth0 NIC.&lt;BR /&gt;&lt;BR /&gt;Currently, under the following directory, /etc/sysconfig/network-scripts&lt;BR /&gt;-rw-r--r--    1 root     root           97 Sep  8  2004 ifcfg-eth0&lt;BR /&gt;&lt;BR /&gt;How do I proceed to do it?&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jul 2005 20:42:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579891#M18615</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-07-11T20:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579892#M18616</link>
      <description>create '/etc/sysconfig/network=scripts/ifcfg-eth0:0' with:&lt;BR /&gt;&lt;BR /&gt;IPADDR=&lt;ALIASED address=""&gt;&lt;BR /&gt;DEVICE=eth0:0&lt;BR /&gt;ONBOOT=Yes&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;BOOTPROTO=static&lt;BR /&gt;NETMASK=&lt;SUBNET mask=""&gt;&lt;BR /&gt;&lt;BR /&gt;then type 'ifup eth0:0' to put it in place.&lt;/SUBNET&gt;&lt;/ALIASED&gt;</description>
      <pubDate>Mon, 11 Jul 2005 20:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579892#M18616</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-11T20:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579893#M18617</link>
      <description>Create as,&lt;BR /&gt;&lt;BR /&gt;ifconfig eth0:0 &lt;IP-ADDRESS&gt; netmask &lt;NETMASK&gt; &lt;BR /&gt;&lt;BR /&gt;For permanent effect, create a file as suggested by stuart.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;/NETMASK&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Mon, 11 Jul 2005 23:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579893#M18617</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-07-11T23:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579894#M18618</link>
      <description>Thanks to Stuart and Muthukumar,&lt;BR /&gt;&lt;BR /&gt;It works :)&lt;BR /&gt;&lt;BR /&gt;Created the ifcfg-eth0:0 file for permanent effect after a reboot.&lt;BR /&gt;&lt;BR /&gt;But i started it as eth0:1 instead....rather then eth0:0. Any convention to follow instead?&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff</description>
      <pubDate>Tue, 12 Jul 2005 00:12:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579894#M18618</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-07-12T00:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579895#M18619</link>
      <description>You should start at :0, as that's the first aliased interface.</description>
      <pubDate>Tue, 12 Jul 2005 00:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579895#M18619</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-12T00:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579896#M18620</link>
      <description>Thanks Stuart :)</description>
      <pubDate>Tue, 12 Jul 2005 00:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579896#M18620</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-07-12T00:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579897#M18621</link>
      <description>are there any guidelines for the netmask associated with a virtual IP?  &lt;BR /&gt;&lt;BR /&gt;Should one make their default IP address something like 10.0.0.2 with a netmask of 255.0.0.0 and then add a virtual ip address of 10.0.0.200 with a netmask of 255.255.255.255 or should the netmask of the virtual ip also be 255.0.0.0?  &lt;BR /&gt;&lt;BR /&gt;If you do the later, is there any risk of packets being routed out the wrong ip (whether syn or ack?)  If you do the former, is there a risk of creating a "local router" problem?  &lt;BR /&gt;&lt;BR /&gt;Do firewalls/routers mind sending traffic back out on to their local network where it received the data from?&lt;BR /&gt;&lt;BR /&gt;I've done a few google searches on this but it seems like people who add the entire netmask on to their vip's are also doing fun things like manual load balancing through routing. &lt;BR /&gt;&lt;BR /&gt;Are there any specific RFC's out there for this?</description>
      <pubDate>Tue, 19 Jul 2005 18:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579897#M18621</guid>
      <dc:creator>TheDude_1</dc:creator>
      <dc:date>2005-07-19T18:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579898#M18622</link>
      <description>You treat a 'virtual ip' (it's called aliasing in Linux) as you would a normal interface IP.&lt;BR /&gt;&lt;BR /&gt;You subnet it based on what traffic you want through that interface (whether it's virtual or physical).&lt;BR /&gt;&lt;BR /&gt;That being said, I've never seen a situation in a business where an 8bit subnet mask is needed on a client or server (do you honestly have an office with over 16 million devices?), only on dedicated routers.</description>
      <pubDate>Tue, 19 Jul 2005 18:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579898#M18622</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-19T18:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579899#M18623</link>
      <description>I used a class A address as an example.  I certainly do not need that many. (It's actually a /22 in a different class)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;You subnet it based on what traffic you want through that interface (whether it's virtual or physical).&lt;BR /&gt;&lt;BR /&gt;What is the default action on linux's routing table for initiating connections bound for the same network that multiple aliases reside on.  &lt;BR /&gt;&lt;BR /&gt;For instance, you decide to build a tcp connection and send a packet to a separate host on your network.  Which ip does the routing table decide to source the packet from when all aliases have the same netmask?&lt;BR /&gt;&lt;BR /&gt;Is linux's default reaction always to use the first interface defined?  Or does it use the physical interface over an alias?</description>
      <pubDate>Tue, 19 Jul 2005 19:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579899#M18623</guid>
      <dc:creator>TheDude_1</dc:creator>
      <dc:date>2005-07-19T19:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Virtual IP Address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579900#M18624</link>
      <description>It will usually use the IP of the interface (virtual or physical) the packet will traverse first.&lt;BR /&gt;&lt;BR /&gt;Actually, lets clear this up a little bit.  Since late 2.2.x series of kernels, there has been no 'physical interface ip address' and 'virtual' addresses.  They are all 'virtual' addresses, which are bound to a 'physical' interface.&lt;BR /&gt;&lt;BR /&gt;But anyway, Linux will take the ip from the interface it traverses, not the 'first' addressed attached to they physical interface, or the 'primary' address (which occurs in other Unicies i've used over the years).</description>
      <pubDate>Tue, 19 Jul 2005 23:48:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-virtual-ip-address/m-p/3579900#M18624</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-19T23:48:42Z</dc:date>
    </item>
  </channel>
</rss>

