VTP synchronization Bundle and load balancing get IP address in DHCP address pool

Source: Internet
Author: User
Tags config get ip range

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.