How to setup guest to use host as NTP server

asked 2017-05-11 14:15:20 -0600

tiger gravatar image

I'd appreciate a link to a succinct reference of how to set this up. I have a Centos 7 host with multiple VM in a private 10.10.1.0/24 network. NTPD is running on host. /etc/ntp.conf is set up to allow anyone to use it as NTP server. The problem is the networking between guest and host.

Running tshark on port 123, I see requests come from 10.10.1.10 to 10.10.1.1 but they are rejected with ICMP port unreachable. NTPD is listening on 0.0.0.0 but apparently not on interfaces that are virtual / bound by a namespace

How to set up the host to reply to NTP requests from its guests? Thanks!

edit retag flag offensive close merge delete

Comments

OK, I must be the only one to ever want to use the host as ntpd server for the guest(s). If I solve this, is there anyone interested in how I did it?

tiger gravatar imagetiger ( 2017-05-11 19:18:40 -0600 )edit

Please provide more information. Are those guests OpenStack instances? If not, it's strange that you ask this question in an OpenStack forum, but in any case, what hypervisor are you using? What do you mean with "private network"? What is 10.10.1.1? Is there a firewall on the host?

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-12 07:07:46 -0600 )edit