LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: 小红帽

防火墙上配置DHCP(双网卡),配置了内部的用户用DHCP,求助!

[复制链接]
发表于 2003-9-18 18:35:56 | 显示全部楼层
我的RH8。0也是
发表于 2003-9-18 22:40:00 | 显示全部楼层
大家有办法解决这个问题吗?
当一台机器自动获得ip后,系统不能自动更新DNS的记录,有什么办法解决这个问题吗?
我有看到一些解决方案但总是有问题的。大家有经验的能不能共享。
发表于 2004-7-28 17:05:48 | 显示全部楼层
option broadcast-address 192.168.1.1;
这句不对吧,广播地址是192.168.1.255
发表于 2004-7-29 07:58:39 | 显示全部楼层
看看这个,应该不会有问题的:
If you have more than one network interface attached to the system, but you only want the DHCP server to start on one of the interface, you can configure the DHCP server to start only on that device. In /etc/sysconfig/dhcpd, add the name of the interface to the list of DHCPDARGS:
    # Command line options here
    DHCPDARGS=eth0
This is useful if you have a firewall machine with two network cards. One network card can be configured as a DHCP client to retrieve an IP address to the Internet. The other network card can be used as a DHCP server for the internal network behind the firewall. Specifying only the network card connected to the internal network makes the system more secure because users can not connect to the daemon via the Internet.
发表于 2004-8-4 13:00:55 | 显示全部楼层

我找到解决办法了

如果配置完成后,不能启动。多是dhcpd.conf的问题,参照/usr/share/doc/dhcp3.0-pl1/dhcpd.conf.sample修改一下,把注释部分可以去掉。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表