11.06.2015 Views

ES4626-SFP Management Guide.pdf

ES4626-SFP Management Guide.pdf

ES4626-SFP Management Guide.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

configuration as well as various commands useful in network configuration to meet<br />

different user needs. The definition of option code is described in detail in RFC2123.<br />

Example: Setting the WWW server address as 10.1.128.240.<br />

Switch(dhcp-1-config)#option 72 ip 10.1.128.240<br />

11.2.2.19 service dhcp<br />

Command: service dhcp<br />

no service dhcp<br />

Function: Enables DHCP server; the “no service dhcp” command disables the DHCP<br />

service.<br />

Default: DHCP service is disabled by default.<br />

Command mode: Global Mode<br />

Usage <strong>Guide</strong>: Both DHCP server and DHCP relay are included in the DHCP service.<br />

When DHCP services are enabled, both DHCP server and DHCP relay are enabled.<br />

ES4624-<strong>SFP</strong>/<strong>ES4626</strong>-<strong>SFP</strong> switch can only assign IP address for the DHCP clients and<br />

enable DHCP relay when DHCP server function is enabled.<br />

Example: Enabling DHCP server.<br />

Switch(Config)#service dhcp<br />

11.3 DHCP Relay Configuration<br />

When the DHCP client and server are in different segments, DHCP relay is required<br />

to transfer DHCP packets. Adding a DHCP relay makes it unnecessary to configure a<br />

DHCP server for each segment, one DHCP server can provide the network configuration<br />

parameter for clients from multiple segments, which is not only cost-effective but also<br />

management-effective.<br />

DHCPDiscover(Broadcast)<br />

DHCPDiscover<br />

DHCPOFFER(Unicast)<br />

DHCPOFFER<br />

DHCPREQUEST(Broadcast)<br />

DHCPREQUEST<br />

DHCP Client<br />

DHCPACK(Unicast)<br />

DHCP Relay<br />

DHCPACK<br />

DHCP Server<br />

Fig 10-2 DHCP relay<br />

As shown in the above figure, the DHCP client and the DHCP server are in different<br />

networks, the DHCP client performs the four DHCP steps as usual yet DHCP relay is<br />

added to the process.<br />

1. The client broadcasts a DHCPDISCOVER packet, and DHCP relay inserts its<br />

own IP address to the relay agent field in the DHCPDISCOVER packet on<br />

339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!