VTP synchronization Bundle and load balancing get IP address in DHCP address pool
Configuring on the R1
r1>en
R1#conf T
R1 (config) #vlan 10 add VLAN
R1 (Config-vlan) #vlan 20
R1 (config) #interface range f1/0 1 to relay 2 ports
R1 (config-if-range) #switchport mode trunk
R1 (config-if-range) #switchport trunk Encapsulation dot1q
R1 (config-if-range) #inter VLAN 10 into VLAN
R1 (config-if) #ip address 192.168.10.1 255.255.255.0 Add VLAN interface Gateway in layer three Exchange
R1 (config-if) #no shut
R1 (config-if) #inter VLAN 20
R1 (config-if) #ip address 192.168.20.1 255.255.255.0
R1 (config) #ip DHCP pool v10 add address pool
R1 (dhcp-config) #network 192.168.10.0 255.255.255.0 address
R1 (dhcp-config) #default-router 192.168.10.1 Default gateway
R1 (dhcp-config) #ip DHCP pool V20
R1 (dhcp-config) #default-router 192.168.20.1
R1 (dhcp-config) #network 192.168.20.0 255.255.255.0