05-02-2012 05:17 AM - edited 03-07-2019 06:27 AM
Hi,
I can't seem to find any info on how to configure 2 DHCP server pools on a C3750, to use with 2 user vlans.
The purpose is that users in vlan 1 should get an IP address from DHCP server1, and users in vlan 2 should get an IP address from DHCP server2.
Both DHCP servers are configured in a stack of C3750 switches, which acts a a L2 switch.
Anyone any idea, or better; experiences ?
Thx!
BR,
Lieven
05-02-2012 06:43 AM
interface Vlan1
ip address 192.2.1.1 255.255.255.0
ip helper-address 10.1.1.2
!
interface Vlan2
ip address 192.2.2.1 255.255.255.0
ip helper-address 10.1.2.3
05-02-2012 06:48 AM
Here is one example to created below for one DHCP Server and change the DHCP pool name "D_MKT" something else for second vlan and so on.
Also make sure, you have created SVI interface as your default-router for the given vlan.
ip dhcp excluded-address 192.168.2.1
ip dhcp excluded-address 192.168.2.1 192.168.2.20
ip dhcp pool D_MKT
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 192.168.1.17
domain-name mydomain.com
lease 8
Hope that answers your question.
Thanks
Rizwan Rafeek
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide