0% found this document useful (0 votes)
66 views2 pages

Task 6: - Configuring A Router As DHCP Server

The document provides steps to configure a router as a DHCP server to assign IP addresses to two connected networks, with the router assigning Class A IP addresses to the first network and Class C addresses to the second network automatically. The 17 steps include configuring the router interface, enabling DHCP service, creating DHCP pools for each network range, and setting the default gateway and DNS servers to be assigned by the DHCP server.

Uploaded by

Aman Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views2 pages

Task 6: - Configuring A Router As DHCP Server

The document provides steps to configure a router as a DHCP server to assign IP addresses to two connected networks, with the router assigning Class A IP addresses to the first network and Class C addresses to the second network automatically. The 17 steps include configuring the router interface, enabling DHCP service, creating DHCP pools for each network range, and setting the default gateway and DNS servers to be assigned by the DHCP server.

Uploaded by

Aman Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Task 6: -

Configuring a router as DHCP server.

Scenario :

Create two networks and connect with each other using one router. Configure the router with
DHCP service such that it assigns Class A IPV4 address to first network and assign Class C IPV4
address to second network automatically.

Application Layer

Procedure:
Step 1: configure the Router
Router >enable
Step 2: enable the privilege mode
Router # config terminal
Step 3: change the hostname
Router(config)#hostname S1
Step 4: set the privilege mode security
R1 (config)#enable secret cisco (you can give any password)
Step 5: create console mode
R1 (config)#line console 0
R1(config-line)#password cisco (you can give any password)
R1(config-line)#login
Step 6: create telnet and ssh
R1(config)#line vty 0 15
R1(config-line)#password cisco (you can give any password)
R1(config-line)#transport input ssh
R1(config-line)#login local
Step 7:create domain name and username and password for ssh and telnet
R1(config)#ip domain-name cisco.com
R1(config)#username CISCO password cisco
Step 8:Assign IP address in router interface g0/0
R1(config)#interface g0/0
R1(config-if)ip address 192.168.1.1 255.255.255.0
Step 9:after assigning ip address to give no shutdown
R1(config-if)#no shutdown
Step 10:configure the DHCP server in Router.
R1(config)#service dhcp
R1(config)#ip dhcp pool cisco(you can give any name)
Step 11: after assign dhcp pool and then to give network address in dhcp server.
R1(dhcp-config)#network 192.168.1.0 255.255.255.0
Step 12:after assign the network address in dhcp server and then to give default gateway for dhcp
server.
R1(dhcp-config)#default-router 192.168.1.1
Step 13:after assign the default gateway address in dhcp server and then to assign dns-server address
and dns-server name.
R1(dhcp-config)#dns-server 192.168.1.100
R1(dhcp-config)#domain-name www.cisco.com (you can give any name)
R1(dhcp-config)#exit
Step 14:after assign domain name and then to set limited IP address in dhcp server
R1(config)#ip dhcp excluded-address 192.168.1.4 192.168.1.7
R1#show ip dhcp binding
Step 15:after completed dhcp server configuration in router and then in your PC you select the DHCP
in IP address.
Step 16:automatically it can be generates IP address in your PC. If it’s any problem will be occurs
means in your PC cmd prompt to give this commands.
>ipconfig /renew
>ipconfig/all
Step 17:end.

Result:

You might also like