无线网卡dhcp服务器,ubuntu11.10配置无线网卡dhcp服务器记录(not authoritative for subnet 192.168.1.0问题解决)...

option routers 192.168.1.100;

}

如果有DNS服务器的选项 本机要配置一下DNS服务

apt-get install bind9

/etc/bind9/named.conf.options中的forwarders部分添加DNS服务器地址

3、修改 /etc/default/isc-dhcp-server

INTERFACES="ra0"

4、/etc/init.d/isc-dhcp-server restart

cat /var/log/syslog 可查看dhcp工作日志

问题:

第一次配置时注释了authoritative

May 12 12:11:35 team dhcpd: DHCPDISCOVER from ec:55:f9:c3:b7:58 via

ra0

May 12 12:11:35 team dhcpd: DHCPOFFER on 192.168.1.60 to

ec:55:f9:c3:b7:58 (polaylaptop) via ra0

May 12 12:11:36 team dhcpd: DHCPREQUEST for 192.168.1.60

(192.168.1.100) from ec:55:f9:c3:b7:58 (polaylaptop) via ra0

May 12 12:11:36 team dhcpd: DHCPACK on 192.168.1.60 to

ec:55:f9:c3:b7:58 (polaylaptop) via ra0

May 12 12:11:40 team dhcpd: DHCPINFORM from 192.168.1.60 via ra0:

not authoritative for subnet 192.168.1.0

May 12 12:11:40 team dhcpd: If this DHCP server is authoritative

for that subnet,

May 12 12:11:40 team dhcpd: please write an `authoritative;'

directive either in the

May 12 12:11:40 team dhcpd: subnet declaration or in some scope

that encloses the

May 12 12:11:40 team dhcpd: subnet declaration - for example, write

it at the top

May 12 12:11:40 team dhcpd: of the dhcpd.conf file.

May 12 12:11:43 team dhcpd: DHCPINFORM from 192.168.1.60 via ra0:

not authoritative for subnet 192.168.1.0

将authoritative加上即可

之后:

May 12 12:17:21 team dhcpd: Wrote 1 leases to leases file.

May 12 12:17:51 team dhcpd: DHCPREQUEST for 192.168.1.60 from

ec:55:f9:c3:b7:58 (polaylaptop) via ra0

May 12 12:17:51 team dhcpd: DHCPACK on 192.168.1.60 to

ec:55:f9:c3:b7:58 (polaylaptop) via ra0

May 12 12:17:58 team dhcpd: DHCPINFORM from 192.168.1.60 via

ra0

May 12 12:17:58 team dhcpd: DHCPACK to 192.168.1.60

(ec:55:f9:c3:b7:58) via ra0

ok

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值