Specifying Gateways For The Client - HP 6125XLG Layer 3-Ip Services Configuration Manual

Blade switch
Table of Contents

Advertisement

Configuring a static binding in a DHCP address pool
Some DHCP clients, such as a WWW server, need fixed IP addresses. To provide a fixed IP address for
such a client, you can statically bind the MAC address or ID of the client to an IP address in a DHCP
address pool. When the client requests an IP address, the DHCP server assigns the IP address in the static
binding to the client.
Follow these guidelines when you configure a static binding:
One IP address can be bound to only one client MAC or client ID. You cannot modify bindings that
have been created. To change the binding for a DHCP client, you must delete the existing binding
first.
The IP address of a static binding cannot be the address of the DHCP server interface. Otherwise,
an IP address conflict occurs and the bound client cannot obtain an IP address correctly.
To configure static bindings for DHCP clients that reside on the same device and use the same MAC
address, you must specify the client ID rather than the MAC address to identify a requesting
interface. Otherwise, IP address allocation will fail.
To configure a static binding:
Step
1.
Enter system view.
2.
Enter address pool view.
3.
Configure a static binding.
4.
(Optional.) Specify the lease
duration for the IP address.

Specifying gateways for the client

DHCP clients send packets destined for other networks to a gateway. The DHCP server can assign the
gateway address to the DHCP clients.
You can specify gateway addresses in each address pool on the DHCP server. A maximum of eight
gateways can be specified in DHCP address pool view or secondary subnet view.
If you specify gateways in both address pool view and secondary subnet view, DHCP assigns the
gateway addresses in the secondary subnet view to the clients on the secondary subnet. If you specify
gateways in address pool view but not in secondary subnet view, DHCP assigns the gateway addresses
in address pool view to the clients on the secondary subnet.
To configure gateways in the DHCP address pool:
Step
1.
Enter system view.
Command
system-view
dhcp server ip-pool pool-name
static-bind ip-address ip-address
[ mask-length | mask mask ]
{ client-identifier client-identifier |
hardware-address
hardware-address [ ethernet |
token-ring ] }
expired { day day [ hour hour
[ minute minute [ second second ] ] ]
| unlimited }
Command
system-view
38
Remarks
N/A
N/A
By default, no static binding is
configured.
To add more static bindings,
repeat this step.
The default setting is 1 day.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents