Use software GNS3 to configure a collective experiment of VTP,DHCP , and single-arm routing
Create the topology diagram first: The red font is the item that the route exchange needs to do.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5A/01/wKiom1Ty53WihYD-AAH6a-n5vjY522.jpg "style=" float: none; "title=" Image 1.png "alt=" Wkiom1ty53wihyd-aah6a-n5vjy522.jpg "/>
configuration on the SW1:
First, the trunk Link and make two Ethernet channels. Watch who is tied up with WHO!!! Don't make a mistake!
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/FE/wKioL1Ty6IWj-gUbAAPfZz7i3wI841.jpg "style=" float: none; "title=" Image 2.png "alt=" Wkiol1ty6iwj-gubaapfzz7i3wi841.jpg "/>
then configure VTP domain and server(service) mode for SW1
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/FE/wKioL1Ty6IbjrdvWAAKZ2AyPg0E394.jpg "style=" float: none; "title=" Image 3.png "alt=" Wkiol1ty6ibjrdvwaakz2aypg0e394.jpg "/>
in the fa1/0 Configure trunk mode above (the port that connects the router)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/01/wKiom1Ty53ag7IBiAABlIQ5VeRE178.jpg "style=" float: none; "title=" Image 4.png "alt=" Wkiom1ty53ag7ibiaabliq5vere178.jpg "/>
create a total of two VLAN, let the following two switches learn automatically
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/FE/wKioL1Ty6IbATK4vAAB5r4wbbX0923.jpg "style=" float: none; "title=" Image 5.png "alt=" Wkiol1ty6ibatk4vaab5r4wbbx0923.jpg "/>
configuration on the SW2:
The first configuration is the VTP domain and the SW3 are configured with the customer mode
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/01/wKiom1Ty53exWaBgAALCKgXWuZY170.jpg "style=" float: none; "title=" Image 6.png "alt=" Wkiom1ty53exwabgaalckgxwuzy170.jpg "/>
to the appropriate port configuration Trunk and Ethernet channel (note the Ethernet channel number, which corresponds to the Ethernet channel number bundled above)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/01/wKiom1Ty53fzKVUIAAGotIQtTHU780.jpg "style=" float: none; "title=" Image 7.png "alt=" Wkiom1ty53fzkvuiaagotiqtthu780.jpg "/>
enter the interface connecting the PC , add the corresponding VLAN650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/ M02/59/fe/wkiol1ty6iiz0xfvaacqv53uro4008.jpg "style=" Float:none; "title=" Picture 8.png "alt=" Wkiol1ty6iiz0xfvaacqv53uro4008.jpg "/>
SW3 The above configuration:
configuration VTP on SW3 is also customer mode, as is the case with SW2 theory.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5A/01/wKiom1Ty53nzi9pyAAM-i2v71v8184.jpg "style=" float: none; "title=" Image 9.png "alt=" Wkiom1ty53nzi9pyaam-i2v71v8184.jpg "/>
The only difference with SW2 is to pay attention to the port number and the bundled Ethernet channel number don't be mistaken.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/FE/wKioL1Ty6IqAjxEeAANvorabSUQ505.jpg "style=" float: none; "title=" Image 10.png "alt=" Wkiol1ty6iqajxeeaanvorabsuq505.jpg "/>
R4 above configuration: one-arm routing
in the R4 above is configured as follows: First activate the port directly. Then the rate and duplex are configured
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/01/wKiom1Ty53vASwz8AAMuK4NGCNk302.jpg "style=" float: none; "title=" Image 11.png "alt=" Wkiom1ty53vaswz8aamuk4ngcnk302.jpg "/>
Enter under the fa0/0 of R4. sub-interface configuration R4 Single-arm routing attribute, which is the package type of sub-interface and select VLAN, then configure the IP Address (note the order can not be wrong)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/FE/wKioL1Ty6IzCKg9PAAL129UzEWE584.jpg "style=" float: none; "title=" Image 12.png "alt=" Wkiol1ty6izckg9paal129uzewe584.jpg "/>
According to the configuration DHCP related properties (because I've hung up two networks all to configure two DHCP)
The configuration of DHCP mainly includes name, scope, gateway, lease, DNS, reserved scope and so on.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/01/wKiom1Ty533xqnEsAANk-zm42yk983.jpg "style=" float: none; "title=" Image 13.png "alt=" Wkiom1ty533xqnesaank-zm42yk983.jpg "/>
Configure a default route to view routing table information
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/FE/wKioL1Ty6I3DrTwFAANf_k3Sumk046.jpg "style=" float: none; "title=" Image 14.png "alt=" Wkiol1ty6i3drtwfaanf_k3sumk046.jpg "/>
R5 The above configuration:
in the R5 The above configuration is just two static routes and configure two IP addresses
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5A/01/wKiom1Ty536xjMpsAAOd1ZcJ0nY016.jpg "style=" float: none; "title=" Image 15.png "alt=" Wkiom1ty536xjmpsaaod1zcj0ny016.jpg "/>
Set IPv4 automatically get IP address, virtual machine and real machine are set to get automatically
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/FE/wKioL1Ty6I-iz7RYAAMOunAofBk237.jpg "style=" float: none; "title=" Image 16.png "alt=" Wkiol1ty6i-iz7ryaamounaofbk237.jpg "/>
Open the virtual machine's CMD View IP address, because 12.1 is a gateway, and 12.2-12.100 is used as a reservation, so this is automatically obtained 12.102!!! Ipconfig/renew is the property used to refresh the IP address
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/01/wKiom1Ty54CCVBgtAAJUuwiq3E4511.jpg "style=" float: none; "title=" Image 17.png "alt=" Wkiom1ty54ccvbgtaajuuwiq3e4511.jpg "/>
finally open VPCS Configure the IP address of the Add network card and ping the virtual machine's IP address
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/FE/wKioL1Ty6JCS7IvtAAK3ID4rXPw122.jpg "style=" float: none; "title=" Image 18.png "alt=" Wkiol1ty6jcs7ivtaak3id4rxpw122.jpg "/>
inside the virtual machine Ping The results of the other two PC Computers
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/01/wKiom1Ty54GzQNrpAAOSR8ztUZU539.jpg "style=" float: none; "title=" Image 19.png "alt=" Wkiom1ty54gzqnrpaaosr8ztuzu539.jpg "/>
results Verify that each PNG Pass.
ip address. First Use ipconfig /renew refresh ip ping host PC3 PC3 ip
This article is from the "My World" blog, please be sure to keep this source http://zhang2015.blog.51cto.com/9735109/1616309
Configuring detailed and configuration experiments for VTP, DHCP, and single-arm routing using the GNS3 software