Netgear GSM7328Sv2 - ProSAFE 24+4 Gigabit Ethernet L3 Managed Stackable Switch 管理员指南

下载
页码 486
  Chapter 27.  DHCP L2 Relay and L3 Relay
 
   
|
     
425
ProSafe 7000 Managed Switch Release 8.0.3 
These Layer 2 devices typically operate only as bridges for the network and might not have 
an IPv4 address on the network. Lacking a valid IPv4 source address, they cannot relay 
packets directly to a DHCP server located on another network. These Layer 2 devices 
append the Relay agent information option and broadcast the DHCP message. This section 
provides information about where a Layer 2 relay agent fits in and how it is used. 
CLI: Enable DHCP L2 Relay
1. 
Enter the following commands:
(Netgear Switch)#vlan database
(Netgear Switch)(Vlan)#vlan 200
(Netgear Switch)(Vlan)#exit
2. 
Enable the DHCP L2 relay on the switch.
(Netgear Switch) (Config)#dhcp l2relay
(Netgear Switch) (Config)#dhcp l2relay vlan 200
3. 
(Netgear Switch) (Config)#dhcp l2relay circuit-id vlan 200
Enable the Option 82 Circuit ID field.
4. 
Enable the Option 82 Remote ID field.
(Netgear Switch) (Config)#dhcp l2relay remote-id rem_id vlan 200
5. 
Enable DHCP L2 relay on port 1/0/4.
(Netgear Switch) (Config)#interface 1/0/4
(Netgear Switch) (Interface 1/0/4)# dhcp l2relay
(Netgear Switch) (Interface 1/0/4)# vlan pvid 200
(Netgear Switch) (Interface 1/0/4)# vlan participation include 200
(Netgear Switch) (Interface 1/0/4)# exit