Does each subnet need a DHCP server?

Does each subnet need a DHCP server?

A subnet declaration is required for every network your DHCP server is serving. Multiple subnets require multiple subnet declarations. If the DHCP server does not have a network interface in a range of a subnet declaration, the DHCP server does not serve that network.

How can I add two VLANs to one port?

If you want TWO VLANs to be accessible on that port, you can configure it as a trunk and assign both VLANs to the port and the downstream device will need to be able to make use of VLAN tagging. Additionally, you can set the “native” VLAN on the port so that it will also still accept untagged traffic.

How does DHCP server work for different VLANs?

For DHCP clients in different vlan from DHCP server, we may set up DHCP relay agent, DHCP relay agent has multiple NICs, in case it can relay packets between different VLANs. DHCP server only needs one NIC. For more detailed information, you may click the following link to learn how DHCP works and how DHCP relay agent works:

How to configure a router for multiple VLANs?

We can use a single router interface to allow communication between multiple VLANs. To virtualize the Fa0/0 interface and to configure it to allow communication between different VLANs, use the following configuration on the router. Router>enable Router#configure terminal Enter configuration commands, one per line.

How to setup packet tracer lab for multiple VLANs?

Packet tracer lab setup 1 Create three VLANs and add 2 PCs to each VLAN. 2 Configure the DHCP server on the switch and create three DHCP pools. 3 Assign a DHCP pool to each VLAN. 4 Configure all PCs as DHCP clients. 5 Verify that all PCs receive their IP configuration from the DHCP server. 6 Test connectivity between all PCs.

How to setup a DHCP server on a switch?

Connect PCs to the switch and the switch to the router. The following image shows this lab. Configure this lab to meet the following objectives. Create three VLANs and add 2 PCs to each VLAN. Configure the DHCP server on the switch and create three DHCP pools. Assign a DHCP pool to each VLAN.