0% found this document useful (0 votes)
40 views

Practical 10 DHCP Server

The document describes configuring a DHCP server on a router for one and multiple broadcast domains. For a single domain, it configures an interface with an IP address, enables it, sets the DHCP pool network and default router. For multiple domains, it describes configuring two DHCP pools on the server for different subnets and configuring the router interfaces with IP addresses and helpers that point to the DHCP server.

Uploaded by

bhargeshpatel
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Practical 10 DHCP Server

The document describes configuring a DHCP server on a router for one and multiple broadcast domains. For a single domain, it configures an interface with an IP address, enables it, sets the DHCP pool network and default router. For multiple domains, it describes configuring two DHCP pools on the server for different subnets and configuring the router interfaces with IP addresses and helpers that point to the DHCP server.

Uploaded by

bhargeshpatel
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

For One Broadcast Domain

Press RETURN to get started!

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fast
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip addr 192.168.10.1 255.255.255.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#ip dhc
Router(config)#ip dhcp pool cisco
Router(dhcp-config)#net
Router(dhcp-config)#network 192.168.10.0 255.255.255.0
Router(dhcp-config)#default-rou
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-ad
Router(config)#ip dhcp excluded-address 192.168.10.1 192.168.10.10
Router(config)#ip dhcp excluded-address 192.168.10.12 192.168.10.14
Router(config)#

For Multiple broadcast domain


Configure DHCP Server

In the first place we will configure the DHCP Server for its DHCP pools and its IP configuration.
The IP address is 192.168.1.10 and the default gateway will be the routers interface’s IP address
that is face to DHCP server.

For the subnets 192.168.1.0 and 10.10.0.0 there must be two DHCP pool. The below screenshot is
showing how these assignments will be done in DHCP Server.
In the router the following configuration will be done for two different subnet DHCP
achievement:

RouterC # config terminal


RouterC(config)# interface fa0/0
RouterC(config-if)# ip address 10.10.0.1 255.255.255.0
RouterC(config-if)# ip helper-address 192.168.1.10
RouterC(config-if)# no shutdown
RouterC(config-if)# exit
RouterC(config)# interface fa1/0
RouterC(config-if)# ip address 192.168.1.1 255.255.255.0
RouterC(config-if)# ip helper-address 192.168.1.10
RouterC(config-if)# no shutdown
RouterC(config-if)# end
RouterC# copy run start

You might also like