<?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: Issue with virtual IP addresses on trunk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017822#M84584</link>
    <description>Indeed, normally ifconfig NIC add is used to add IPv6 interfaces.&lt;BR /&gt;&lt;BR /&gt;But nevertheless, for our team of sysadmins, it is nice to have a ifconfig NIC add and ifconfig NIC del commands.  It is working anyway for IPv6 and IPv4.&lt;BR /&gt;&lt;BR /&gt;The only thing is that ifconfig -a truncates the (lets say the awk { print $1 } string).&lt;BR /&gt;&lt;BR /&gt;Where ever I look, I do not find the indexes.&lt;BR /&gt;&lt;BR /&gt;It is for me important to mount/unmount floating databases, but of course I need to mention the right index in the command ifconfig  NIC:&lt;INDEX&gt; del &lt;VIRTIP&gt;.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Dieter&lt;BR /&gt;&lt;/VIRTIP&gt;&lt;/INDEX&gt;</description>
    <pubDate>Fri, 08 Dec 2006 17:14:41 GMT</pubDate>
    <dc:creator>L_Dieter</dc:creator>
    <dc:date>2006-12-08T17:14:41Z</dc:date>
    <item>
      <title>Issue with virtual IP addresses on trunk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017819#M84581</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have following configuration: A grid of 10 RHEL 4/u4 linux machines with some network cards.  Our network people created a trunk on their switch so I have eth0.X and eth0.Y Vlan definitions.  Now I want to put virutal IPs on eth0.X.&lt;BR /&gt;&lt;BR /&gt;# ifconfig eth0.X:1 add XXX.XXX.XXX.XXX.&lt;BR /&gt;# ifconfig eth0.X:2 add YYY.YYY.YYY.YYY&lt;BR /&gt;&lt;BR /&gt;Everything works perfect.  But when I run ifconfig -a I cannot see the index number (:1 or :2).  I did not find it in /proc filesystem neigther.&lt;BR /&gt;&lt;BR /&gt;Does anybody has an idea how to reveal the index number.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 08 Dec 2006 09:28:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017819#M84581</guid>
      <dc:creator>L_Dieter</dc:creator>
      <dc:date>2006-12-08T09:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual IP addresses on trunk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017820#M84582</link>
      <description>I just created a new alias on our RHES v4.4 system as such:&lt;BR /&gt;&lt;BR /&gt;ifconfig eth0:1 a.b.c.d/24&lt;BR /&gt;&lt;BR /&gt;Then ran ifconfig -a.....it shows all of the interface addresses along with the alias for eth0:1.   Not sure why you are not seeing them but I've never seen the ifconfig add syntax used to create aliases.   Could have something to do with it.&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Dec 2006 12:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017820#M84582</guid>
      <dc:creator>Al Licause</dc:creator>
      <dc:date>2006-12-08T12:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual IP addresses on trunk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017821#M84583</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Maybe this explains it better:&lt;BR /&gt;&lt;BR /&gt;Contents of /etc/sysconfig/network-scripts/ifcfg-eth0&lt;BR /&gt;&lt;BR /&gt;DEVICE=eth0&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth0.1&lt;BR /&gt;&lt;BR /&gt;DEVICE=eth0.1&lt;BR /&gt;....&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;VLAN=yes&lt;BR /&gt;&lt;BR /&gt;# service network restart&lt;BR /&gt;&lt;BR /&gt;Then adding the IP address of the machine.&lt;BR /&gt;&lt;BR /&gt;# ifconfig eth0.1 add 192.168.1.10&lt;BR /&gt;&lt;BR /&gt;Now adding a virtual IP on the same NIC&lt;BR /&gt;&lt;BR /&gt;# ifconfig eth0.1:1 add 192.168.1.100&lt;BR /&gt;&lt;BR /&gt;If now you do ifconfig -a you see:&lt;BR /&gt;&lt;BR /&gt;eth0     ....&lt;BR /&gt;eth0.1:  ....&lt;BR /&gt;eth0.1:  ....&lt;BR /&gt;&lt;BR /&gt;What I would expect is&lt;BR /&gt;&lt;BR /&gt;eth0     ....&lt;BR /&gt;eth0.1:0 ....&lt;BR /&gt;eth0.1:1 ....&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Dieter</description>
      <pubDate>Fri, 08 Dec 2006 12:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017821#M84583</guid>
      <dc:creator>L_Dieter</dc:creator>
      <dc:date>2006-12-08T12:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual IP addresses on trunk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017822#M84584</link>
      <description>Indeed, normally ifconfig NIC add is used to add IPv6 interfaces.&lt;BR /&gt;&lt;BR /&gt;But nevertheless, for our team of sysadmins, it is nice to have a ifconfig NIC add and ifconfig NIC del commands.  It is working anyway for IPv6 and IPv4.&lt;BR /&gt;&lt;BR /&gt;The only thing is that ifconfig -a truncates the (lets say the awk { print $1 } string).&lt;BR /&gt;&lt;BR /&gt;Where ever I look, I do not find the indexes.&lt;BR /&gt;&lt;BR /&gt;It is for me important to mount/unmount floating databases, but of course I need to mention the right index in the command ifconfig  NIC:&lt;INDEX&gt; del &lt;VIRTIP&gt;.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Dieter&lt;BR /&gt;&lt;/VIRTIP&gt;&lt;/INDEX&gt;</description>
      <pubDate>Fri, 08 Dec 2006 17:14:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017822#M84584</guid>
      <dc:creator>L_Dieter</dc:creator>
      <dc:date>2006-12-08T17:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual IP addresses on trunk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017823#M84585</link>
      <description>Another command to use is ip part of the iproute package&lt;BR /&gt;&lt;BR /&gt;ip li&lt;BR /&gt;&lt;BR /&gt;will show you all the link available on the system, all up and all the down ones.&lt;BR /&gt;&lt;BR /&gt;ip addr&lt;BR /&gt;will show you all the addresses attach to an interface&lt;BR /&gt;&lt;BR /&gt;You can add/modi/del addresses, routes etc&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2006 21:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017823#M84585</guid>
      <dc:creator>Alexander Samad</dc:creator>
      <dc:date>2006-12-11T21:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual IP addresses on trunk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017824#M84586</link>
      <description>Alexander,&lt;BR /&gt;&lt;BR /&gt;Did you know that you are a hero?&lt;BR /&gt;&lt;BR /&gt;You solved this issue.</description>
      <pubDate>Tue, 12 Dec 2006 04:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017824#M84586</guid>
      <dc:creator>L_Dieter</dc:creator>
      <dc:date>2006-12-12T04:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with virtual IP addresses on trunk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017825#M84587</link>
      <description>#ip addr &lt;BR /&gt;&lt;BR /&gt;is indeed the perfect solution for my problem.</description>
      <pubDate>Tue, 12 Dec 2006 04:38:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/issue-with-virtual-ip-addresses-on-trunk/m-p/5017825#M84587</guid>
      <dc:creator>L_Dieter</dc:creator>
      <dc:date>2006-12-12T04:38:34Z</dc:date>
    </item>
  </channel>
</rss>

