Netgear GSM7248v2 - ProSAFE 48 Port Layer 2 Gigabit L2 Ethernet Switch 管理者ガイド
![Netgear](https://files.manualsbrain.com/attachments/cf1ad5de25a3f8d6c88ef0ab489c1b137eebe11f/common/fit/150/50/17742d1e0cdacf24edeb88c30757620088415c5f7699f69b4517262e21e0/brand_logo.jpeg)
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.
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