Forum Discussion

DALAC_Vincent_1's avatar
DALAC_Vincent_1
Icon for Nimbostratus rankNimbostratus
Sep 29, 2015

NTP server unreachable

Hello everybody,

 

I have an issue and i don't find the configuration for it. The NTP service is in INIT state and stay, i searched why and i found, it use the default interface with an unrouted IP address. So when the server try to answer...

 

So, my question is how do i configure NTP service to use an other interface by default and without modify the default route?

 

17 Replies

    • DALAC_Vincent_1's avatar
      DALAC_Vincent_1
      Icon for Nimbostratus rankNimbostratus
      I already have a gateway : list /sys management-route sys management-route default { gateway **.**.**.1 network default }
    • DALAC_Vincent_1's avatar
      DALAC_Vincent_1
      Icon for Nimbostratus rankNimbostratus
      I already have a gateway : list /sys management-route sys management-route default { gateway **.**.**.1 network default }
  • I may have missed part of your original question. You have a non-routeable IP assigned to the management interface, but you have configured a default management route? If that is the case why have a default route created for the management interface? To force it out a TMM interface, create a more specific route in the LTM(tmm) route table. i.e tmsh create net route ntp network gw .

     

  • I may have missed part of your original question. You have a non-routeable IP assigned to the management interface, but you have configured a default management route? If that is the case why have a default route created for the management interface? To force it out a TMM interface, create a more specific route in the LTM(tmm) route table. i.e

    tmsh create net route ntp network  gw 
    .

    • Brad_Parker_139's avatar
      Brad_Parker_139
      Icon for Nacreous rankNacreous
      Probably also need this. We do this as well, https://support.f5.com/kb/en-us/solutions/public/7000/000/sol7017.html
  • I may have missed part of your original question. You have a non-routeable IP assigned to the management interface, but you have configured a default management route? If that is the case why have a default route created for the management interface? To force it out a TMM interface, create a more specific route in the LTM(tmm) route table. i.e

    tmsh create net route ntp network  gw 
    .

    • Brad_Parker's avatar
      Brad_Parker
      Icon for Cirrus rankCirrus
      PS editing of comments doesn't ever seem to work any more on DC.
    • Brad_Parker's avatar
      Brad_Parker
      Icon for Cirrus rankCirrus
      Probably also need this. We do this as well, https://support.f5.com/kb/en-us/solutions/public/7000/000/sol7017.html
  • It's not clear to me whether you want the NTP traffic to go out the mgt interface or the TMM interface. They both have separate routing tables. There are also certain scenarios where you need a non-default static route for the management interface, even with a default mgt route. So, in summary if you need the traffic to go via the mgt interface create a non-default static mgt route, if you want the traffic to go via the TMM interface make sure there is a TMM route, Brad has provided info on how to do both of these above, cheers

     

  • I have an un-routable IP assigned to a TMM interface and an routable IP assigned to a Mgmt Interface. Like everyone say i have two different routing table for management and for LTM traffic.

     

    But NTP use the un-routable IP to reach the NTP Server.

     

    So i need to define the NTP flux through the mgmt interface or an other interface with a Routed IP. So my question is how to configure NTP to specify this or this interface?

     

    Thx to everybody who anwser

     

    • Brad_Parker's avatar
      Brad_Parker
      Icon for Cirrus rankCirrus
      You can't assign it an interface. It will use the most specific route. It will first look in the mgmt routing table then the TMM routing table.
    • DALAC_Vincent_1's avatar
      DALAC_Vincent_1
      Icon for Nimbostratus rankNimbostratus
      How i could do that? Because NTP don't provide this type of configuration ? With the command "net route ntp" ?
    • Brad_Parker's avatar
      Brad_Parker
      Icon for Cirrus rankCirrus
      If you want to use the mgmt interface you would create a route in the mgmt routing table using the article I originally posted above. tmsh create /sys management-route ntp network /255.255.255.255 gateway