<?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: two default route - help me in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576661#M85034</link>
    <description>I'm going to assume that your mail server is on a fixed address?&lt;BR /&gt;&lt;BR /&gt;In that case, just route that host address through the second interface, instead of a 'default route'.&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;ip route add &lt;MAIL-HOST-IP&gt; dev eth2 via 192.168.1.254&lt;BR /&gt;&lt;BR /&gt;(or the older format 'route add -host &lt;MAIL-HOST-IP&gt; gw 192.168.1.254 eth2').&lt;/MAIL-HOST-IP&gt;&lt;/MAIL-HOST-IP&gt;</description>
    <pubDate>Wed, 06 Jul 2005 00:26:30 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2005-07-06T00:26:30Z</dc:date>
    <item>
      <title>two default route - help me</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576660#M85033</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;How do I add two default route with two different gateways on different interfaces with different priorities:&lt;BR /&gt;&lt;BR /&gt;eth0 192.168.0.1 Intranet&lt;BR /&gt;eth1 192.168.1.1 internet router for internal QMail&lt;BR /&gt;eth2 192.168.2.1 internet adsl for Proxy&lt;BR /&gt;&lt;BR /&gt;for the eth1 the gateway must be 192.168.1.254&lt;BR /&gt;for the eth2 the gateway must be 192.168.2.254&lt;BR /&gt;&lt;BR /&gt;proxy and navigation must use adsl (192.168.2.254)&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;my email server only the router (192.168.1.254)&lt;BR /&gt;&lt;BR /&gt;my firewall it´s ok...&lt;BR /&gt;&lt;BR /&gt;I need help....  &lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Fabio Leonardo Jung&lt;BR /&gt;from Brasil :</description>
      <pubDate>Tue, 05 Jul 2005 20:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576660#M85033</guid>
      <dc:creator>fabiolpi</dc:creator>
      <dc:date>2005-07-05T20:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: two default route - help me</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576661#M85034</link>
      <description>I'm going to assume that your mail server is on a fixed address?&lt;BR /&gt;&lt;BR /&gt;In that case, just route that host address through the second interface, instead of a 'default route'.&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;ip route add &lt;MAIL-HOST-IP&gt; dev eth2 via 192.168.1.254&lt;BR /&gt;&lt;BR /&gt;(or the older format 'route add -host &lt;MAIL-HOST-IP&gt; gw 192.168.1.254 eth2').&lt;/MAIL-HOST-IP&gt;&lt;/MAIL-HOST-IP&gt;</description>
      <pubDate>Wed, 06 Jul 2005 00:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576661#M85034</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-06T00:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: two default route - help me</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576662#M85035</link>
      <description>You can add the default gateway for every interface in the interface configuration file, /etc/sysconfig/network-scripts/ifcfg-ethX.&lt;BR /&gt;&lt;BR /&gt;You should add a line:&lt;BR /&gt;&lt;BR /&gt;GATEWAY=x.y.w.z&lt;BR /&gt;&lt;BR /&gt;For every interface and restart the network services.</description>
      <pubDate>Wed, 06 Jul 2005 13:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576662#M85035</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-06T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: two default route - help me</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576663#M85036</link>
      <description>Fabio,&lt;BR /&gt;you can add a route but you cannot have two default routes since deafault in tech terms by itself tells you that it is the default when there is nothing available.&lt;BR /&gt;So have one default route and add the second route&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;DP</description>
      <pubDate>Thu, 07 Jul 2005 21:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576663#M85036</guid>
      <dc:creator>Devesh Pant_1</dc:creator>
      <dc:date>2005-07-07T21:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: two default route - help me</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576664#M85037</link>
      <description>Hai ,&lt;BR /&gt;&lt;BR /&gt;you can do one thing .you can set two gateway for one interface with different priority&lt;BR /&gt;&lt;BR /&gt;like&lt;BR /&gt;&lt;BR /&gt;route add net x.x.x.x(n/w ) netmask x.x.x.x xx.xx.xx.xx(gateway) 0 - first gateway&lt;BR /&gt;&lt;BR /&gt;route add net x.x.x.x(n/w ) netmask x.x.x.x xx.xx.xx.xx(gateway) 1 - second priority</description>
      <pubDate>Thu, 18 Aug 2005 06:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-default-route-help-me/m-p/3576664#M85037</guid>
      <dc:creator>Tvs</dc:creator>
      <dc:date>2005-08-18T06:22:17Z</dc:date>
    </item>
  </channel>
</rss>

