本文档适用于 NETGEAR 10/100M 三层全网管交换机,包括但不限于以下型号:
型号 |
Firmware 版本 |
FSM7326P |
3*-6.* |
GSM7312 |
3.*-6.* |
GSM7324 |
3.*-6.* |
GSM7328S |
5.*-6.* |
GSM7352S |
5.*-6.* |
GSM7328FS |
5.*-6.* |
一、准备工作
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
- 登陆GSM7324管理页面 http://192.168.0.238,展开导航目录 Management>Access>Relay Configuration,在该页将 Admin Mode改为Enable,Server IP Address设为192.168.0.200。其他使用默认。
三、 通过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!
序号 no. |
日期 date |
作者 author |
摘要 summary |
1 |
2010-10-27 |
Weifeng.Yang |
文档创建 |
2 |
2010-11-15 |
Weifeng Yang |
文档校对 |