LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1727|回复: 5

DHCP relay 配置

[复制链接]
发表于 2006-8-21 12:03:03 | 显示全部楼层 |阅读模式
# What servers should the DHCP relay forward requests to?
SERVERS=""

# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
INTERFACES=""

# Additional options that are passed to the DHCP relay daemon?
OPTIONS=""

我用来做DHCP的机器是 172.31.3.254 和DEBIAN  eth0连接
DEBIAN机器下需要RELAY的端口是eht1 是172.31.1.0/24
发表于 2006-8-21 15:44:01 | 显示全部楼层
http://www.redhat.com/docs/manua ... iguring-server.html

看看这里是不是你缺了什么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-21 16:23:50 | 显示全部楼层
我的把DHCP IP设置为:192.168.1.254  
LINUX eth0:192.168.1.1  eth1:172.31.0.1
PC接在eth1上,配置文件各种方法都试了,我是DEBIAN的系统应该不差什么吧
回复 支持 反对

使用道具 举报

发表于 2006-8-21 16:48:19 | 显示全部楼层
你试试手动运行 dhcrelay 看看效果?
回复 支持 反对

使用道具 举报

发表于 2006-8-21 16:58:35 | 显示全部楼层
SERVER写你的DHCPD地址.
INTERFACE写参与活动的所有端口
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-22 09:33:56 | 显示全部楼层
# What servers should the DHCP relay forward requests to?
SERVERS="192.168.1.254"

# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
INTERFACES="eth0 eth1 eth2"

# Additional options that are passed to the DHCP relay daemon?
OPTIONS=""

我把连接DHCP的端口和需要获取DHCP的端口都加到INTERFACES 里面就可以了,谢谢
回复 支持 反对

使用道具 举报

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

本版积分规则

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