kdizzle wrote:Any ideas what could be wrong?
Your switch would need to have internet access to talk to a public time server such as "pool.ntp.org".
It would also need access to a DNS server to resolve the name to '208.75.89.4'
I DO NOT RECOMMEND PUTTING INFRASTRUCTURE EQUIPMENT ON THE NET DIRECTLY UNLESS YOU WANT PEOPLE TO TRY AND GAIN ACCESS TO IT?Since most people do not assign their infrastructure equipment a valid internet routable IP or even an IP that is routable to the internet via NAT they need to have a local NTP server that is routable to all their equipment inside their network as well as a DNS server if using a name instead of an IP.
At my WISP we have a "local" NTP server for all our equipment that has access to the internet but is pretty heavily firewalled out so as not to be a hack target but all of my internal invalid IPs have routable access to it from inside my network.
For instance most of my switches are located at 172.17.X.X addresses which are totally routable inside my network but can not route to the internet directly so no hacker can access them directly.
We also have this NTP server setup in our local DNS zone files so we can simply put the URL in for the NTP server.
For this to work our DNS servers also have ZONE files for our local IPs that route inside our network only.
So in closing if your switch does not have a direct routable address or a NAT routable address with access to the WWW you need to have a local NTP server accessible inside your network.
For instance if your switch is located at 10.10.10.10 and that subnet is not routed through a NAT then how do you expect it to reach a WWW public time server such as "pool.ntp.org" or '208.75.89.4' ?
IT CAN NOT