DHCP Stands For Dynamic Host configuration Protocol
Process involve in DHCP is DORA
D-Discover (Clint discover a DHCP server if any in network)
O- Offer (DHCP server offer Client for IP Address)
R-Request (Client Request for IP Address)
A-Acknowledge (DHCP server sends a Acknowledge message and assign an ip address to client)
CONFIGURATION
SWAN(config-if)#
ip dhcp pool rv
SWAN(dhcp-config)#network 10.230.96.0 255.255.255.0
SWAN(config)#ip dhcp excluded-address 10.230.96.5 10.230.96.10
SWAN(dhcp-config)#default-router 10.230.96.1
SWAN(dhcp-config)#dns-server 10.230.96.1
SWAN(dhcp-config)#exit
Note :-
These commands are needed on the router to configure dhcp in order to obtain ip address automatically from router i.e no need to assign ip address manually.
- 10.230.96.1 is LAN network Through Which the system is connected
- 255.255.255.0 subnet mask of respected LAN segment
- Exclude range is the range which we don't want assign to any host (Reserve IP)
- Default Router is The Gateway of Internet
- DNS server for DNS queries
Obtaining ip address Through DHCP
For obtaining ip address automatically we need some basic configuration on pc ie
STEP-1
Go to network and sharing center and click on your connected network access type as shown below,
STEP-2
Click on the property
STEP-3
Choose internet protocol version 4 (TCP/IPv4)
STEP-4
Choose the option as shown i.e obtain an ip address automatically
.
And that's it needed to do with your pc and in found the ip address from your router will attain the ip address sooner.
so if you find the artical helpful please appreciate us a by commenting and sharing with your colleges
little description needed
ReplyDelete