<?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: IP Aliasing with different gateways in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224925#M82532</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;How does your routing table looks like?&lt;BR /&gt;&lt;BR /&gt;( &lt;BR /&gt;route -n / netstat -rn&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;The command:&lt;BR /&gt;&lt;BR /&gt;route add default gw 10.157.104.1&lt;BR /&gt;&lt;BR /&gt;gives you any error?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But I can ssh through one of the nodes and is working.&lt;BR /&gt;&lt;BR /&gt;Which node? from which network/IP address?&lt;BR /&gt;&lt;BR /&gt;Horia.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Feb 2010 13:23:31 GMT</pubDate>
    <dc:creator>Horia Chirculescu</dc:creator>
    <dc:date>2010-02-16T13:23:31Z</dc:date>
    <item>
      <title>IP Aliasing with different gateways</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224922#M82529</link>
      <description>I would like to alias the eth0(eth0: 10.10.10.1 with 255.255.255.0) as follow in:&lt;BR /&gt;/etc/rc.local&lt;BR /&gt;eth0:1 as 10.157.104.120 with 255.255.255.128&lt;BR /&gt;route add default gw 10.157.114.1&lt;BR /&gt;eth0:2 as 10.157.68.120 with 255.255.255.0&lt;BR /&gt;eth0:3 as 192.168.30.120 with 255.255.255.0&lt;BR /&gt;&lt;BR /&gt;I did the above, however I can't ssh(as gateway isn't set for each subnet I guess as I don't see any gateway from netstat -rn output). But I can ssh through one of the nodes and is working. The reason I want to set like above is for the kickstart setup for different subnet setups. So that I don't need to change each time to switch between the subnets to make kickstart work.&lt;BR /&gt;&lt;BR /&gt;What am I missing? Do I need to add the routing line for each subnet?&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Fri, 12 Feb 2010 16:04:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224922#M82529</guid>
      <dc:creator>Qcheck</dc:creator>
      <dc:date>2010-02-12T16:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: IP Aliasing with different gateways</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224923#M82530</link>
      <description>Your route command might have a typo.&lt;BR /&gt;&lt;BR /&gt;Without adding the default route, eth0 allows access to addresses 10.10.10.(0...255) and  eth0:1 to 10.157.104.(0...127).&lt;BR /&gt;&lt;BR /&gt;At the point your route command is issued, eth0:2 and eth0:3 are not defined yet.&lt;BR /&gt;&lt;BR /&gt;You then attempt to add 10.157._114_.1 as the default gateway. Because this is not in any of the already-defined directly-accessible segments and there is no default gateway yet, the system does not know how to reach it. As a result, this route is rejected.&lt;BR /&gt;&lt;BR /&gt;Perhaps you meant 10.157._104_.1 as the default gateway?&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 12 Feb 2010 19:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224923#M82530</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-02-12T19:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: IP Aliasing with different gateways</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224924#M82531</link>
      <description>Mk, First of all thank you for your response and I really appreciate. Sorry, I did typo in the forum, instead "route add default gw 10.157.104.1" I typed "route add default gw 10.157.114.1". &lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Fri, 12 Feb 2010 20:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224924#M82531</guid>
      <dc:creator>Qcheck</dc:creator>
      <dc:date>2010-02-12T20:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: IP Aliasing with different gateways</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224925#M82532</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;How does your routing table looks like?&lt;BR /&gt;&lt;BR /&gt;( &lt;BR /&gt;route -n / netstat -rn&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;The command:&lt;BR /&gt;&lt;BR /&gt;route add default gw 10.157.104.1&lt;BR /&gt;&lt;BR /&gt;gives you any error?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But I can ssh through one of the nodes and is working.&lt;BR /&gt;&lt;BR /&gt;Which node? from which network/IP address?&lt;BR /&gt;&lt;BR /&gt;Horia.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Feb 2010 13:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224925#M82532</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-02-16T13:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: IP Aliasing with different gateways</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224926#M82533</link>
      <description>Never mind, it is working. I was testing in /etc/rc.local. I typed the wrong ip address. Once I fixed it, I added eth0:1 and eth0:2 and eth0:3 in the network scripts and it working fine for all the different subnets.  And removed all the entries from rc.local. Thank you for your time and response.</description>
      <pubDate>Tue, 16 Feb 2010 19:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224926#M82533</guid>
      <dc:creator>Qcheck</dc:creator>
      <dc:date>2010-02-16T19:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: IP Aliasing with different gateways</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224927#M82534</link>
      <description>I fixed it. I was testing in /etc/rc.local. I typed the wrong ip address. Once I fixed it, I added eth0:1 and eth0:2 and eth0:3 in the network scripts and it working fine for all the different subnets. And removed all the entries from rc.local. Thank you for your time and response.</description>
      <pubDate>Tue, 16 Feb 2010 19:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-aliasing-with-different-gateways/m-p/5224927#M82534</guid>
      <dc:creator>Qcheck</dc:creator>
      <dc:date>2010-02-16T19:01:05Z</dc:date>
    </item>
  </channel>
</rss>

