hinetworking 发表于 2013-11-05 09:45

no dhcp or proxydhcp offers were received

我现在想通过网络安装ubuntu系统,不过在第一步dhcp中就出现了问题,提示如图片。环境如下:os:ubuntu12.04 dhcp-server ip:192.168.100.250通过dnsmasq去管理dhcp和tftp等软件,
dhcp配置文件 /etc/dhcp/dhcpd.conf如下:

subnet 192.168.100.0 netmask 255.255.128.0{
    range 192.168.100.18 192.168.100.50;
    }




dnsmasq配置文件 /etc/dnsmasq.conf如下:

dhcp-range=192.168.100.18,192.168.100.50,24h
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/var/lib/tftpboot
dhcp-authoritative
dhcp-option=3,192.168.100.250

在dhcp-server上,ps一下,查看dhcp的进程,结果如下:
root@Front:~# ps aux | grep dhcp
111       20660.00.0259721004 ?      S    Nov04   0:00 /usr/sbin/dnsmasq -u libvirt-dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override
root   199010.00.0   9792   976 pts/2    S+   09:44   0:00 grep --color=auto dhcp

关键是,之前我在之前某个局域网中这么装成功过一次,真不知道是什么原因了,请各位指教

7hin4 发表于 2013-11-15 13:46

你这dnsmasq进程是libvirt自带的,不是你配置的那个,仔细看下他的启动命令就知道了

hinetworking 发表于 2013-11-23 21:44

嗯,多谢回复,其实我去配置那个,不配置也是可以的。。。
回复 2# 7hin4


   

jcdd2013 发表于 2013-11-25 14:17

:wink:














315jcdd.com集成吊顶tscndd.com 集成墙面tscnqm.com

7hin4 发表于 2013-11-25 17:10

回复 3# hinetworking


    那个是小型的,配置简单,当然功能也少,模拟环境下用就差不多了

wenhq 发表于 2013-11-25 17:18

-listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254

你进程里的dhcp range跟你配置文件的不一致啊。。
页: [1]
查看完整版本: no dhcp or proxydhcp offers were received