<?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: Configuring static routing in redhat linux 4 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144472#M83423</link>
    <description>&amp;gt;&amp;gt;&amp;gt; static routing between them &lt;BR /&gt;&lt;BR /&gt;If you want to allow packets from one subnet to another, you have to configure ip_forwarding:&lt;BR /&gt;&lt;BR /&gt;Edit the file /etc/sysctl.conf&lt;BR /&gt;&lt;BR /&gt;net.ipv4.ip_forward = 1&lt;BR /&gt;&lt;BR /&gt;Then run "sysctl -p"&lt;BR /&gt;&lt;BR /&gt;For static routes, please see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cementhorizon.com/wiki/index.php/Static_Persistent_Routes_under_Red_Hat_Enterprise_Linux_3_RHEL_3" target="_blank"&gt;http://www.cementhorizon.com/wiki/index.php/Static_Persistent_Routes_under_Red_Hat_Enterprise_Linux_3_RHEL_3&lt;/A&gt;</description>
    <pubDate>Wed, 13 Feb 2008 15:47:08 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2008-02-13T15:47:08Z</dc:date>
    <item>
      <title>Configuring static routing in redhat linux 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144471#M83422</link>
      <description>&lt;!--!*#--&gt;Hi All &lt;BR /&gt;&lt;BR /&gt;I have a system with two ips confgiured one private and one public ip &lt;BR /&gt;Need to know how to setup static routing between them &lt;BR /&gt;&lt;BR /&gt;Public ip : 170.86.131.X configured with eth0&lt;BR /&gt;Private ip : 192.168.0.X configured with eth1&lt;BR /&gt;&lt;BR /&gt;my routing table is as follows &lt;BR /&gt;</description>
      <pubDate>Wed, 13 Feb 2008 14:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144471#M83422</guid>
      <dc:creator>Karthikeyan.j</dc:creator>
      <dc:date>2008-02-13T14:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring static routing in redhat linux 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144472#M83423</link>
      <description>&amp;gt;&amp;gt;&amp;gt; static routing between them &lt;BR /&gt;&lt;BR /&gt;If you want to allow packets from one subnet to another, you have to configure ip_forwarding:&lt;BR /&gt;&lt;BR /&gt;Edit the file /etc/sysctl.conf&lt;BR /&gt;&lt;BR /&gt;net.ipv4.ip_forward = 1&lt;BR /&gt;&lt;BR /&gt;Then run "sysctl -p"&lt;BR /&gt;&lt;BR /&gt;For static routes, please see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cementhorizon.com/wiki/index.php/Static_Persistent_Routes_under_Red_Hat_Enterprise_Linux_3_RHEL_3" target="_blank"&gt;http://www.cementhorizon.com/wiki/index.php/Static_Persistent_Routes_under_Red_Hat_Enterprise_Linux_3_RHEL_3&lt;/A&gt;</description>
      <pubDate>Wed, 13 Feb 2008 15:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144472#M83423</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-02-13T15:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring static routing in redhat linux 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144473#M83424</link>
      <description>that's not what he wants to do.&lt;BR /&gt;&lt;BR /&gt;you can add routes to a network interface like this:&lt;BR /&gt;&lt;BR /&gt;route add -net &lt;NETWORK&gt; netmask &lt;NETMASK&gt; dev &lt;INTERFACE&gt;&lt;BR /&gt;&lt;BR /&gt;for your case, i guess you want to route traffix to the private ip and the default gw in set on the public ip, you will need to use the following command:&lt;BR /&gt;&lt;BR /&gt;route add -net 192.168.0.0 netmask 255.255.255.0 dev eth1&lt;BR /&gt;&lt;BR /&gt;however, it appears there is a more advanced way to do routing now (i always used above command) with lartc tool.&lt;BR /&gt;&lt;BR /&gt;more info in the manpage (man ip) or from the project page: &lt;A href="http://lartc.org/" target="_blank"&gt;http://lartc.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/INTERFACE&gt;&lt;/NETMASK&gt;&lt;/NETWORK&gt;</description>
      <pubDate>Thu, 14 Feb 2008 07:33:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144473#M83424</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2008-02-14T07:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring static routing in redhat linux 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144474#M83425</link>
      <description>Hi All &lt;BR /&gt;&lt;BR /&gt;Thank u all  for the help &lt;BR /&gt;&lt;BR /&gt;I had set route add -net 192.168.0.0/24 dev eth1 and checked &lt;BR /&gt;&lt;BR /&gt;we are able to ping from 192.168.0.X to 192.168.0.X but from the scan device ip 192.168.0.X whihch is in connected thru vpn when we try to ping to public ip 170.86.X ping is failing.&lt;BR /&gt;&lt;BR /&gt;Actually the device to work they needs the communication between private ip thru public ip .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestions Pls help &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Karthik</description>
      <pubDate>Thu, 21 Feb 2008 06:26:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144474#M83425</guid>
      <dc:creator>Karthikeyan.j</dc:creator>
      <dc:date>2008-02-21T06:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring static routing in redhat linux 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144475#M83426</link>
      <description>in that case, you have to do what the first post suggested, because you want packets to go from one network to the other.</description>
      <pubDate>Wed, 27 Feb 2008 08:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-static-routing-in-redhat-linux-4/m-p/4144475#M83426</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2008-02-27T08:53:13Z</dc:date>
    </item>
  </channel>
</rss>

