cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
956
Views
5
Helpful
2
Replies

How to Dynamic address assignment to PC Automatically from Router by using commands

Hello all,

Please tell me how to set automatic ip configration in pc using dhcp from Router. All i need is i want to force ip to pc from router, Instead of requesting ip from pc i want router force ip to all pc that are connected to my router.

Thanks in Advance..

2 Accepted Solutions

Accepted Solutions

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

You can configure DHCP on the router with below commands:

 

ip dhcp pool LAN_POOL
import all
network 192.168.1.0 255.255.255.0
dns-server 192.168.1.1 8.8.8.8 
default-router 192.168.1.1

 

But forcing to PC get IP from DHCP is not possible from Switch or router. You have to implement GPO on your AD server and all client systems must be added in AD.

 

Regards,

Deepak Kumar

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

2 Replies 2

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

You can configure DHCP on the router with below commands:

 

ip dhcp pool LAN_POOL
import all
network 192.168.1.0 255.255.255.0
dns-server 192.168.1.1 8.8.8.8 
default-router 192.168.1.1

 

But forcing to PC get IP from DHCP is not possible from Switch or router. You have to implement GPO on your AD server and all client systems must be added in AD.

 

Regards,

Deepak Kumar

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Thank you Deepak Kumar
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card