在linux下我的dhcp 配置好了,但是无法获取,是什么原因?

[复制链接]
查看11 | 回复1 | 2011-7-7 13:47:29 | 显示全部楼层 |阅读模式
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.192 {
# --- default gateway

option routers
192.168.1.2;

option subnet-mask
255.255.255.192;

option nis-domain
"lqy.com";

option domain-name
"lqy.com";

option domain-name-servers
192.168.1.1;
#
option ntp-servers
192.168.1.1;
#
option netbios-name-servers
192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#
option netbios-node-type 2;

range dynamic-bootp 192.168.1.5192.168.1.45;

default-lease-time 21600;

max-lease-time 43200;

# we want the nameserver to appear at a fixed address

host ns {

next-server marvin.redhat.com;

hardware ethernetD0:27:88:3B:87:13;

fixed-address 192.168.1.1;

回复

使用道具 举报

千问 | 2011-7-7 13:47:29 | 显示全部楼层
如果能启动DHCP服务。你查看下要获取网络的Linux主机网络是静态的还是DHCP,要把静态改为DHCP!...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行