- 使用 NETGEAR 7000 系列三层交换机的 DHCP Relay
-
发布时间:2010-11-08 13:24:12
发布时间:2010-11-08 13:24:12
本文将以GSM7324为例介绍如何在Netgear 7000系列三层交换机(FSM7326P,FSM7328S,FSM7352S,GSM7312,GSM7324)上启用DHCP Relay功能。
一、 准备工作
DHCP服务器(IP:192.168.0.200,分别为VLAN2-5创建四个相应的作用域),GSM7324交换机,设置GSM7324的管理地址(192.168.0.238/24),在GSM7324增加四个VLAN(VLAN2,VLAN3,VLAN4,VLAN5),设置VLAN包含的端口,VLAN的路由Interface。
VLAN |
Port Included |
Routing Interface |
VLAN IP |
VLAN1 |
17-24 |
3/1 |
192.168.0.238/24 |
VLAN2 |
1-4 |
3/2 |
172.16.2.1/24 |
VLAN3 |
5-8 |
3/3 |
172.16.3.1/24 |
VLAN4 |
9-12 |
3/4 |
172.16.4.1 |
VLAN5 |
13-16 |
3/5 |
172.16.5.1 |
如图:
二、 在Web页面启用DHCP Relay
三、 通过CLI/TELNET设置DHCP Relay
命令如下:
(GSM7324)
User:admin
Password:
NOTE: Enter '?' for Command Help. Command help displays all options
that are valid for the 'normal' and 'no' command forms.For
the syntax of a particular command form, please consult the
documentation.
(GSM7324) >enable
Password:
(GSM7324) #config
(GSM7324) (Config)#no bootpdhcprelay disable
//取消DHCP Relay的禁用
(GSM7324) (Config)#bootpdhcprelay serverip 192.168.0.200
//设置DHCP Relay的服务器地址
(GSM7324) (Config)#exit
(GSM7324) #copy system:running-config nvram:startup-config
Are you sure you want to save? (y/n) y
Configuration Saved!