首 页技术资讯下载中心誉天IT认证新社区注册会员联系我们在线报名咨询 武汉誉天IT教育网
搜索
下载 文章 视频
您当前的位置:誉天IT认证下载站 -> 技术资讯 -> 系统管理 -> LINUX系统 -> 资讯内容 退出登录 用户管理

Linux操作系统下NTP服务的配置注意事项

  作者:不详    2008-4-16 16:08:16    

在Linux下NTP的标准配置中,许多关于同步的方式不同,注意以下事项:

如果不想让其它任何服务器访问本机的NTP服务:此配置也将造成本地的NTP无法访问外部的NTP服务: 

If you want to deny all machines from accessing your NTP server, add the following line to /etc/ntp.conf:

restrict default ignore

如果允许本地的服务器访问本机的NTP服务,配置如下:

If you only want to allow machines within your own network to synchronize their clocks with your server, but ensure they are not allowed to configure the server or used as peers to synchronize against, add

restrict 192.168.1.0 mask 255.255.255.0 nomodify(限制修改) notrap(限制trap) noquery(限制查询) 注:应当解除noquery

其中default为0.0.0.0/0

restrict default nomodify notrap

有些情况下,除非取消notrust/nomodify/notrap配置,client段的ntp服务才能有效工作。

[] [返回上一页] [打 印] [收 藏] 减小字体 增大字体
· 最新IT资讯·
· 思科认证资讯 ·
· 誉天最新快讯 ·
· 网络安全教程 ·
· CISCO认证教程 ·
· 装机系统工具 ·
关于我们 | 论坛社区 | 下载声明 | 友情连接 | 网站导航 | 在线咨询 | 联系我们 | 酷站目录 | 帮助中心
誉天IT下载站..誉天教育集团(武汉思科专业培训.CCIE征战部落)
地址:武汉市雄楚大街268号湖北出版文化城C座8楼 网站执行:吴金龙
客服QQ(报名咨询):147468 710991 360461900 电话:027-87678220、027-50248899
Copyright 2005-2007 © 51chongdian.net Inc. All Rights Reserved.