<?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: ntp configuration with multiple interfaces in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214972#M10595</link>
    <description>As far as I know:&lt;BR /&gt;&lt;BR /&gt;ntp is not interface dependent, nor does it have directives.&lt;BR /&gt;&lt;BR /&gt;If its running on the box and there is a route between the daemon server and the time server it will choose the best route.&lt;BR /&gt;&lt;BR /&gt;I generally leave ntpd only one possible route by closing all others with iptables firewall.&lt;BR /&gt;&lt;BR /&gt;Make sure the port is open only on the private lan (or intended lan) and then run ntpq -p &lt;TIMESERVER&gt; to test communications.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/TIMESERVER&gt;</description>
    <pubDate>Wed, 10 Mar 2004 13:30:24 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-03-10T13:30:24Z</dc:date>
    <item>
      <title>ntp configuration with multiple interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214971#M10594</link>
      <description>I'm stumped by a problem with ntp on RH 7.3  The system has two nics;  eth0 is routed to a private lan, eth1 to a public lan.&lt;BR /&gt;&lt;BR /&gt;static-routes has the appropriate routing controls.&lt;BR /&gt;&lt;BR /&gt;It appears, however, that ntpd insists on making the connection across the public interface  (judging by the output from netstat), even though the targeted time server is routed to via the private interface in static-routes.&lt;BR /&gt;&lt;BR /&gt;The 254 subnet is the public one.&lt;BR /&gt;&lt;BR /&gt;udp        0      0 xx.yy.254.zz:ntp        *:*                                 &lt;BR /&gt;udp        0      0 acutalhost.actualdomain.ntp *:*                                 &lt;BR /&gt;udp        0      0 localhost.localdoma:ntp *:*                                 &lt;BR /&gt;udp        0      0 *:ntp                   *:*&lt;BR /&gt;&lt;BR /&gt;Is anyone aware of a directive in ntp.conf or a switch to ntpd to indicate interface?  Or additional routing configurations for udp?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks....</description>
      <pubDate>Wed, 10 Mar 2004 13:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214971#M10594</guid>
      <dc:creator>Peter Heinemann</dc:creator>
      <dc:date>2004-03-10T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: ntp configuration with multiple interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214972#M10595</link>
      <description>As far as I know:&lt;BR /&gt;&lt;BR /&gt;ntp is not interface dependent, nor does it have directives.&lt;BR /&gt;&lt;BR /&gt;If its running on the box and there is a route between the daemon server and the time server it will choose the best route.&lt;BR /&gt;&lt;BR /&gt;I generally leave ntpd only one possible route by closing all others with iptables firewall.&lt;BR /&gt;&lt;BR /&gt;Make sure the port is open only on the private lan (or intended lan) and then run ntpq -p &lt;TIMESERVER&gt; to test communications.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/TIMESERVER&gt;</description>
      <pubDate>Wed, 10 Mar 2004 13:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214972#M10595</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-10T13:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: ntp configuration with multiple interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214973#M10596</link>
      <description>If you are using hostnames in the ntp.conf file, I would suspect it would be a DNS issue if its going out the public interface. &lt;BR /&gt;&lt;BR /&gt;If your using IP's in the ntp.conf file , then its probably a routing issue.Is the internal NTP server on the same segment as the RH 7.3 box? &lt;BR /&gt;&lt;BR /&gt;Post your hosts file, ntp.conf, ifconfig, routing table and we should be able to figure it out.. &lt;BR /&gt;&lt;BR /&gt;BTW, we have a internal NTP server,  I always run NTPDATE from cron with the NTP IP address, 3x a day..</description>
      <pubDate>Wed, 10 Mar 2004 17:52:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214973#M10596</guid>
      <dc:creator>Don_89</dc:creator>
      <dc:date>2004-03-10T17:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: ntp configuration with multiple interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214974#M10597</link>
      <description>Turns out that netstat was returning incomplete information;  I found through tcpdump that the timeserver was being queried.  Just didn't show up either netstat nor in messages.</description>
      <pubDate>Thu, 11 Mar 2004 09:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-configuration-with-multiple-interfaces/m-p/3214974#M10597</guid>
      <dc:creator>Peter Heinemann</dc:creator>
      <dc:date>2004-03-11T09:21:27Z</dc:date>
    </item>
  </channel>
</rss>

