Win2008 sets up dhcp multi-scope to assign addresses to vlan
Windows2008 is configured as a DHCP server, assigning IP addresses to six VLAN respectively, if the VLAN is:
A:192.168.1.0/24
B:192.168.2.0/24
... ..
F:192.168.6.0/24
The core switch is Cisco 3560.
Setting needs to be done in two ways:
1.cisco3560 layer 3 switch needs to set commands on the port of vlanA.
Interface VlanA
Ip address xxxx xxxx
Ip helper-address "dhcp server IP"
For example:
1.interface Vlan1
2.ip address 192.168.1.1 255.255.255.0
3.ip helper-address 192.168.1.10
Where 192.168.1.1 is the default gateway address for vlan1
192.168.1.10 is the DHCP established by windows 20008.
two。 Set it on Microsoft DHCP server
Set the gateway address of the corresponding ip in the routing options of different VLAN address ranges
Then machines with different VLAN can get the corresponding IP.
Set port global parameters on the access switch
Switch (Config) Interface Range Fa 0amp 1-24
Switch (Config-if-range) Switchport Mode Access
Switch (Config-if-range) Spanning-tree Portfast