beautypg.com

Configuring the netbios node type for the client, Configuring the default router for the client, Configuring the address lease time – Cisco 32369 User Manual

Page 7: Configuring manual bindings, Configuring manual bindings (optional)

background image

Configuring the NetBIOS Node Type for the Client

Cisco IOS DHCP Server 7

Configuring the NetBIOS Node Type for the Client

The NetBIOS node type for Microsoft DHCP clients can be one of four settings: broadcast,
peer-to-peer, mixed, or hybrid. To configure the NetBIOS node type for a Microsoft DHCP, use the
following command in DHCP pool configuration mode:

Configuring the Default Router for the Client

After a DHCP client has booted, the client begins sending packets to its default router. The IP address
of the default router should be on the same subnet as the client. To configure a default router for a
DHCP client, use the following command in DHCP pool configuration mode:

Configuring the Address Lease Time

By default, each IP address assigned by a DHCP server comes with a one-day lease, which is the
amount of time that the address is valid. To change the lease value for an IP address, use the
following command in DHCP pool configuration mode:

Configuring Manual Bindings

An address binding is a mapping between the IP address and Media Access Control (MAC) address
of a client. The IP address of a client can be assigned manually by an administrator or assigned
automatically from a pool by a DHCP server.

Manual bindings are IP addresses that have been manually mapped to the MAC addresses of hosts
that are found in the DHCP database. Manual bindings are stored in NVRAM on the DHCP server.
Manual bindings are just special address pools. There is no limit on the number of manual bindings
but you can only configure one manual binding per host pool.

Automatic bindings are IP addresses that have been automatically mapped to the MAC addresses of
hosts that are found in the DHCP database. Automatic bindings are stored on a remote host called a
database agent. The bindings are saved as text records for easy maintenance.

To configure a manual binding, first create a host pool, then specify the IP address and hardware
address of the client or client identifier. The hardware address is the MAC address. The client
identifier, which is required for Microsoft clients (instead of hardware addresses), is formed by
concatenating the media type and the MAC address of the client. Refer to the “Address Resolution
Protocol Parameters” section of RFC 1700, Assigned Numbers, for a list of media type codes.

Command

Purpose

Router(config-dhcp)# netbios-node-type
type

Specifies the NetBIOS node type for a Microsoft DHCP client.

Command

Purpose

Router(config-dhcp)# default-router
address [address2 ... address8]

Specifies the IP address of the default router for a DHCP client.
One IP address is required, although you can specify up to
eight addresses in one command line.

Command

Purpose

Router(config-dhcp)# lease {days
[hours][minutes] | infinite}

Specifies the duration of the lease. The default is a a one-day
lease.