<?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: adding default gateway on redhat 8 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947972#M4210</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanxs i was able to correctly add static IP to network file and now itis working fine.I think is was mostly due to incorrect info in network file.&lt;BR /&gt;&lt;BR /&gt;Thanxs a lot ,&lt;BR /&gt;&lt;BR /&gt;Rgds,</description>
    <pubDate>Mon, 14 Apr 2003 03:58:33 GMT</pubDate>
    <dc:creator>ricky_8</dc:creator>
    <dc:date>2003-04-14T03:58:33Z</dc:date>
    <item>
      <title>adding default gateway on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947965#M4203</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;Iam trying to add default gateway to my redhat 8 server.&lt;BR /&gt;I can do it by adding route add default gw xxx.xx.xx.xx dev ethx&lt;BR /&gt;it works fine and iam on network.&lt;BR /&gt;But once i reboot the default gateway info vanishes.hence want to know how to set it permanently.&lt;BR /&gt;&lt;BR /&gt;I know in HPUX u can do it by adding to netconf file.Is there anysuch file for redhat 8&lt;BR /&gt;&lt;BR /&gt;Please help, thanxs,</description>
      <pubDate>Thu, 10 Apr 2003 08:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947965#M4203</guid>
      <dc:creator>ricky_8</dc:creator>
      <dc:date>2003-04-10T08:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: adding default gateway on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947966#M4204</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;There is even a gui for it! From the statrmenu, choose systemconfiguration -&amp;gt; network&lt;BR /&gt;&lt;BR /&gt;You can also start it by hand: /usr/bin/redhat-config-network&lt;BR /&gt;&lt;BR /&gt;From there you can choose the edit button and there is a filed with DG.&lt;BR /&gt;&lt;BR /&gt;Greetzz&lt;BR /&gt;Donald</description>
      <pubDate>Thu, 10 Apr 2003 08:17:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947966#M4204</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2003-04-10T08:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: adding default gateway on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947967#M4205</link>
      <description>Hi !&lt;BR /&gt;You can also do it by hand : your default gateway is in /etc/sysconfig/network file. Check it, or edit it to add : GATEWAY=xxx.xx.xx.xx.&lt;BR /&gt;You can also echo GATEWAY=xxx.xx.xx.xx &amp;gt; /etc/sysconfig/network if you do not like vi or other editor !</description>
      <pubDate>Thu, 10 Apr 2003 08:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947967#M4205</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-04-10T08:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: adding default gateway on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947968#M4206</link>
      <description>Well i need to explain more,we use local gateway as servers IP itself.&lt;BR /&gt;So if server ip is 10.9.10.100&lt;BR /&gt;and gatway  ip is 10.9.10.1&lt;BR /&gt;&lt;BR /&gt;Then if i add &lt;BR /&gt;route add default gw 10.9.10.100 dev eth1&lt;BR /&gt;&lt;BR /&gt;then it works and i can connect to network.&lt;BR /&gt;&lt;BR /&gt;so now i tried putting this gateway in via GUI and network file but after reboot i have to again run the route add command to get on network.&lt;BR /&gt;&lt;BR /&gt;In HPUX we can specify in netconf whether it is remote or local route by setting 1 or 0.&lt;BR /&gt;&lt;BR /&gt;How do i do it in  redhat?.&lt;BR /&gt;&lt;BR /&gt;I tried adding the gateway info in /etc/default-route but it seems it gets erased after reboot.&lt;BR /&gt;&lt;BR /&gt;Any clue ?</description>
      <pubDate>Thu, 10 Apr 2003 09:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947968#M4206</guid>
      <dc:creator>ricky_8</dc:creator>
      <dc:date>2003-04-10T09:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: adding default gateway on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947969#M4207</link>
      <description>your route add should work perfectly (aprt from dev which is not required, just eht0 is ok).&lt;BR /&gt;Nevertheless, your configuration still needs to be precised more :&lt;BR /&gt;do you use dynamic routing or static ?&lt;BR /&gt;If you use dynamic, then it is normal that gateway disapears on reboot as the routed daemon deals it for you. Check that in /etc/gateways your default gw is  set (name and ip). Have a man routed for details.&lt;BR /&gt;If you use static route, check that in /etc/hosts, your gw is set (name and ip), otherwise this active setiing you are putting isn't recognised on reboot.&lt;BR /&gt;Whatever, you can add an external default gw on linux, for sure. This 1 you are talking about has a 'looks like' in dynamic routing by precising in /etc/gatewas 'external' when it is the case, it has no 'looks like' in static routing.&lt;BR /&gt;Try this, if it doesn't work, let us know about your netmask, and position of DNS on your network (which should be set properly according tou your question level ! :-))&lt;BR /&gt;Yours</description>
      <pubDate>Thu, 10 Apr 2003 13:18:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947969#M4207</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-04-10T13:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: adding default gateway on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947970#M4208</link>
      <description>1 var. You can add "route add default gw 10.9.10.100 dev eth1" to the "/etc/rc.d/rc.local" script.&lt;BR /&gt;2 var. You can add "eth1 net 0.0.0.0 gw 10.9.10.100" to the "/etc/sysconfig/static-routes" file.&lt;BR /&gt;&lt;BR /&gt;After configuring you need restart a Linux box.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Thu, 10 Apr 2003 14:14:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947970#M4208</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-04-10T14:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: adding default gateway on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947971#M4209</link>
      <description>Or at least restart your network function, /etc/rc.d/init.d/network restart.&lt;BR /&gt;Before doing so, check that your /etc/sysconfig/network contains GATEWAY=10.0.0.100 (your gateway), which should be there accordingly with your route add. It happens that route adds does not set it up permanently in this file in some red hat distro. Just do it by hand.&lt;BR /&gt;rgds</description>
      <pubDate>Fri, 11 Apr 2003 04:44:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947971#M4209</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-04-11T04:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: adding default gateway on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947972#M4210</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanxs i was able to correctly add static IP to network file and now itis working fine.I think is was mostly due to incorrect info in network file.&lt;BR /&gt;&lt;BR /&gt;Thanxs a lot ,&lt;BR /&gt;&lt;BR /&gt;Rgds,</description>
      <pubDate>Mon, 14 Apr 2003 03:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-default-gateway-on-redhat-8/m-p/2947972#M4210</guid>
      <dc:creator>ricky_8</dc:creator>
      <dc:date>2003-04-14T03:58:33Z</dc:date>
    </item>
  </channel>
</rss>

