Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

DHCP to different VLAN

Several VLANs have been configured on a Catalyst switches. Suppose Window DHCP has been configured for the subnets in different VLANs. What configuration should I need on Catalyst switches so that each subnet can receive DHCP from Window server.

Tks
Avatar of Muhammad Burhan
Muhammad Burhan
Flag of Pakistan image

Every vlan must have its gateway & broadcast address points to the appropriate DHCP subnet
Avatar of AXISHK
AXISHK

ASKER

Only one DHCP server in setup on a VLAN3, which will release dhcp range to other subnet.

Is there something like ip-helper that can help to route dhcp request ? Tks
DHCP relay is the tool which you could use for make it happen. But it can't work alone you have to specify gateways for vlans too
Avatar of AXISHK

ASKER

What's the configuration on Catalyst switch then ? Tks
SOLUTION
Avatar of Muhammad Burhan
Muhammad Burhan
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Any example to illustrate as I can't get your idea.

Those VLANs are routed within the catalyst switches. Suppose I have 3 VLANs,

VLAN10  192.168.1.0
VLAN20  192.168.2.0
VLAN30  192.168.3.0

DHCP has been installed on VLAN30. On DHCP, I have created 3 DHCP scope for each subnets. What else should I need to configure ?  

Tks
Usual way is to configure SVI's for each VLAN along with ip helper-address if you have L3 catalyst switch.
If that's the case (if I remember correctly you asked before some configuration for L3 Cisco Catalyst switches):

VLAN10  192.168.1.0

# interface vlan 10
# ip address 192.168.1.x 255.255.x.x   <-- address of default gateway for vlan configured on DHCP server
# ip helper-address <ip address of DHCP server>

VLAN20  192.168.2.0
VLAN30  192.168.3.0
Avatar of AXISHK

ASKER

"ip helper-address xxxx" only need to configure on interface VLAN 10 where my DHCP server is hosted. Nothing to do on interface VLAN 20 & 30.

Tks
No, that was example for VLAN 10, you need to do that for every vlan you have.
:)
Avatar of AXISHK

ASKER

For those workstations and servers sitting in VLAN 10, do I need this configuration ? As the DHCP request should able to route within its own VLAN without any problem , correct ?

Tks
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Tks