使用 NETGEAR 7000 系列三层交换机的 DHCP Relay

本文将以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
  • 登陆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!