Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Replying to NTP requests from a Virtual Server IP

Ctan
Nimbostratus
Nimbostratus

Hi, I am trying to configure the F5 to function as a NTP server, but through a virtual server instead of a self IP.

The KB only has information about setting it up on a self IP.

Is this possible?

https://support.f5.com/csp/article/K14120

6 REPLIES 6

Kin
F5 Employee
F5 Employee

Big-IP as NTP server - DevCentral (f5.com)

may be useful... In the above use case, it's a Performance (layer 4), UDP virtual server with Pool created consisting of NTP servers. If things don't work, try toggling "Port translation", SNAT= Automap, and take tcpdumps at the BIG-IP and NTP servers to verify requests are reaching. Hope it works out.

Ctan
Nimbostratus
Nimbostratus

Good stuff.. but unfortunately not quite the use case I'm looking for.

Due to the security requirements of our environment the NTP servers are unreachable from the data plane of the F5. So the goal was to hopefully have the F5 sync up to our stratum1 servers via the management interface, then service requests from clients via a VS.

Is there a way to have the F5 process NTP requests from a VS or to redirect requests from into the VS into a self IP?

 

Kin
F5 Employee
F5 Employee

I may not have connected the dots fully on the security requirements, but to the last qn: The system does not allow us to create a self IP and add it as a pool member. So one way to direct requests from a VS to a self IP is through a Forwarding virtual server with the same IP address as the SelfIP. The forwarding VS can have the configuration described in the UDP VS in Overview of IP forwarding virtual servers (f5.com)

Ctan
Nimbostratus
Nimbostratus

I'll describe the actual scenario so it makes more sense: We currently have an old cisco router providing NTP services for our client network running over 900 terminals. The router is unfortunately on its last legs due to age and needs to be taken out of the network. 

The plan is to configure the router's IP address as a VS on the F5 and have it do NTP without having to reconfigure the terminals individually.

The security contraint i mentioned is that the primary NTP servers behind the F5 are only reachable via tha management interfaces and are on a completely separate network, so i can't use it as a pool as it won't be reachable.

Was hoping there was a way to do a combination of NAT or rerouting that can be done on just the F5 so that I avoid having to stick NAT somewhere upstream.

 

Kin
F5 Employee
F5 Employee

I was able to configure big-ip as an NTP server taking requests through the VS forwarding to the SelfIP. And through the managment interface sync with a 'lower numbered stratum' NTP server. I didn't need this in my environment, but this may be useful. 

K13284: Overview of management interface routing (11.x - 17.x)

Hi,

The way i read the article is that the f5 is setup as a ntp client to sync its time.
Not sure if the firewall will be open to allow udp 123 incoming to a self-ip address or vip.
And if you can setup a vip, you'll some how need to point the pool at itself for time time.
Must admit not to sure how to do this.
My implementions of NTP have been on simple linux servers 3-4 in a suitable location so they are secure and auditable by the security team for the log auditing policies.
Have you got any way to sping up 3-4 small linux boxes and use those instead?