1、整体图整体图路由器2811是两个接口的,需要增加一个接口NM-1FE-TX,开关打开DnsDNS SERVER要调到ONWEB SERVERPc0 ping pc1注意ping的写法Pc0 ping pc2Ping pc3第一次出现情况是因为pc3的IP及网关地址错误写成PC2的IP及网关地址PING成功Ping p4刚开始PING不通以及PC5PC6PC7PC8都不同PING出的结果相同原因如下4PING通PC567PINGSW0SwitchSwitchen Switch#conf tEnter configuration commands, one per line. End with C
2、NTL/Z.Switch(config)#do show runBuilding configuration.Current configuration : 1199 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!spanning-tree mode pvst!interface FastEthernet0/1 switchport access vla
3、n 10 switchport mode access!interface FastEthernet0/2 switchport access vlan 11 switchport mode access!interface FastEthernet0/3switchport mode trunk!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthern
4、et0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/
5、20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 loginline vty 5 15 login!endSwitch(config)#SW1SwitchSwitchen Switch#
6、conftTranslating conft.domain server (255.255.255.255)% Unknown command or computer name, or unable to find computer addressSwitch#Switch#Switch#Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#do show runBuilding configuration.Current configuration : 1259 byte
7、s!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!spanning-tree mode pvst!interface FastEthernet0/1switchport mode trunk!interface FastEthernet0/2 switchport access vlan 10 switchport mode access!interface Fas
8、tEthernet0/3 switchport access vlan 11 switchport mode access!interface FastEthernet0/4switchport mode trunk!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interfa
9、ce FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface
10、FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 loginline vty 5 15 login!EndSW2SwitchSwitchenSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#do
11、 show runBuilding configuration.Current configuration : 1222 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!spanning-tree mode pvst!interface FastEthernet0/1 switchport access vlan 12 switchport mode ac
12、cess!interface FastEthernet0/2 switchport access vlan 13 switchport mode access!interface FastEthernet0/3switchport mode trunk!interface FastEthernet0/4 switchport mode trunk!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEtherne
13、t0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/2
14、0!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 loginline vty 5 15 login!EndSW3SwitchSwitchSwitchen Switch#conf tEnte
15、r configuration commands, one per line. End with CNTL/Z.Switch(config)#show run % Invalid input detected at marker. Switch(config)#Switch(config)#Switch(config)#Switch(config)#Switch(config)#Switch(config)#Switch(config)#Switch(config)#Switch(config)#Switch(config)#Switch(config)#do show runBuilding
16、 configuration.Current configuration : 1199 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!spanning-tree mode pvst!interface FastEthernet0/1 switchport access vlan 12 switchport mode access!interface Fa
17、stEthernet0/2 switchport access vlan 13 switchport mode access!interface FastEthernet0/3 switchport mode trunk!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interf
18、ace FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface
19、 FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 loginline vty 5 15 login!endROUTER0Router(config)#do show runBuilding configuration.Current configuration :
20、 1138 bytes!version 12.4no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Router!no ip domain-lookup!spanning-tree mode pvst!interface FastEthernet0/0 no ip address duplex auto speed auto!interface FastEthernet0/0.1 encapsulation
21、dot1Q 99 ip address 10.0.99.1 255.255.255.0!interface FastEthernet0/0.2 encapsulation dot1Q 100 ip address 10.0.100.1 255.255.255.0!interface FastEthernet0/1 no ip address duplex auto speed auto!interface FastEthernet0/1.1 encapsulation dot1Q 10 ip address 10.0.10.1 255.255.255.0!interface FastEther
22、net0/1.2 encapsulation dot1Q 11 ip address 10.0.11.1 255.255.255.0!interface FastEthernet1/0 no ip address duplex auto speed auto!interface FastEthernet1/0.1 encapsulation dot1Q 12 ip address 10.0.12.1 255.255.255.0!interface FastEthernet1/0.2 encapsulation dot1Q 13 ip address 10.0.13.1 255.255.255.0!interface Vlan1 no ip address shutdown!ip classless!line con 0 exec-timeout 0 0 logging synchronous!line aux 0!line vty 0 4 login!end
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1