<?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: Default gateway again in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859116#M579769</link>
    <description>1. from commandline (after reboot away)&lt;BR /&gt;&lt;BR /&gt;# route add default 132.128.22.9 1&lt;BR /&gt;&lt;BR /&gt;2. Made the above route command permanent by adding it to netconf file&lt;BR /&gt;as follows:&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[0]="default"&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]=132.128.22.9&lt;BR /&gt;ROUTE_COUNT[0]="1"&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;</description>
    <pubDate>Fri, 06 Dec 2002 13:59:45 GMT</pubDate>
    <dc:creator>Armin Feller</dc:creator>
    <dc:date>2002-12-06T13:59:45Z</dc:date>
    <item>
      <title>Default gateway again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859114#M579767</link>
      <description>Just out of curiousity...&lt;BR /&gt;&lt;BR /&gt;If I have a network with an HP WS communicating with 2 other devices (these have their own IP addresses), would having a default gateway on the WS (configured as the same IP as the WS) prevent me pinging the other addresses on the network?</description>
      <pubDate>Fri, 06 Dec 2002 13:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859114#M579767</guid>
      <dc:creator>S Feltrogh</dc:creator>
      <dc:date>2002-12-06T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Default gateway again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859115#M579768</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thats possibe but not nesisery.&lt;BR /&gt;A default gateway normaly is a router. It is used so the server/workstation is able to communicate with other network devices in other networks. With the command netstat -rn you can view the settings on the unix host. For all the networks not specificly mentioned in the routing table the default gateway will be used. If you configure a defauld gateway that does not exist. All the networks not mentioned in this routing table will be unavailable.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;PS /etc/rc.config.d/netconf file is used at boot time to set a default gateway.&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2002 13:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859115#M579768</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2002-12-06T13:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Default gateway again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859116#M579769</link>
      <description>1. from commandline (after reboot away)&lt;BR /&gt;&lt;BR /&gt;# route add default 132.128.22.9 1&lt;BR /&gt;&lt;BR /&gt;2. Made the above route command permanent by adding it to netconf file&lt;BR /&gt;as follows:&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[0]="default"&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]=132.128.22.9&lt;BR /&gt;ROUTE_COUNT[0]="1"&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2002 13:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859116#M579769</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-06T13:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Default gateway again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859117#M579770</link>
      <description>Good question! You'd have to try it. &lt;BR /&gt;&lt;BR /&gt;You should still be able to communicate with devices in the same subnet as they wouldn't use the routing table.&lt;BR /&gt;&lt;BR /&gt;I can't think of any possible reason why you'd want to set the default gateway as itself however.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Fri, 06 Dec 2002 14:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859117#M579770</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-12-06T14:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Default gateway again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859118#M579771</link>
      <description>Actually setting the default gateway to its own address does make sense, won't stop you from talking to local hosts and, strangely enough, in most cases it won't even stop you from reaching distant networks as long as you set the metric to 0.&lt;BR /&gt;&lt;BR /&gt;The way it works is that if the routing table points back to its own gateway with a metric of 0 the box things everything is local and ARPs for the IP address that it wants to reach.  Your friendly local router hears the ARP, check's its own routing tables and if it knows how to get to the IP address (or thinks it does) it will send an ARP reply giving its own MAC as the MAC to use to reach the IP address.  This is known as Proxy ARP and this service is on by default on most routers but it can be turned off. This is sort of a legacy thing and is not used much any more since it is a bit slower (have to ARP first) than using a default gateway.&lt;BR /&gt;&lt;BR /&gt;Don't know what happens if the metric is set to 1.  Never tried it.&lt;BR /&gt;&lt;BR /&gt;The Default gateway is only used for nonlocal connections so it should not matter with local connections.  Assuming your NIC is working, what could stop you from talking to other IPs on the same LAN would be having different masks or IPs which are not in the same subnet.  Of course, having the same IP address would also mess you up.  Other possibilities would be a bad cable, a crossover cable when you need a straight, a speed mismatch between the NIC and the hub/switch, ports in different VLANs or other switch tricks.  Look for a link light on both ends of the cable to be sure the cable is good.  For HPUX check &lt;BR /&gt;lanadmin&lt;BR /&gt;lan&lt;BR /&gt;display&lt;BR /&gt;to see if you have a healthy NIC.  Make sure you are looking at the correct one if you have more than one.  You should see the speed and duplex and whether HPUX thinks the card is good and working.  For MS you can often set it to give you an icon in the systray which will tell you the status and the number of packets going in and out.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Fri, 06 Dec 2002 15:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859118#M579771</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-12-06T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Default gateway again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859119#M579772</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;One of the reasons you want to set your route to your own IP is for security. However in this case I only head of using localloop address. &lt;BR /&gt;In case you have offender network (or IP) you can set route to that network (IP) to be through 127.0.0.1. In this case your IP will go stealth for the network you block.&lt;BR /&gt;&lt;BR /&gt;Having said that I would not set my default gateway to IP of my host, but to IP of the gateway.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;0leg</description>
      <pubDate>Fri, 06 Dec 2002 16:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-gateway-again/m-p/2859119#M579772</guid>
      <dc:creator>Oleg Zieaev_1</dc:creator>
      <dc:date>2002-12-06T16:04:40Z</dc:date>
    </item>
  </channel>
</rss>

