16th issue of Small Business Network architecture-dhcp and website service "Cisco"

Source: Internet
Author: User

Experiment Objective: 1. Implement DHCP Auto-assignment
2. Implement Web "website" Service and terminal access
Experimental steps:

  1. Configure Layer Two switch "SW1":
    switch>en//Entering privileged mode
    switch#conf//into global mode
    Configuring from terminal, memory, or network [terminal]?
    Enter configuration commands, one per line. End with cntl/z.
    Switch (config) #vlan 10//create VLAN
    Switch (Config-vlan) #vlan 20
    Switch (Config-vlan) #vlan 30
    Switch (Config-vlan) #e
    Switch (config) #in F 0/1//Ingress Port
    Switch (config-if) #no sh
    Switch (config-if) #sw mode acc//access modes
    Switch (config-if) #sw acc VLAN 10//join VLAN10
    Switch (config-if) #e
    Switch (config) #in f 0/2
    Switch (config-if) #no sh
    Switch (config-if) #sw mode acc
    Switch (config-if) #sw ACC VLAN 20
    Switch (config-if) #e
    Switch (config) #in f 0/3
    Switch (config-if) #no sh
    Switch (config-if) #sw mode acc
    Switch (config-if) #sw ACC VLAN 30
    Switch (config-if) #e
    Switch (config) #in g 0/1
    Switch (config-if) #no sh
    Switch (config-if) #sw mode trunk
    Switch (config-if) #
    %lineproto-5-updown:line protocol on Interface GIGABITETHERNET0/1, changed
    %lineproto-5-updown:line protocol on Interface GIGABITETHERNET0/1, changed
    Switch (config-if) #
    Switch (config-if) #sw trunk allowed VLAN all
    Switch (config-if) #e
    Switch (config) #in f 0/24
    Switch (config-if) #no sh
    Switch (config-if) #sw mode trunk
    Switch (config-if) #
    %lineproto-5-updown:line protocol on Interface FASTETHERNET0/24, changed
    %lineproto-5-updown:line protocol on Interface FASTETHERNET0/24, changed
    Switch (config-if) #sw trunk allowed VLAN all
    Switch (config-if) #e
  2. Configure Layer Two switch # second "SW2":
    switch>en
    Switch#conf
    Configuring from terminal, memory, or network [terminal]?
    Enter configuration commands, one per line. End with cntl/z.
    Switch (config) #vlan 10
    Switch (Config-vlan) #vlan 30
    Switch (Config-vlan) #vlan 40
    Switch (Config-vlan) #vlan 50
    Switch (Config-vlan) #e
    Switch (config) #in f 0/1
    Switch (config-if) #no sh
    Switch (config-if) #sw mode acc
    Switch (config-if) #sw ACC VLAN 40
    Switch (config-if) #e
    Switch (config) #in f 0/2
    Switch (config-if) #no sh
    Switch (config-if) #sw mode acc
    Switch (config-if) #sw ACC VLAN 50
    Switch (config-if) #e
    Switch (config) #in g 0/2
    Switch (config-if) #no sh
    Switch (config-if) #sw mode trunk
    Switch (config-if) #
    %lineproto-5-updown:line protocol on Interface GIGABITETHERNET0/2, changed
    %lineproto-5-updown:line protocol on Interface GIGABITETHERNET0/2, changed
    Switch (config-if) #sw trunk allowed VLAN all
    Switch (config-if) #e
    Switch (config) #in f 0/24
    Switch (config-if) #no sh
    Switch (config-if) #sw mode trunk
    Switch (config-if) #sw trunk allowed VLAN all
    Switch (config-if) #e
    Switch (config) #
    3. Configure the three-tier switch "SW3 create VLAN10/20/30/40/50":
    Switch (config) #in VLAN 10
    Switch (config-if) #no sh
    Switch (config-if) #ip add 192.168.10.254 255.255.255.0//Configure IP for VLAN10
    Switch (config-if) #e
    Switch (config) #in VLAN 20
    Switch (config-if) #ip add 192.168.20.254 255.255.255.0//Configure IP for Vlan20
    Switch (config-if) #no sh
    Switch (config-if) #e
    Switch (config) #in VLAN 30
    Switch (config-if) #no sh
    Switch (config-if) #ip add 192.168.30.254 255.255.255.0//Configure IP for VLAN30
    Switch (config-if) #e
    Switch (config) #in VLAN 10
    Switch (config-if) #ip Help
    Switch (config-if) #ip helper-address 192.168.50.1//Configure DHCP relay "help address"
    Switch (config-if) #e
    Switch (config) #in VLA 20
    Switch (config-if) #ip helper-address 192.168.50.1
    Switch (config-if) #e
    Switch (config) #in VLAN 30
    Switch (config-if) #ip helper-address 192.168.50.1
    Switch (config-if) #e
    Switch (config) #in VLAN 50
    Switch (config-if) #ip add 192.168.50.254 255.255.255.0//Configure IP for VLAN50
    Switch (config-if) #no sh
    Switch (config-if) #e
    Switch (config) #in VLAN 40
    Switch (config-if) #no sh
    Switch (config-if) #ip add 192.168.40.254 255.255.255.0//Configure IP for VLAN40
    Switch (config-if) #e
    Switch (config) #ip routing
    4. Configure the Web server:


    5. Configure the DHCP server to "establish three pool of addresses":

    6. Terminal verification, testing, saving


    Terminal Access Site success
    Experimental topology diagram:

    Thank you for all your support

16th issue of Small Business Network architecture-dhcp and website service "Cisco"

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.