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

Configuring DHCP on Cisco 4500-x or 3850 XS Switches

DaSilvaAL1
Level 1
Level 1

Good Afternoon, Please. I have to configure DHCP on these two switches and for a pool of just two IP addreses. They need to be assigned to specific MAC addreses. Can anybody please help ?

Many Thanks

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

try below :

 

Switch>enable
Switch#configure terminal
Switch(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10
Switch(config)#ip dhcp pool MyPool
Switch(dhcp-config)#network 192.168.1.0 255.255.255.0
Switch(dhcp-config)#default-router 192.168.1.1
Switch(dhcp-config)#dns-server 4.4.4.4
Switch(dhcp-config)#exit

 

 

Reserver MAC address :

 

ip dhcp pool User1
host 192.168.1.10 255.255.255.0
client-identifier xxxxxxxxxxx (mac address here)

 


Switch(config)#interface vlan 1 - this can be changed based on the information.
Switch(config-if)#ip address 192.168.1.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#exit

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

DaSilvaAL1
Level 1
Level 1
2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

try below :

 

Switch>enable
Switch#configure terminal
Switch(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10
Switch(config)#ip dhcp pool MyPool
Switch(dhcp-config)#network 192.168.1.0 255.255.255.0
Switch(dhcp-config)#default-router 192.168.1.1
Switch(dhcp-config)#dns-server 4.4.4.4
Switch(dhcp-config)#exit

 

 

Reserver MAC address :

 

ip dhcp pool User1
host 192.168.1.10 255.255.255.0
client-identifier xxxxxxxxxxx (mac address here)

 


Switch(config)#interface vlan 1 - this can be changed based on the information.
Switch(config-if)#ip address 192.168.1.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#exit

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

DaSilvaAL1
Level 1
Level 1

Many Thanks !!

Review Cisco Networking for a $25 gift card