RE: DHCP

From: Mike Chase (mchase@xxxxxxxxxxxx)
Date: Thu Oct 19 2000 - 19:38:14 GMT-3


   
take from this what you need..
DHCP

typical dhcp client/server exchange:
dhcpdiscover (broadcast)
dhcpoffer (unicast)
dhcprequest (broadcast)
dhcpack (unicast)

A DHCP database agent is any host, for example, an FTP, TFTP, or RCP server
that stores the DHCP bindings database. You can configure multiple
DHCP database agents and you can configure the interval between database
updates and transfers for each agent.

ip dhcp database ftp://user:password@172.16.4.253/router-dhcp write-delay
120 <- ftp,tftp or rcp server "database agent" stores database to track
conflict logging
no ip dhcp conflict logging <-- use this if you don't want to use a database
agent (above)
ip dhcp excluded-address 172.16.1.100 172.16.1.103
ip dhcp excluded-address 172.16.2.100 172.16.2.103
!
ip dhcp pool 0
        network 172.16.0.0 /16
        domain-name cisco.com
        dns-server 172.16.1.102 172.16.2.102
        netbios-name-server 172.16.1.103 172.16.2.103
        netbios-node-type h-node
!
ip dhcp pool 1
        network 172.16.1.0 /24
        default-router 172.16.1.100 172.16.1.101
        lease 30
!
ip dhcp pool 2
        network 172.16.2.0 /24
        default-router 172.16.2.100 172.16.2.101
        lease 30

Manual Bindings Configuration Example

The following example creates a manual binding for a client named
Mars.cisco.com. The MAC address of the client is 02c7.f800.0422 and the IP
address
of the client is 172.16.2.254.

ip dhcp pool Mars
        host 172.16.2.254
        hardware-address 02c7.f800.0422 ieee802
        client-name Mars

Because attributes are inherited, the previous configuration is equivalent
to the following:

ip dhcp pool Mars
        host 172.16.2.254 mask 255.255.255.0
        hardware-address 02c7.f800.0422 ieee802
        client-name Mars
        default-router 172.16.2.100 172.16.2.101
        domain-name cisco.com
        dns-server 172.16.1.102 172.16.2.102
        netbios-name-server 172.16.1.103 172.16.2.103
        netbios-node-type h-node

----

ip dhcp excluded-address 10.10.6.0 10.10.6.1 ! ip dhcp pool SCOPE network 10.10.6.0 255.255.255.0 dns-server 209.78.204.1 209.78.204.2 domain-name ocdata.com netbios-node-type h-node netbios-name-server 10.1.1.1 10.1.1.2 default-router 10.10.6.254 ! int e0 ip address 10.10.6.1 255.255.255.0

Mike L. Chase Sr. Network Architect ISG: Information Services Group Broadcom Corporation World Headquarters, BLDG A-1050 16215 Alton Parkway, Irvine, California 92618-3616 OFC=949-585-6057;CELL=949-283-4254; FAX=949-585-6227

-----Original Message----- From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of Steve McNutt Sent: Thursday, October 19, 2000 2:00 PM To: Wang, Eric; ccielab@groupstudy.com Subject: RE: DHCP

the IOS 12.1 IP configuration guide has the answers you seek.

-----Original Message----- From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of Wang, Eric Sent: Thursday, October 19, 2000 4:26 PM To: Ccielab (E-mail) Subject: DHCP

Hi,

Can anybody tell me if I can set a router as a DHCP server so that it can provide IP address to the networks that connect to this router? If it is possible, please tell me how to do it.

Thanks

Eric



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:28 GMT-3