0% found this document useful (0 votes)
25 views3 pages

DHCP Configration

In Network, Understandings of DHCP and commands

Uploaded by

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

DHCP Configration

In Network, Understandings of DHCP and commands

Uploaded by

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

Router:0

=============

Router>
Router>ena
Router>enable
Router#config
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#config
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhcp pool
% Incomplete command.
Router(config)#ip dhcp pool 10pool
Router(dhcp-config)#net
Router(dhcp-config)#network 10.0.0.0 255.255.255.0
Router(dhcp-config)#defau
Router(dhcp-config)#default-router 10.0.0.1
Router(dhcp-config)#dns-ser
Router(dhcp-config)#dns-server 10.0.0.1
Router(dhcp-config)#exit
Router(config)#ip
Router(config)#ipdh
Router(config)#ip d
Router(config)#ip dh
Router(config)#ip dhcp ex
Router(config)#ip dhcp excluded-address 10.0.0.1 10.0.0.10
Router(config)#ip dhcp pool 20pool
Router(dhcp-config)#network 20.0.0.0 255.255.255.0
Router(dhcp-config)#defau
Router(dhcp-config)#default-router 20.0.0.1
Router(dhcp-config)#dns
Router(dhcp-config)#dns-server 20.0.0.1
Router(dhcp-config)#exit
Router(config)#ip dh
Router(config)#ip dhcp ex
Router(config)#ip dhcp excluded-address 20.0.0.1 20.0.0.10
Router(config)#ip dh
Router(config)#ip dhcp pool 12pool
Router(dhcp-config)#ip net
Router(dhcp-config)#net
Router(dhcp-config)#network 192.168.12.0 255.255.255.0
Router(dhcp-config)#exit
Router(config)#

DHCP_pool:
Router>enable
Router#config
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname DHCP_Router

creation of DHCP POOL:


======================
DHCP_Router(config)#ip dhcp pool DHCP
DHCP_Router(dhcp-config)#netw
DHCP_Router(dhcp-config)#network 192.168.10.0 255.255.255.0
DHCP_Router(dhcp-config)#defau
DHCP_Router(dhcp-config)#default-router 192.168.10.1
DHCP_Router(dhcp-config)#

Command used to exclude IP range:


=================================

Step-2 :
Command Line Interface of the router is accessed and high-lighted commands are
executed to successfully configure the DHCP. At first, the ‘IP DHCP pool pool_name’
command is executed. After this, the network address is defined along with its
subnet mask. And further, the ‘default-router IP-address’ command is used to define
the default route address.

DHCP_Router(config)#ip dhcp pool DHCP


DHCP_Router(dhcp-config)#net
DHCP_Router(dhcp-config)#network 192.168.10.0 255.255.255.0
DHCP_Router(dhcp-config)#defau
DHCP_Router(dhcp-config)#default-router 192.168.10.1
DHCP_Router(dhcp-config)#exit

Step-3 :
In this step, a range of IP addresses is excluded from the addresses defined in the
subnet mask of the DHCP pool. Excluded IP addresses will be not assigned to any
host system in the network.

DHCP_Router(config)#ip dhcp excluded-address


DHCP_Router(config)#ip dhcp excluded-address 192.168.10.1 192.168.10.5

Step-4 :
The interface of the router connected with the switch is assigned with the IP
address defined as the default router during the DHCP configuration. This route
will be taken by the data packets to reach their destination system. Also, the ‘no
shutdown command is used to change the state of the connected interface to up.

DHCP_Router(config)#interface gigabitEthernet 0/0/0


DHCP_Router(config-if)#ip add
DHCP_Router(config-if)#ip address 192.168.10.1 255.255.255.0
DHCP_Router(config-if)#no shut
DHCP_Router(config-if)#no shutdown
Step-6 :
Desktop settings of a host system are accessed and the DHCP option is selected.
DHCP request forwarded by the system is acknowledged and IP address, associated
subnet mask, and default gateway address are assigned to it.

Router : 1
=============================
Router>enab
Router>enable
Router#config
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#interf
Router(config)#interface gig
Router(config)#interface gigabitEthernet 0/0/1
Router(config-if)#ip add
Router(config-if)#ip address dhcp
Router(config-if)#
Router(config-if)#no shut
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/1, changed state


to up

Router(config-if)#exit
Router(config)#inter
Router(config)#interface gi
Router(config)#interface gigabitEthernet 0/0/1
Router(config-if)#ip help
Router(config-if)#ip helper-address 192.168.12.1
Router(config-if)#exit
Router(config)#
Router#

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy