免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1483 | 回复: 2
打印 上一主题 下一主题

[OpenBSD] 请大侠们帮我看下OpenBSD的Routed问题,谢谢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-07 16:09 |只看该作者 |倒序浏览
小弟试了一天了,请大侠们帮我看看,谢谢!!

在 FreeBSD 4.x 下(貌似正常的)

/etc/gateways的内容:
net 10.0.0.0/8 gateway 10.98.0.1 metric 1 passive
net 172.16.0.0/12 gateway 10.98.0.1 metric 1 passive
net 192.168.0.0/16 gateway 10.98.0.1 metric 1 passive


routed的输出信息:


  1. # routed -t -q
  2. # -- 15:42:28 --
  3. Tracing actions started
  4. Add interface passive(10.98.0.1) 10.98.0.1      -->192.168.0.0/16  metric=1 <REMOTE|PASSIVE>
  5. Add interface passive(10.98.0.1) 10.98.0.1      -->172.16.0.0/12   metric=1 <REMOTE|PASSIVE>
  6. Add interface passive(10.98.0.1) 10.98.0.1      -->10.0.0.0/8      metric=1 <REMOTE|PASSIVE>
  7. Add interface fxp0 10.98.0.3     -->10.98.0.0/21
复制代码


在 OpenBSD 3.8 下的提示(好像读取到的/etc/gateways的内容就是错的,读取的网络掩码依次向前串了一行)

/etc/gateways的内容:
net 10.0.0.0/8 gateway 10.99.6.1 metric 1 passive
net 172.16.0.0/12 gateway 10.99.6.1 metric 1 passive
net 192.168.0.0/16 gateway 10.99.6.1 metric 1 passive


routed的输出信息:


  1. # routed -t -q
  2. # -- 15:46:50 --
  3. Tracing actions started
  4. Add interface passive-                -->/8              metric=1 <REMOTE|PASSIVE>
  5. Add interface passive-10.0.0.0 10.99.6.1      -->/12             metric=1 <REMOTE|PASSIVE>
  6. Add interface passive-172.16.0.0 10.99.6.1      -->/16             metric=1 <REMOTE|PASSIVE>
  7. Add interface lo0  192.168.0.0    -->/32             <LOOPBACK> <PASSIVE>
  8. RCVBUF=61440
  9. Add interface pcn0 127.0.0.1      -->10.0.0.0/25     
  10. turn on RIP
  11. Add interface pcn0 61.155.28.0    -->172.16.0.0/25   <0x1>
  12. Add interface pcn1 61.155.28.0    -->192.168.0.0/23  
  13. routed: possible netmask problem betwen pcn1:127.0.0.1/23 and passive-172.16.0.0:10.99.6.0
  14. routed: possible netmask problem betwen pcn1:61.155.28.32/23 and passive-10.0.0.0:192.168.0.0
  15. routed: possible netmask problem betwen pcn1:10.99.6.32/23 and passive-:172.16.0.0
  16. Add interface pcn1 10.0.0.0       -->192.168.0.0/23  <0x1>
复制代码

论坛徽章:
0
2 [报告]
发表于 2005-11-07 20:11 |只看该作者
沉下去了,自己再顶一下,请各位看一下

论坛徽章:
1
水瓶座
日期:2014-03-20 18:21:14
3 [报告]
发表于 2005-11-08 13:26 |只看该作者
routed?
你用它干什么?
why not use OpenBGP?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP