How to Configure Microsoft Windows DHCP for Inter-VLAN Network Segments?
DHCP (Dynamic Host Configuration Protocol) is a protocol that provides quick, automatic, and central management for the distribution of IP addresses within a network. It’s also used to configure the subnet mask, default gateway, and DNS server information on the device.
Figure 2: VLAN Creation in Layer-3 Switch
Now we will give IP address to VLANS interfaces we have created in Layer-3 switch as shown in figure 2 to act as default gateway for inter-VLAN communication or routing, as shown in figure below.
Figure 3: IP assignment to VLAN interfaces As IP has been assigned, we will assign ports to each VLAN for accessing and differentiating different networks. As three Layer-2 Switches are connected to three ports of Layer-3 switch (Core Switch) so these will act as different networks as shown below. After creating VLANS and assigning IP’s to interfaces we will create IP DHCP pools for these VLANS which will be used by Microsoft Server which act as DHCP server to assign IP addresses to hosts relevant to each VLAN were connected. As shown in figure above (figure 7) we have created/added three pools which will act as IP Pool for three different VLAN’s. Now on Layer-3 Switch we will use one command ip helper-address<DHCP server IP> in every interface of VLAN we have created which enable hosts to get there IP address from there network range of DHCP Scope. As shown in Figure Below hosts (PC’s) connected to layer-2 switches are assigned with IP addresses through DHCP configuration. The IP assignment has started from 192.168.10.2 because 192.168.10.1 acting as default gateway. An IP helper-address, also known as a DHCP relay agent, this is a feature that forwards DHCP broadcast packets to a specific DHCP server on a different network segment. When a client device on a network segment requests an IP address through DHCP, it sends out a broadcast packet. |
Comments
Post a Comment