SMC Networks SMC8724ML3 Switch User Manual


 
C
ONFIGURING
THE
S
WITCH
3-246
CLI – This example enables the DHCP and sets an excluded address
range.
Configuring Address Pools
You must configure IP address pools for each IP interface that will provide
addresses to attached clients via the DHCP server.
Command Usage
First configure address pools for the network interfaces. Then you can
manually bind an address to a specific client if required. However, note
that any static host address must fall within the range of an existing
network address pool. You can configure up to 8 network address pools,
and up to 32 manually bound host address pools (i.e., one address per
host pool).
When a client request is received, the switch first checks for a network
address pool matching the gateway where the request originated (i.e., if
the request was forwarded by a relay server). If there is no gateway in the
client request (i.e., the request was not forwarded by a relay server), the
switch searches for a network pool matching the interface through which
the client request was received. It then searches for a manually
configured host address that falls within the matching network pool. If
no manually configured host address is found, it assigns an address from
the matching network address pool. However, if no matching address
pool is found the request is ignored.
When searching for a manual binding, the switch compares the client
identifier and then the hardware address for DHCP clients. Since
BOOTP clients cannot transmit a client identifier, you must configure a
hardware address for this host type. If no manual binding has been
specified for a host entry with a hardware address or client identifier, the
switch will assign an address from the first matching network pool.
Console(config)#service dhcp 4-162
Console(config)#ip dhcp excluded-address 10.1.0.250
10.1.0.254 4-163
Console#