简体   繁体   English

在OpenBSD5.7中配置OSPF

[英]configuration OSPF in OpenBSD5.7

Yesterday i tried to enable OSPF routing on OpenBSD 5.7 . 昨天,我尝试在OpenBSD 5.7上启用OSPF路由。 so i created "/etc/ospfd.conf" and added this codes to it ( just for test ) 所以我创建了“ /etc/ospfd.conf”并添加了此代码(仅用于测试)

router-id 127.0.0.1

area 0.0.0.0 {
    interface em0
}

but after type /etc/rc.d/ospfd -fd start i got this logs in terminal 但是在键入/etc/rc.d/ospfd -fd start我在终端中得到了这个日志

doing _rc_parse_conf
doing _rc_quirks
ospfd_flags empty, using default ><
doing _rc_read_runfile
doing rc_check
ospfd
doing rc_start
/etc/ospfd.conf: group writable or world read/writable
doing _rc_rm_runfile
(failed)

can any body tell me why i got this ? 谁能告诉我我为什么得到这个? Note : my OpenBSD is running under vitualbox4.3 and host system is Fedora22 注意:我的OpenBSD在vitualbox4.3下运行,主机系统为Fedora22。

/etc/ospfd.conf: group writable or world read/writable /etc/ospfd.conf:组可写或世界可读/可写

means that you have not correct rights for file. 表示您没有正确的文件权限。

chmod 640 /etc/ospfd.conf

must help. 必须帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM