VirtualBox: How to sync host and guest time?












35















The time in my guest VM is faster than the host time by about 20-30 minutes. What can can I do so that the time in the guest is the same as on the host?










share|improve this question















migrated from stackoverflow.com Aug 18 '12 at 2:16


This question came from our site for professional and enthusiast programmers.























    35















    The time in my guest VM is faster than the host time by about 20-30 minutes. What can can I do so that the time in the guest is the same as on the host?










    share|improve this question















    migrated from stackoverflow.com Aug 18 '12 at 2:16


    This question came from our site for professional and enthusiast programmers.





















      35












      35








      35


      14






      The time in my guest VM is faster than the host time by about 20-30 minutes. What can can I do so that the time in the guest is the same as on the host?










      share|improve this question
















      The time in my guest VM is faster than the host time by about 20-30 minutes. What can can I do so that the time in the guest is the same as on the host?







      virtualbox






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 8 '14 at 1:47









      A-B-B

      7141713




      7141713










      asked Aug 16 '12 at 4:46







      kokloong











      migrated from stackoverflow.com Aug 18 '12 at 2:16


      This question came from our site for professional and enthusiast programmers.









      migrated from stackoverflow.com Aug 18 '12 at 2:16


      This question came from our site for professional and enthusiast programmers.
























          3 Answers
          3






          active

          oldest

          votes


















          14














          For a Linux host, first install the DKMS (Dynamic Kernel Module Support) package on the guest machine (source):



          $ sudo apt-get install dkms


          Then install Guest Additions into guest system:



          $ sudo apt-get install virtualbox-guest-additions


          Also, here are descriptions of some commands to tune VirtualBox time synchronization.






          share|improve this answer





















          • 2





            On recent distributions, you will change those packages for virtualbox-guest-dkms and virtualbox-guest-utils.

            – Yvan
            May 11 '18 at 9:39



















          29














          The following setup allows my guest to reliably maintain a time that is accurate to within 1 second of my host. It is tested with the host running VirtualBox 4.3.26 and the guest running the same version of VirtualBox Guest Additions. As for VirtualBox 5.x, I haven't thus far had any need to make these configuration changes; the time has automatically been in sync.



          Reference: https://www.virtualbox.org/manual/ch09.html#changetimesync





          On the host, list VMs to ascertain the name of the relevant VM.



          $ VBoxManage list vms | awk '{print $1}'
          "CentOS6"




          On the host, configure time synchronization parameters for the guest by running the commands below. First set $VMNAME with its appropriate value. If the value of $VMNAME contains a space, it should of course be quoted.



          $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-interval" 10000
          $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust" 100
          $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore" 1
          $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold" 1000


          The values of the time parameters above have been constrained to multiples of 10. It may be tempting to set timesync-set-threshold to 10000 instead, but this can risk a rather drastic time change when it's triggered, and may therefore break applications.





          On the host, view the updated relevant values for the guest. These can be reconfirmed at any time.



          $ VBoxManage guestproperty enumerate ${VMNAME} | grep timesync | sort
          Name: /VirtualBox/GuestAdd/VBoxService/--timesync-interval, value: 10000, timestamp: 1402110397618554000, flags:
          Name: /VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust, value: 100, timestamp: 1402110777505446000, flags:
          Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore, value: 1, timestamp: 1402110904964050000, flags:
          Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold, value: 1000, timestamp: 1402110660162295000, flags:




          On the guest, stop and disable all internal NTP and related timekeeping services. They should not be used as they are likely to interfere with VirtualBox. On a CentOS 6 guest:



          $ sudo /sbin/chkconfig ntpd off
          $ /sbin/chkconfig --list | grep ntp
          ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
          ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off




          On the guest, restart the service named vboxadd-service. Assuming Guest Additions was previously installed, this service would have been installed and enabled. On a CentOS 6 guest:



          $ /sbin/service vboxadd-service status
          Checking for VBoxService ...running
          $ sudo /sbin/service vboxadd-service restart
          Stopping VirtualBox Guest Addition service [ OK ]
          Starting VirtualBox Guest Addition service [ OK ]
          $ /sbin/service vboxadd-service status
          Checking for VBoxService ...running




          If the time on the guest is not yet synced, reboot the guest.






          share|improve this answer


























          • Thanks! The final step of restarting the vboxadd-service service is what got things working for me, and doesn't seem to be documented (at least at the link you gave).

            – j_random_hacker
            Feb 7 '18 at 16:56



















          1














          I give an other solution to sync time between guest & host without installing Virtualbox guest addition :




          1. Install NTP on your guest, and de-comment these lines in /etc/ntp.conf.


          disable auth
          broadcastclient



          1. Activate broadcast on your host. For linux users, edit your /etc/ntp.conf file and configure the line


          broadcast 192.168.123.255 


          For Windows users, activate the “Windows Time” service. You can then read this page to configure it to broadcast time






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f463106%2fvirtualbox-how-to-sync-host-and-guest-time%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown
























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            14














            For a Linux host, first install the DKMS (Dynamic Kernel Module Support) package on the guest machine (source):



            $ sudo apt-get install dkms


            Then install Guest Additions into guest system:



            $ sudo apt-get install virtualbox-guest-additions


            Also, here are descriptions of some commands to tune VirtualBox time synchronization.






            share|improve this answer





















            • 2





              On recent distributions, you will change those packages for virtualbox-guest-dkms and virtualbox-guest-utils.

              – Yvan
              May 11 '18 at 9:39
















            14














            For a Linux host, first install the DKMS (Dynamic Kernel Module Support) package on the guest machine (source):



            $ sudo apt-get install dkms


            Then install Guest Additions into guest system:



            $ sudo apt-get install virtualbox-guest-additions


            Also, here are descriptions of some commands to tune VirtualBox time synchronization.






            share|improve this answer





















            • 2





              On recent distributions, you will change those packages for virtualbox-guest-dkms and virtualbox-guest-utils.

              – Yvan
              May 11 '18 at 9:39














            14












            14








            14







            For a Linux host, first install the DKMS (Dynamic Kernel Module Support) package on the guest machine (source):



            $ sudo apt-get install dkms


            Then install Guest Additions into guest system:



            $ sudo apt-get install virtualbox-guest-additions


            Also, here are descriptions of some commands to tune VirtualBox time synchronization.






            share|improve this answer















            For a Linux host, first install the DKMS (Dynamic Kernel Module Support) package on the guest machine (source):



            $ sudo apt-get install dkms


            Then install Guest Additions into guest system:



            $ sudo apt-get install virtualbox-guest-additions


            Also, here are descriptions of some commands to tune VirtualBox time synchronization.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 29 at 17:16









            Meetai.com

            5311410




            5311410










            answered Aug 16 '12 at 7:59









            Nikita KrupenkoNikita Krupenko

            39424




            39424








            • 2





              On recent distributions, you will change those packages for virtualbox-guest-dkms and virtualbox-guest-utils.

              – Yvan
              May 11 '18 at 9:39














            • 2





              On recent distributions, you will change those packages for virtualbox-guest-dkms and virtualbox-guest-utils.

              – Yvan
              May 11 '18 at 9:39








            2




            2





            On recent distributions, you will change those packages for virtualbox-guest-dkms and virtualbox-guest-utils.

            – Yvan
            May 11 '18 at 9:39





            On recent distributions, you will change those packages for virtualbox-guest-dkms and virtualbox-guest-utils.

            – Yvan
            May 11 '18 at 9:39













            29














            The following setup allows my guest to reliably maintain a time that is accurate to within 1 second of my host. It is tested with the host running VirtualBox 4.3.26 and the guest running the same version of VirtualBox Guest Additions. As for VirtualBox 5.x, I haven't thus far had any need to make these configuration changes; the time has automatically been in sync.



            Reference: https://www.virtualbox.org/manual/ch09.html#changetimesync





            On the host, list VMs to ascertain the name of the relevant VM.



            $ VBoxManage list vms | awk '{print $1}'
            "CentOS6"




            On the host, configure time synchronization parameters for the guest by running the commands below. First set $VMNAME with its appropriate value. If the value of $VMNAME contains a space, it should of course be quoted.



            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-interval" 10000
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust" 100
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore" 1
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold" 1000


            The values of the time parameters above have been constrained to multiples of 10. It may be tempting to set timesync-set-threshold to 10000 instead, but this can risk a rather drastic time change when it's triggered, and may therefore break applications.





            On the host, view the updated relevant values for the guest. These can be reconfirmed at any time.



            $ VBoxManage guestproperty enumerate ${VMNAME} | grep timesync | sort
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-interval, value: 10000, timestamp: 1402110397618554000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust, value: 100, timestamp: 1402110777505446000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore, value: 1, timestamp: 1402110904964050000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold, value: 1000, timestamp: 1402110660162295000, flags:




            On the guest, stop and disable all internal NTP and related timekeeping services. They should not be used as they are likely to interfere with VirtualBox. On a CentOS 6 guest:



            $ sudo /sbin/chkconfig ntpd off
            $ /sbin/chkconfig --list | grep ntp
            ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
            ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off




            On the guest, restart the service named vboxadd-service. Assuming Guest Additions was previously installed, this service would have been installed and enabled. On a CentOS 6 guest:



            $ /sbin/service vboxadd-service status
            Checking for VBoxService ...running
            $ sudo /sbin/service vboxadd-service restart
            Stopping VirtualBox Guest Addition service [ OK ]
            Starting VirtualBox Guest Addition service [ OK ]
            $ /sbin/service vboxadd-service status
            Checking for VBoxService ...running




            If the time on the guest is not yet synced, reboot the guest.






            share|improve this answer


























            • Thanks! The final step of restarting the vboxadd-service service is what got things working for me, and doesn't seem to be documented (at least at the link you gave).

              – j_random_hacker
              Feb 7 '18 at 16:56
















            29














            The following setup allows my guest to reliably maintain a time that is accurate to within 1 second of my host. It is tested with the host running VirtualBox 4.3.26 and the guest running the same version of VirtualBox Guest Additions. As for VirtualBox 5.x, I haven't thus far had any need to make these configuration changes; the time has automatically been in sync.



            Reference: https://www.virtualbox.org/manual/ch09.html#changetimesync





            On the host, list VMs to ascertain the name of the relevant VM.



            $ VBoxManage list vms | awk '{print $1}'
            "CentOS6"




            On the host, configure time synchronization parameters for the guest by running the commands below. First set $VMNAME with its appropriate value. If the value of $VMNAME contains a space, it should of course be quoted.



            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-interval" 10000
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust" 100
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore" 1
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold" 1000


            The values of the time parameters above have been constrained to multiples of 10. It may be tempting to set timesync-set-threshold to 10000 instead, but this can risk a rather drastic time change when it's triggered, and may therefore break applications.





            On the host, view the updated relevant values for the guest. These can be reconfirmed at any time.



            $ VBoxManage guestproperty enumerate ${VMNAME} | grep timesync | sort
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-interval, value: 10000, timestamp: 1402110397618554000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust, value: 100, timestamp: 1402110777505446000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore, value: 1, timestamp: 1402110904964050000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold, value: 1000, timestamp: 1402110660162295000, flags:




            On the guest, stop and disable all internal NTP and related timekeeping services. They should not be used as they are likely to interfere with VirtualBox. On a CentOS 6 guest:



            $ sudo /sbin/chkconfig ntpd off
            $ /sbin/chkconfig --list | grep ntp
            ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
            ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off




            On the guest, restart the service named vboxadd-service. Assuming Guest Additions was previously installed, this service would have been installed and enabled. On a CentOS 6 guest:



            $ /sbin/service vboxadd-service status
            Checking for VBoxService ...running
            $ sudo /sbin/service vboxadd-service restart
            Stopping VirtualBox Guest Addition service [ OK ]
            Starting VirtualBox Guest Addition service [ OK ]
            $ /sbin/service vboxadd-service status
            Checking for VBoxService ...running




            If the time on the guest is not yet synced, reboot the guest.






            share|improve this answer


























            • Thanks! The final step of restarting the vboxadd-service service is what got things working for me, and doesn't seem to be documented (at least at the link you gave).

              – j_random_hacker
              Feb 7 '18 at 16:56














            29












            29








            29







            The following setup allows my guest to reliably maintain a time that is accurate to within 1 second of my host. It is tested with the host running VirtualBox 4.3.26 and the guest running the same version of VirtualBox Guest Additions. As for VirtualBox 5.x, I haven't thus far had any need to make these configuration changes; the time has automatically been in sync.



            Reference: https://www.virtualbox.org/manual/ch09.html#changetimesync





            On the host, list VMs to ascertain the name of the relevant VM.



            $ VBoxManage list vms | awk '{print $1}'
            "CentOS6"




            On the host, configure time synchronization parameters for the guest by running the commands below. First set $VMNAME with its appropriate value. If the value of $VMNAME contains a space, it should of course be quoted.



            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-interval" 10000
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust" 100
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore" 1
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold" 1000


            The values of the time parameters above have been constrained to multiples of 10. It may be tempting to set timesync-set-threshold to 10000 instead, but this can risk a rather drastic time change when it's triggered, and may therefore break applications.





            On the host, view the updated relevant values for the guest. These can be reconfirmed at any time.



            $ VBoxManage guestproperty enumerate ${VMNAME} | grep timesync | sort
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-interval, value: 10000, timestamp: 1402110397618554000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust, value: 100, timestamp: 1402110777505446000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore, value: 1, timestamp: 1402110904964050000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold, value: 1000, timestamp: 1402110660162295000, flags:




            On the guest, stop and disable all internal NTP and related timekeeping services. They should not be used as they are likely to interfere with VirtualBox. On a CentOS 6 guest:



            $ sudo /sbin/chkconfig ntpd off
            $ /sbin/chkconfig --list | grep ntp
            ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
            ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off




            On the guest, restart the service named vboxadd-service. Assuming Guest Additions was previously installed, this service would have been installed and enabled. On a CentOS 6 guest:



            $ /sbin/service vboxadd-service status
            Checking for VBoxService ...running
            $ sudo /sbin/service vboxadd-service restart
            Stopping VirtualBox Guest Addition service [ OK ]
            Starting VirtualBox Guest Addition service [ OK ]
            $ /sbin/service vboxadd-service status
            Checking for VBoxService ...running




            If the time on the guest is not yet synced, reboot the guest.






            share|improve this answer















            The following setup allows my guest to reliably maintain a time that is accurate to within 1 second of my host. It is tested with the host running VirtualBox 4.3.26 and the guest running the same version of VirtualBox Guest Additions. As for VirtualBox 5.x, I haven't thus far had any need to make these configuration changes; the time has automatically been in sync.



            Reference: https://www.virtualbox.org/manual/ch09.html#changetimesync





            On the host, list VMs to ascertain the name of the relevant VM.



            $ VBoxManage list vms | awk '{print $1}'
            "CentOS6"




            On the host, configure time synchronization parameters for the guest by running the commands below. First set $VMNAME with its appropriate value. If the value of $VMNAME contains a space, it should of course be quoted.



            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-interval" 10000
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust" 100
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore" 1
            $ VBoxManage guestproperty set ${VMNAME} "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold" 1000


            The values of the time parameters above have been constrained to multiples of 10. It may be tempting to set timesync-set-threshold to 10000 instead, but this can risk a rather drastic time change when it's triggered, and may therefore break applications.





            On the host, view the updated relevant values for the guest. These can be reconfirmed at any time.



            $ VBoxManage guestproperty enumerate ${VMNAME} | grep timesync | sort
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-interval, value: 10000, timestamp: 1402110397618554000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust, value: 100, timestamp: 1402110777505446000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore, value: 1, timestamp: 1402110904964050000, flags:
            Name: /VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold, value: 1000, timestamp: 1402110660162295000, flags:




            On the guest, stop and disable all internal NTP and related timekeeping services. They should not be used as they are likely to interfere with VirtualBox. On a CentOS 6 guest:



            $ sudo /sbin/chkconfig ntpd off
            $ /sbin/chkconfig --list | grep ntp
            ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
            ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off




            On the guest, restart the service named vboxadd-service. Assuming Guest Additions was previously installed, this service would have been installed and enabled. On a CentOS 6 guest:



            $ /sbin/service vboxadd-service status
            Checking for VBoxService ...running
            $ sudo /sbin/service vboxadd-service restart
            Stopping VirtualBox Guest Addition service [ OK ]
            Starting VirtualBox Guest Addition service [ OK ]
            $ /sbin/service vboxadd-service status
            Checking for VBoxService ...running




            If the time on the guest is not yet synced, reboot the guest.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 30 '17 at 0:16

























            answered Jun 8 '14 at 1:21









            A-B-BA-B-B

            7141713




            7141713













            • Thanks! The final step of restarting the vboxadd-service service is what got things working for me, and doesn't seem to be documented (at least at the link you gave).

              – j_random_hacker
              Feb 7 '18 at 16:56



















            • Thanks! The final step of restarting the vboxadd-service service is what got things working for me, and doesn't seem to be documented (at least at the link you gave).

              – j_random_hacker
              Feb 7 '18 at 16:56

















            Thanks! The final step of restarting the vboxadd-service service is what got things working for me, and doesn't seem to be documented (at least at the link you gave).

            – j_random_hacker
            Feb 7 '18 at 16:56





            Thanks! The final step of restarting the vboxadd-service service is what got things working for me, and doesn't seem to be documented (at least at the link you gave).

            – j_random_hacker
            Feb 7 '18 at 16:56











            1














            I give an other solution to sync time between guest & host without installing Virtualbox guest addition :




            1. Install NTP on your guest, and de-comment these lines in /etc/ntp.conf.


            disable auth
            broadcastclient



            1. Activate broadcast on your host. For linux users, edit your /etc/ntp.conf file and configure the line


            broadcast 192.168.123.255 


            For Windows users, activate the “Windows Time” service. You can then read this page to configure it to broadcast time






            share|improve this answer






























              1














              I give an other solution to sync time between guest & host without installing Virtualbox guest addition :




              1. Install NTP on your guest, and de-comment these lines in /etc/ntp.conf.


              disable auth
              broadcastclient



              1. Activate broadcast on your host. For linux users, edit your /etc/ntp.conf file and configure the line


              broadcast 192.168.123.255 


              For Windows users, activate the “Windows Time” service. You can then read this page to configure it to broadcast time






              share|improve this answer




























                1












                1








                1







                I give an other solution to sync time between guest & host without installing Virtualbox guest addition :




                1. Install NTP on your guest, and de-comment these lines in /etc/ntp.conf.


                disable auth
                broadcastclient



                1. Activate broadcast on your host. For linux users, edit your /etc/ntp.conf file and configure the line


                broadcast 192.168.123.255 


                For Windows users, activate the “Windows Time” service. You can then read this page to configure it to broadcast time






                share|improve this answer















                I give an other solution to sync time between guest & host without installing Virtualbox guest addition :




                1. Install NTP on your guest, and de-comment these lines in /etc/ntp.conf.


                disable auth
                broadcastclient



                1. Activate broadcast on your host. For linux users, edit your /etc/ntp.conf file and configure the line


                broadcast 192.168.123.255 


                For Windows users, activate the “Windows Time” service. You can then read this page to configure it to broadcast time







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Oct 2 '16 at 23:44









                JakeGould

                32.2k1098141




                32.2k1098141










                answered Dec 10 '15 at 9:06









                fred727fred727

                111




                111






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f463106%2fvirtualbox-how-to-sync-host-and-guest-time%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa