Post Reply
User avatar
Name:AddisonJoin In:Feb 21, 2019
CCNA_One-arm routing experiment

Post by Addison » Jan 4, 2019


First, the experimental topology
553
Second, the experimental configuration (CNS3.0 simulator)
○1
R1: Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname tony_R1 tony_R1(config)#interface fastEthernet 0/0 tony_R1(config-if)#no shutdown tony_R1 (config-if)#exit tony_R1(config)#interface fastEthernet 0/0.100 tony_R1(config-subif)#encapsulation dot1Q 100
tony_R1(config-subif)#ip address 10.1.1.254 255.255.255.0
tony_R1(config-subif)#no shutdown
tony_R1(config-subif)#exit tony_R1(config)#interface fastEthernet 0/0.200 tony_R1(config-subif)#encapsulation dot1Q 200 tony_R1(config-subif)#ip address 20.1.1.254 255.255.255.0 tony_R1(config-subif)# No shutdown
tony_R1(config-subif)#exit tony_R1(config)#exit
tony_R1#write Building configuration... ○2
SW1: Switch>enable Switch#vlan database Switch(vlan)# Switch(vlan)#vlan 100 VLAN 100 added: Name: VLAN0100 Switch(vlan)# Switch(vlan)#vlan 200 VLAN 200 added: Name: VLAN0200
Switch(vlan)#exit Switch# Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname tony_SW1 tony_SW1(config)#interface fastEthernet 1/1 tony_SW1(config-if)# Switchport trunk encapsulation dot1q tony_SW1(config-if)#switchport mode trunk tony_SW1(config-if)#no shutdown tony_SW1(config-if)#exit tony_SW1(config)#interface fastEthernet 1/2 tony_SW1(config-if)#switchport mode Access tony_SW1(config-if)#switchport access vlan 100 tony_SW1(config-if)#no shutdown tony_SW1(config-if)#exit tony_SW1(config)#interface fastEthernet 1/3 tony_SW1(config-if)#switchport mode access tony_SW1 (config-if)#switch access vlan 200 tony_SW1(config-if)#no shutdown tony_SW1(config-if)#exit tony_SW1(config)#no ip routing
tony_SW1(config)#exit tony_SW1#write Building configuration...
○3,
PC1 PC1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. PC1(config)# PC1(config)#interface fastEthernet 0/0 PC1(config-if)#ip address 10.1.1.1 255.255.255.0 PC1 (config-if)#no shutdown PC1(config-if)#exit PC1(config)#no ip routing PC1(config)#ip default-gateway 10.1.1.254 PC1(config)#exit PC1#wr Building configuration...
○4,
PC2 PC2 # configure terminal Enter configuration commands, one per line. End with CNTL / Z. PC2 (config) # PC2 (config) #interface fastEthernet 0/0 PC2 (config-if) #ip address 20.1.1.1 255.255.255.0 PC2 (config-if) #no shutdown PC2 (config-if) #exit PC2 (config) #no ip routing PC2 (config) #ip default-g PC2 (config) #ip default-gateway 20.1.1.254 PC2 (config) # Exit PC2#write Building configuration...
SPOTO Global Training ● Project ● Talent
SPOTO IT training institutions ● IT talent solutions ● CCIE lab ● BOOTCAMP all true IT project combat
WEB: http://www.SPOTO.netBBS: (network) http://bbs.SPOTO.net●
Partner to help customers succeed, help employees succeed, and help partners succeed. —— We create the future together!
Third, view and verify the experimental configuration
○1, R1: (privileged mode)
554
Show run
555
○2, SW1: (privileged mode)
556
Show run
557
○3\PC1-R1-PC2
558
○4, PC2-R1-PC1
559
○5, test traceroute PC1:
PC1:
560
PC2:
561
Reply

Post Reply