Cisco Packet Tracer Three-tier switch interrupts DHCP

Source: Internet
Author: User

Lab Environment:

650) this.width=650; "alt=" Cisco Packet Tracer three-layer switch interrupt Dhcp-ibm.chick-mingkang.zhou "src=" http://img0.ph.126.net/4fx 93s0ahtpaead19pxmyg==/6619563575538146055.jpg "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>

Experimental Purpose:

1, the VLAN is divided on the three layer switching: vlan10\vlan100\vlan200, and the IP is specified as: 192.168.10.254\ 192.168.100.254\ 192.168.200.254.

2, the FA0/1 \ fa02 \ fa04 respectively divided into the vlan100\ VLAN VLAN10.

3. Enable the routing protocol on the three-layer switch to enable interoperability between VLANs. (If you are simply trying to get an IP address, you are not using a routing protocol)

4. Enable IP helper-address on each VLAN on the three-layer switch.

5. Add the IP address pool on the server.

6. Check if the PC can get the IP address properly.

1, the VLAN is divided on the three layer switching: vlan10\vlan100\vlan200, and the IP is specified as: 192.168.10.254\ 192.168.100.254\ 192.168.200.254.

Switch#conf T

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

Switch (config) #vlan 10

Switch (Config-vlan) #exit

Switch (config) #vlan 100

Switch (Config-vlan) #exit

Switch (config) #vlan 200

Switch (Config-vlan) #exit

Switch (config) #int VLAN 10

Switch (config-if) #

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

Switch (config-if) #ip add 192.168.10.254 255.255.255.0

Switch (config-if) #no shutdown

Switch (config-if) #exit

Switch (config) #int VLAN 100

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) #no shutdown

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) #no shutdown

2, the FA0/1 \ fa02 \ fa04 respectively divided into the vlan100\ VLAN VLAN10.

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

Switch (config-if) #

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

Switch (config-if) #exit

Switch (config) #int FA0/4

Switch (config-if) #switchport mode access

Switch (config-if) #switchport Access VLAN 10

3. Enable the routing protocol on the three-layer switch to enable interoperability between VLANs.

Switch (config) #ip routing

Switch (config) #router rip

Switch (config-router) #ver 2

Switch (config-router) #no au

Switch (config-router) #net 192.168.10.0

Switch (config-router) #net 192.168.100.0

Switch (config-router) #net 192.168.200.0

Switch (Config-router) #exit

4. Enable IP helper-address on each VLAN on the three-layer switch.

Switch (config) #int VLAN 10

Switch (config-if) #ip helper-address 192.168.10.1 (DHCP server IP)

Switch (config-if) #exit

Switch (config) #int VLAN 100

Switch (config-if) #ip helper-address 192.168.10.1

Switch (config-if) #exit

Switch (config) #int VLAN 200

Switch (config-if) #ip helper-address 192.168.10.1

Switch (config-if) #exit

5. Add the IP address pool on the server.

650) this.width=650; "alt=" Cisco Packet Tracer three-layer switch interrupt Dhcp-ibm.chick-mingkang.zhou "src=" http://img0.ph.126.net/rj5 Oehnnmy4luvcbbei7sg==/6619081989445183785.jpg "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>

6, check whether the PC can obtain the IP address normally, as follows:

650) this.width=650; "alt=" Cisco Packet Tracer three-layer switch interrupt Dhcp-ibm.chick-mingkang.zhou "src=" HTTP://IMG0.PH.126.NET/1MC Vol1pop3r_6hqc-mndg==/6630685135652709189.jpg "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>


Cisco Packet Tracer Three-tier switch interrupts DHCP

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.