GLOBAL CONFIG
service dhcp Enable DHCP server and relay agent
!
ip dhcp database ftp://user:[EMAIL PROTECTED]/router-dhcp
write-delay 120 sets location (TFTP, FTP or RCP) of where the DHCP database
will go
ip dhcp conflict logging enables DHCP conflict logging if using a
database.
ip dhcp ping 4 sets the number of times the pool pings for the address
before handing it out
ip dhcp excluded-address 192.168.100.1 192.168.100.100 excludes the
addresses from the pool
!
ip dhcp pool [default|name] enters the DHCP configuration mode
network 192.168.100.0 255.255.255.0 sets the network and mask
domain-name cisco.com sets the clients domain name
dns-server 192.168.100.1 192.168.100.2 sets the DNS server(s)
netbios-name-server 192.168.100.1 192.168.100.2 sets the WINS
server(s)
netbios-node-type hybrid sets the netbios node-type: broadcast,
peer-to-peer, mixed, or hybrid
default-router 192.168.100.10 sets the gateway
lease infinite sets the lease time in days [hours] [minutes] or
infinite
host 192.168.100.11 255.255.255.0 sets a host address for manual DHCP
Address assignment (generally starts its own pool)
hardware-address OR client-identifier [MAC address] sets the MAC
address to look for.
client-name CISCOCLIENT sets the name of the client (do not use FQDN)
!
ip address-pool [dhcp-proxy-client|local] Used to supply IP addresses
to dial-in asynchronous, synchronous, or ISDN point-to-point interfaces.
ip dhcp-server 192.168.100.10 Address on DHCP server for DHCP-relay if
ip address-pool is dhcp-proxy-client
ip local pool [default|name] 192.168.100.1 192.168.100.200 sets an IP
pool for point-to-point connections (ie DDR or RAS connections)
ON INTERFACE
peer default ip address {ip-address | dhcp | pool [pool-name]}
Specifies an IP address, an address from a specific IP address pool, or an
address from the DHCP mechanism to be returned to a remote peer connecting
to this interface.
HTH
Kevin L. Kultgen
MCSE+I, MCDBA, CCNA, CNX-A, A+, Network+, i-Net+/CIW
IRIS Systems Inc, MCSP
Calgary, Alberta
----- Original Message -----
From: <[EMAIL PROTECTED]>
Newsgroups: alt.certification.cisco
Sent: Saturday, July 15, 2000 6:54 PM
Subject: DHCP on router!!
> Hi all
> I heard that router had DHCP function.
> is that true?
> if it is, which version is that?
> thanks in adv.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
___________________________________
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]