Configure NTP source ip

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
I am running EXOS 15.7.1 on an X670-G2 and im trying to configure NTP.
the ntp server is a few hops away and the connection from the switch to next router is using a point to point /30 vlan.
when it sends an ntp request it uses the source ip of the /30 point to point vlan, but i need it to use a different self ip.
is anyway to configure what ip to use to when sending ntp requests?
Photo of ElCap

ElCap

  • 90 Points 75 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Senguttuvan, Arun

Senguttuvan, Arun, Employee

  • 876 Points 500 badge 2x thumb
Hi,

There isn't a feature to specify the source VLAN to carry the NTP request.
Photo of ElCap

ElCap

  • 90 Points 75 badge 2x thumb
ok thanks for the info, ill have to work out a way around it.
Photo of Carsten Buchenau

Carsten Buchenau

  • 946 Points 500 badge 2x thumb
Exactly my problem as well - is there a way to change the source ip-address, e.g. via ACL?
Photo of ElCap

ElCap

  • 90 Points 75 badge 2x thumb
i didnt find a way... i ended up using the p2p ip and had to get the ntp server to allow it.
Photo of Carsten Buchenau

Carsten Buchenau

  • 946 Points 500 badge 2x thumb
Thanks for your quick reply!

I can't do that: The provider is blocking traffic from that IP, as it's for BGP transit only.

Will let you know when (if) I have a solution...
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
Just a thought but could you set a static route in the routing table to force it out of a specific interface via next hop?
Photo of Carsten Buchenau

Carsten Buchenau

  • 946 Points 500 badge 2x thumb
We are currently thinking of something similar. If I do just that, it will be redirected at the next hop back to original router and then routed again to next hop... so it has to be combined with an ACL as well, overwriting the static route in case it comes back.
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
...or static routes/PBR all along the path.