Application of experimental 01:DHCP
Experimental objective: To reduce the burden on the staff to configure the host IP address, the host automatically obtains the IP address and DNS
Lab Environment:
Open the Cisco Packet Tracer software, the experimental topology diagram is as follows:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/46/40/wKioL1Pwk1GyiBHUAACJWR5oumo244.jpg "title=" 01.jpg "alt=" Wkiol1pwk1gyibhuaacjwr5oumo244.jpg "/>
Experimental steps:
First, Open the Cisco Packet Tracer software, add a router and a switch, three hosts, and connect with a straight line
Second, Configure the Router
1. Configure Port IP address:
Global: interface fastethernet 0/0
Ip address 192.168.1.254 255.255.255.0
No shutdown
2. Configure DHCP
Global: IP DHCP Pool LH (LH is my custom name, can be different)
Network 192.168.1.0 255.255.255.0
Default-router 192.168.1.254
Dns-server 202.106.0.20
3. reserving assigned static IP addresses
Global: IP dhcp excluded-address 192.168.1.1 192.168.1.10 (1.1~1.10 will be reserved, host cannot be automatically acquired)
Third, get host IP address and DNS automatically
Click Host-Desktop-IP address configuration-Select Auto Get
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/46/3E/wKiom1PwklyROMnZAACEGsu0Kb8049.jpg "title=" 02.jpg "alt=" Wkiom1pwklyromnzaacegsu0kb8049.jpg "/>
Experimental validation:
Click Auto Get, IP address and DNS will be automatically generated, and the IP address starts from 192.168.1.11
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/46/3E/wKiom1Pwkn7SEyE7AAICsw9K2jU121.jpg "title=" 03.jpg "alt=" Wkiom1pwkn7seye7aaicsw9k2ju121.jpg "/>
Summary of issues and experiences:
If you do not finish writing in the configuration DHCP process, you need to write the IP DHCP pool LH in global mode, and then type the command that will be executed
Configuration of experimental 02:trunk
Experimental objective: To enable the host of the same VLAN that connects two switches to communicate with each other
Lab Environment:
Open the Cisco Packet Tracer software, the experimental topology diagram is as follows:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/46/40/wKioL1Pwk8DwHV8RAAE4WId_gNQ996.jpg "title=" 04.jpg "alt=" Wkiol1pwk8dwhv8raae4wid_gnq996.jpg "/>
Experimental steps:
First, Open the Cisco Packet Tracer software, add two switches, eight hosts, and connect with a straight-through line, with cross-lines between the switches.
Second, Configure the switch (two switches with the same configuration)
1. New VLAN
Global: VLAN 2
VLAN 3
2. assigning VLANs to ports
Global: int range F0/1 – 2
Switchport Access VLAN 2
Int range F0/3 – 4
Switchport access VLAN 3
3. Enter the Trunk interface:
I nterface fastethernet 0/5
Configure trunk:
S witchport mode trunk (trunk is required for two switches)
4. Remove the VLAN (on one of the switches)
Enter Trunk Interface (global):
I nterface fastethernet 0/5
Removing VLANs
S witchport trunk allowed VLAN remove 2
5. Add VLAN (on one of the switches)
Enter Trunk Interface (global):
I nterface fastethernet 0/5
Removing VLANs
S Witchport trunk allowed VLAN add 2
Third, Configure Ip,vlan 2 for 192.168.2.0 network segment, VLAN3 for 192.168.3.0 network segment
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/46/40/wKioL1Pwk_PAeFs_AAHdqvuShMU668.jpg "title=" 05.jpg "Width=" "height=" 266 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:330px;height:266px; "alt=" Wkiol1pwk_paefs_ Aahdqvushmu668.jpg "/>650) this.width=650;" Src= "http://s3.51cto.com/wyfs02/M01/46/3E/ Wkiom1pwkvqgms0waaiozcumsdg943.jpg "title=" 06.jpg "width=" "height=" 262 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:330px;height:262px; "alt=" wkiom1pwkvqgms0waaiozcumsdg943.jpg "/>
Experimental validation:
Host 192.168.2.1 Ping Host 192.168.2.3
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/46/3E/wKiom1PwkzngJv6xAAESq2_2HLI590.jpg "title=" 07.jpg "alt=" Wkiom1pwkzngjv6xaaesq2_2hli590.jpg "/>
After removing vlan2:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/46/40/wKioL1PwlG3Qn2HDAADFRR3lFwg795.jpg "title=" 08.jpg "alt=" Wkiol1pwlg3qn2hdaadfrr3lfwg795.jpg "/>
Summary of issues and experiences:
The line between the two switches is a trunk link that needs to be configured trunk. The link connecting the host to the switch is the access link, and no trunk is required.
Lab 03: Ethernet Channel
Experimental objective: To test the load balancing and fault tolerance of the link, configure the Ethernet channel
Lab Environment:
Open the Cisco Packet Tracer software, the experimental topology diagram is as follows:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/46/40/wKioL1PwlI3DbM4vAAFMkVSVOuc891.jpg "title=" 09.jpg "alt=" Wkiol1pwli3dbm4vaafmkvsvouc891.jpg "/>
Experimental steps:
First, Open the Cisco Packet Tracer software, add two switches, eight hosts, and connect with a straight-through line, with cross-lines between the switches.
Second, Configure the switch (two switch configurations are the same)
1. New VLAN
Global: VLAN 2
VLAN 3
2. assigning VLANs to ports
Global: int range F0/1 – 2
Switchport Access VLAN 2
Int range F0/3 – 4
Switchport access VLAN 3
3. Configuring the Ethernet channel
Global: Interface range F0/8 – 9 (minimum line is two)
Switchport modetrunk
Channel-group 1 mode on (1 for channel number)
Third, Configure Ip,vlan 2 for 192.168.2.0 network segment, VLAN3 for 192.168.3.0 network segment
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/46/3E/wKiom1Pwk5vgaYGYAAIOZCuMsDg897.jpg "title=" 10.jpg "alt=" Wkiom1pwk5vgaygyaaiozcumsdg897.jpg "/>
Experimental validation:
Can still communicate when one of the links is disconnected
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/46/40/wKioL1PwlPHiDVTGAAESq2_2HLI622.jpg "title=" 12.jpg "alt=" Wkiol1pwlphidvtgaaesq2_2hli622.jpg "/>
Summary of issues and experiences:
When you configure an Ethernet channel, the trunk path requires a minimum of two lines for load balancing, fault tolerance, and backup links.
This article is from the "Network Engineering" blog, please make sure to keep this source http://9262969.blog.51cto.com/9252969/1541334