<?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 routing table in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/routing-table/m-p/2879957#M3310</link>
    <description>I would like to set the routing table , what file should be modify ? Thx.</description>
    <pubDate>Mon, 13 Jan 2003 02:40:24 GMT</pubDate>
    <dc:creator>Cheung_2</dc:creator>
    <dc:date>2003-01-13T02:40:24Z</dc:date>
    <item>
      <title>routing table</title>
      <link>https://community.hpe.com/t5/operating-system-linux/routing-table/m-p/2879957#M3310</link>
      <description>I would like to set the routing table , what file should be modify ? Thx.</description>
      <pubDate>Mon, 13 Jan 2003 02:40:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/routing-table/m-p/2879957#M3310</guid>
      <dc:creator>Cheung_2</dc:creator>
      <dc:date>2003-01-13T02:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: routing table</title>
      <link>https://community.hpe.com/t5/operating-system-linux/routing-table/m-p/2879958#M3311</link>
      <description>Depends whether you want to do it the simple way, or the distribution-specific-way (which isn't always so simple).&lt;BR /&gt;&lt;BR /&gt;Simple Way: using rc.local:&lt;BR /&gt;&lt;BR /&gt;add your 'route add -...' entries to /etc/rc.d/rc.local.  They will get executed upon startup.&lt;BR /&gt;&lt;BR /&gt;Dist-specific way:&lt;BR /&gt;&lt;BR /&gt;As you've not mentioned what distribution you're using, I'll tell you the redhat way (other distributions do differ slightly).&lt;BR /&gt;&lt;BR /&gt;Modify the file '/etc/sysconfig/static-routes'&lt;BR /&gt;&lt;BR /&gt;Add entries in there to the format:&lt;BR /&gt;&lt;BR /&gt;&lt;INTERFACE&gt; &lt;HOST&gt; &lt;ARGS&gt;&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;eth0 net 192.168.27.0 netmask 255.255.255.0 gw 192.168.18.3&lt;BR /&gt;&lt;BR /&gt;For RedHat, you can read /usr/share/doc/initscript-*/sysconfig.txt for more details.&lt;BR /&gt;&lt;BR /&gt;For other distributions, I'm unsure how you'd do it, as I've only used modern versions of RedHat in the past 2-3 years.&lt;/ARGS&gt;&lt;/HOST&gt;&lt;/INTERFACE&gt;</description>
      <pubDate>Mon, 13 Jan 2003 03:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/routing-table/m-p/2879958#M3311</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-01-13T03:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: routing table</title>
      <link>https://community.hpe.com/t5/operating-system-linux/routing-table/m-p/2879959#M3312</link>
      <description>or you could make a shell script with your route commands make it run the shell script on startup.&lt;BR /&gt;&lt;BR /&gt;That works on all distributions.&lt;BR /&gt;&lt;BR /&gt;Most of the times the service scripts are in /etc/init.d or /etc/rc.d/init.d. You can take a look at the others also, but you only need a simple script which just runs a bunch of route commands for you.&lt;BR /&gt;&lt;BR /&gt;Then ln -s /etc/init.d/yourscript /etc/rc3.d/S99yourscript&lt;BR /&gt;&lt;BR /&gt;Change rc3.d to your default runlevel. You can get your default runlevel by boting up your system and running runlevel. That will print something like: N 2&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Mar 2003 07:17:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/routing-table/m-p/2879959#M3312</guid>
      <dc:creator>Mangus Määttä</dc:creator>
      <dc:date>2003-03-01T07:17:33Z</dc:date>
    </item>
  </channel>
</rss>

