Enterasys C5G124-24 Configuration Manual page 74

Fixed switch platforms
Hide thumbs Also See for C5G124-24:
Table of Contents

Advertisement

DHCP Configuration
The subnet of the IP address being issued should be on the same subnet as the ingress
interface (that is, the subnet of the host IP address of the switch, or if routing interfaces are
configured, the subnet of the routing interface).
A manual pool can be configured using either the client's hardware address (set dhcp pool
hardware-address) or the client's client-identifier (set dhcp pool client-identifier), but using
both is not recommended.
If the incoming DHCP request packet contains a client-identifier, then a manual pool
configured with that client-identifier must exist on the switch in order for the request to be
processed. The hardware address is not checked.
A hardware address and type (Ethernet or IEEE 802) configured in a manual pool is checked
only when a client-identifier is not also configured for the pool and the incoming DHCP
request packet does not include a client-identifier option.
Refer to the CLI Reference for your platform for details about the commands listed below.
Procedure 4-7 Manual IP Address Pool Configuration
Step
1.
2.
3.
4.
5.
6.
Examples
This example configures a manual pool using 0001.f401.2710 as the Ethernet MAC address for the
manual address pool named "manual2." Alternatively, the MAC address could have be entered as
00:01:f4:01:27:10. The default type of 1, Ethernet, is accepted.
The IP address that is to be assigned to this client is then configured, and a lease duration of 12
hours is specified, by entering 0 for days and 12 for hours.
B5(su)->set dhcp pool manual2 hardware-address 0001.f401.2710
B5(su)->set dhcp pool manual2 host 192.0.0.200 255.255.255.0
B5(su)->set dhcp pool manual2 lease 0 12
This example configures a manual pool using a client identifier for a client whose client hardware
type is Ethernet and MAC address is 00:01:22:33:44:55. Concatenating these two values, the client
4-22 System Configuration
Task
Create the pool using either the client's
hardware address or client-identifier.
Hardware address = the MAC address of client's
hardware platform
Client identifier = concatenation of media type
and MAC address of client's hardware platform
For a list of media type codes, refer to the
"Address Resolution Protocol Parameters"
section of RFC 1700, Assigned Numbers.
Specify the IP address and mask to be assigned
to that client.
If desired, assign a name to the client.
If desired, specify the duration of the lease for an
IP address assigned from this address pool.
If not specified, the default lease time is one day.
Optionally, configure other pool parameters
Display the pool configuration.
Command(s)
set dhcp pool poolname hardware-
address mac-addr [type]
or
set dhcp pool poolname client-
identifier id
set dhcp pool poolname host ip-
address [mask | prefix-length]
set dhcp pool poolname client-name
name
set dhcp pool poolname lease {days
[hours [minutes]] | infinite}
See
Table 4-8
on page 4-23
show dhcp pool configuration
{poolname | all}

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents