|
|

楼主 |
发表于 2006-4-3 17:24:21
|
显示全部楼层
非常感谢springwind426兄 我的局域网机器能上网了,可是又有了个问题
我用了DHCP服务分配IP地址
可是启动DHCP后 提示我:
No subnet declaration for eth1 (222.161.60.42).
** Ignoring requests on eth1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1 is attached. **
局域网内的机器到是自动分配到IP了可是它不能上网了,能再帮我解决一下吗
我eth0是内网 eth1连光纤
/etc/dhcpd 内容是:
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0{
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name "cctourcollege.com";
option domain-name-servers 192.168.1.1;
range 192.168.1.2 192.168.1.250;
default-lease-time 43200;
max-lease-time 86400;
}
我要怎么改? |
|