免费注册 查看新帖 |

Chinaunix

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

[OpenBSD] OpenBSD中作DHCP client时的问题 [复制链接]

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-19 21:45 |只看该作者 |倒序浏览
如题,purge今天碰到问题:
在一台双网卡pc上面设置NAT;
安装到网卡设置,外网网卡是dhcp client,
系统也能自动侦测出DHCP 服务器是10.0.0.2,
但是迟迟不能分配到地址,(在linux和winxp都可以分配到10.3.5.x)
出现"Invalid lease option",
然后结束。

也找了google和 bsdforums.org上面的一些,不太明白。
望指教,谢谢。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
2 [报告]
发表于 2004-04-19 21:52 |只看该作者

OpenBSD中作DHCP client时的问题

补充一下,purge在自己的家里用的DSL Modem;带路由,同样的设置可以很好地从DSL Modem里面的dhcp server获得C类ip地址。

论坛徽章:
0
3 [报告]
发表于 2004-04-20 11:14 |只看该作者

OpenBSD中作DHCP client时的问题

你的 /etc/dhclient.conf ?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
4 [报告]
发表于 2004-04-20 11:47 |只看该作者

OpenBSD中作DHCP client时的问题

$cat /etc/dhclient.conf
send dhcp-lease-time 7200

论坛徽章:
0
5 [报告]
发表于 2004-04-20 12:07 |只看该作者

OpenBSD中作DHCP client时的问题

后面少了 ';' ?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2004-04-20 19:24 |只看该作者

OpenBSD中作DHCP client时的问题

谢谢楼上兄台的回复,只有明天再看看是否为这个原因了。
如果不是,可能还有什么原因呢?

论坛徽章:
0
7 [报告]
发表于 2004-04-20 22:13 |只看该作者

OpenBSD中作DHCP client时的问题

Hi, my friend,
How's going? Your are our boss and the master of BSD. I don't think there is a problem you can't fix it. By the way, which BSD you use ? I mean Openbsd or Freebsd? I can try on my Openbsd machine if you use Openbsd. Good luck.

Best

peter

论坛徽章:
0
8 [报告]
发表于 2004-04-20 22:19 |只看该作者

OpenBSD中作DHCP client时的问题

How did you setup your DNS and default gateway? can you ping your default gateway or something like "www.yahoo.com"?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
9 [报告]
发表于 2004-04-20 22:56 |只看该作者

OpenBSD中作DHCP client时的问题

hi there, i'm still a newbie in *nix, includes the OBSD.

and when i ping any site excepts the ip in LAN,
it prompts me the "no route ....." and so on.

thanx.

论坛徽章:
0
10 [报告]
发表于 2004-04-20 23:13 |只看该作者

OpenBSD中作DHCP client时的问题

原帖由 "弱智" 发表:
hi there, i'm still a newbie in *nix, includes the OBSD.

and when i ping any site excepts the ip in LAN,
it prompts me the "no route ....." and so on.

thanx.


看了吧..
http://www.openbsd.org/faq/faq6.html#Intro
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP