Cisco Packet Tracert's three-tier switch DHCP service

Source: Internet
Author: User

Lab Environment:

650) this.width=650; "alt=" Cisco Packet Tracert three-tier switching DHCP service-Ibm.chick-mingkang.zhou "src=" Http://img0.ph.126.net/tag 7vac5pybsnfocl_bnga==/6630314600233973070.png "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>

Experimental Purpose:

1, in the three-layer switch division vlan100\vlan200, and the FA0/1 and FA0/2 respectively divided into VLAN100 \vlan200.

2. Create a pool of IP addresses for each VLAN on the three-layer switch and create the appropriate information for the gateway.

3. Check whether the client has obtained the corresponding IP information.

Experimental steps:

1, in the three-layer switch division vlan100\vlan200, and the FA0/1 and FA0/2 respectively divided into VLAN100 \vlan200.

Switch>enable

Switch#conf T

Enter configuration commands, one per line. End with cntl/z.

Switch (config) #vlan 100

Switch (Config-vlan) #exit

Switch (config) #vlan 200

Switch (Config-vlan) #exit

Switch (config) #int vlan100

Switch (config-if) #

%link-5-changed:interface Vlan100, CHANGED state-to-up

Switch (config-if) #ip add 192.168.100.254 255.255.255.0

Switch (config-if) #exit

Switch (config) #int VLAN 200

Switch (config-if) #

%link-5-changed:interface Vlan200, CHANGED state-to-up

Switch (config-if) #ip add 192.168.200.254 255.255.255.0

Switch (config-if) #exit

Switch (config) #int FA0/1

Switch (config-if) #switchport mode access Switch (config-if) #switchport Access VLAN 100

Switch (config-if) #

%lineproto-5-updown:line protocol on Interface Vlan100, changed

Switch (config-if) #exit

Switch (config) #int FA0/2

Switch (config-if) #switchport mode access

Switch (config-if) #switchport access VLAN 200

2. Create a pool of IP addresses for each VLAN on the three-layer switch and create the appropriate information for the gateway.

Switch (config) #ip DHCP pool vlan100

Switch (dhcp-config) #network 192.168.100.0 255.255.255.0

Switch (dhcp-config) #default-router 192.168.100.254

Switch (Dhcp-config) #exit

Switch (config) #ip DHCP pool vlan200

Switch (dhcp-config) #network 192.168.200.0 255.255.255.0

Switch (dhcp-config) #default-router 192.168.200.254

Switch (Dhcp-config) #exit

3. Check whether the client has obtained the corresponding IP information.

650) this.width=650; "alt=" Cisco Packet Tracert three-tier switching DHCP service-Ibm.chick-mingkang.zhou "src=" Http://img0.ph.126.net/lGK Nuw2gqwypdcs2zdcwia==/6630797285838741528.jpg "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>


Cisco Packet Tracert's three-tier switch DHCP service

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.