弱智 发表于 2004-04-19 21:45

OpenBSD中作DHCP client时的问题

如题,purge今天碰到问题:
在一台双网卡pc上面设置NAT;
安装到网卡设置,外网网卡是dhcp client,
系统也能自动侦测出DHCP 服务器是10.0.0.2,
但是迟迟不能分配到地址,(在linux和winxp都可以分配到10.3.5.x)
出现"Invalid lease option",
然后结束。

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

弱智 发表于 2004-04-19 21:52

OpenBSD中作DHCP client时的问题

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

dennis2 发表于 2004-04-20 11:14

OpenBSD中作DHCP client时的问题

你的 /etc/dhclient.conf ?

弱智 发表于 2004-04-20 11:47

OpenBSD中作DHCP client时的问题

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

dennis2 发表于 2004-04-20 12:07

OpenBSD中作DHCP client时的问题

后面少了 ';' ?

弱智 发表于 2004-04-20 19:24

OpenBSD中作DHCP client时的问题

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

peter333 发表于 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

peter333 发表于 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"?

弱智 发表于 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.

kinux 发表于 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
页: [1] 2 3
查看完整版本: OpenBSD中作DHCP client时的问题