www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNA LABS / Dynamic Host Configuration Protocol Solutions / Lab 71 Solution: Forwarding DHCP requests to remote DHCP Servers

Lab 71 Solution: Forwarding DHCP requests to remote DHCP Servers

Task 1:

For reference information on configuring hostnames, please refer to:

Lab 35 Configuration and Verification Task 1

Task 2:

For reference information on configuring DCE clocking, please refer to:

Lab 21 Configuration and Verification Task 2

Lab 35 Configuration and Verification Task 2

Task 3:

Sw1#config t

Enter configuration commands, one per line.  End with CNTL/Z.

Sw1(config)#vtp mode transparent

Setting device to VTP TRANSPARENT mode.

Sw1(config)#vlan 3000

Sw1(config-vlan)#name DHCP_VLAN

Sw1(config-vlan)#exit

Sw1(config)#interface range fastethernet0/2 — 3

Sw1(config-if-range)#switchport mode access

Sw1(config-if-range switchport access vlan 3000

Sw1(config-if-range)#spanning-tree portfast

%Warning: portfast should only be enabled on ports connected to a single

host. Connecting hubs, concentrators, switches, bridges, etc… to this

interface  when portfast is enabled, can cause temporary bridging loops.

Use with CAUTION

%Portfast will be configured in 2 interfaces due to the range command

but will only have effect when the interfaces are in a non-trunking mode.

Sw1(config-if-range)#no shutdown

Sw1(config-if-range)#end

Sw1#

For reference information on configuring and verifying VLANs, please refer to:

Lab 1 Configuration and Verification Task 3

Lab 2 Configuration and Verification Task 3

Task 4:

R2#config term

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#ip dhcp pool REMOTE-DHCP-POOL

R2(dhcp-config)#network 10.1.1.0 /24

R2(dhcp-config)#dns-server 192.168.1.254

R2(dhcp-config)#netbios-name-server 172.30.1.254

R2(dhcp-config)#default-router 10.1.1.1

R2(dhcp-config)#lease 8

R2(dhcp-config)#end

R2#

Task 5:

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#int fastethernet0/0

R1(config-if)#ip helper-address 172.16.1.2

R1(config-if)#end

R1#

NOTE: The ip helper-address command is used to point an interface connected to a subnet with DHCP clients to a remote DHCP server. You can specify more tha one DHCP server with this command; however, the first configured on will always be tried first.

Task 6:

R1#show ip dhcp pool REMOTE-DHCP-POOL
Pool REMOTE-DHCP-POOL :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 1
Pending event : none

1 subnet is currently in the pool :

Current index        IP address range                    Leased addresses

10.1.1.3             10.1.1.1         – 10.1.1.254        1

R1#show ip dhcp binding

Bindings from all pools not associated with VRF:

IP address          Client-ID/              Lease expiration        Type

Hardware address/

User name

10.1.1.2            0100.1d09.d402.38       Mar 09 1993 04:27 AM    Automatic

101solutions_fig3

NOTE: If you decided to use another Cisco IOS device as a DHCP client, you can check your DHCP configuration by issuing the show dhcp server command as illustrated in the following output:

 

R4#show dhcp server

DHCP server: ANY (255.255.255.255)

Leases:   3

Offers:   3      Requests: 3     Acks: 3     Naks: 0

Declines: 0      Releases: 6     Bad:  0

DNS0:   192.168.1.254,   DNS1:  0.0.0.0

NBNS0:  172.30.1.254,   NBNS1: 0.0.0.0

Subnet: 255.255.255.0   DNS Domain: howtonetwork.net

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.