beautypg.com

Disable compression

Page 15: Dhcp commands

background image

disable compression

Description: This command disables compression over the specified interface.

enable compression

Description: This command enables compression over the specified interface.

show compression statistics

Description: This command displays compression related statistics for the specified interface.

DHCP Commands

The Dynamic Host Control Protocol (DHCP) is a client/server protocol

2

that defines an efficient and

convenient means of dynamically assigning IP addresses and other networking parameters for a period
of time upon request. In a router environment, this means either the dynamic assignment of “private”
IP addresses to PCs co-residing on the LAN segment with the router or a static assignment of these
addresses according to the station identification (the MAC address) of the requesting client.

Since the routers are, by default, configured with a private IP address for its LAN connection, the
DHCP server is automatically enabled. (The DHCP function is disabled if the router discovers another
DHCP server at initialization time, or if the user has explicitly disabled this function.) DHCP clients
residing in LAN-resident machines, such as those running Windows 95/98, may then request a lease
on an IP address from a DHCP server. As the term implies, the assignment of the address is temporary.
The default lease period in a router’s DHCP server is ten hours. The DHCP client is responsible for the
renewal of the lease.

Both static and dynamic DHCP assignments are supported. The range of IP addresses in the dynamic
pool from which the server selects an address to satisfy a request depends upon the currently
configured private address and network mask of the router. The router’s defaultIP private address is
192.168.168.230 with a network mask of 255.255.255.0. This private address may be changed to any
private address and network mask as specified in the following table:

Class Network

Address Network

Prefix

Default

Network Mask

Maximum

Number of

Host

Addresses

Lowest/Highest Address

A 10.0.0.0

8

bits 255.0.0.0

16,777,214 10.0.0.1/10.255.255.254

B 172.xx.0.0

31

≥ xx ≥ 16

12 bits

255.255.0.0

65534

172.xx.0.1/172.xx.255.254

31

≥ xx ≥ 16

C 192.168.xx.0

16

bits 255.255.255.0 254

192.168.xx.1/192.168.xx.254

2

The Internet Engineering Task Force (IETF) defines DHCP in RFC-2131 and RFC-2132.