Packet_Tracer使用教程 中的问题
根据_Packet_Tracer使用教程2960与pc链接,console进行配置,使pc能ping通192.168.1.1,并且能telnet 192.168.1.1
现在问题ping不通不知道哪里错了,下面是配置麻烦大侠们看看,谢谢!
Current configuration : 1121 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
enable password 123456
!
!
!
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
duplex full
speed 100
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/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/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
!
!
!
!
line con 0
!
line vty 0 4
password 5ijsj
login
line vty 5 15
login
!
!
end
本帖最后由 astray0 于 2017-7-19 15:59 编辑
交换机
interface FastEthernet0/1
duplex full (强制全双工)
speed 100
而PC默认是duplex auto (自协商)
故PC自动协商失败,则默认模式为半双工
导致两端不匹配,线路down
要么交换机int f0/1
duplex auto
要么PC config选项卡中 配置
duplex full
现在更晕了,之前弄的switch接2台pc,pc设同一网段IP,互ping通是没问题的,但现在竟然ping不通了,另外你说的这个我看了下默认里本来就选择的是full duplex OK,搞定了,就是duplex的问题,谢谢啦
页:
[1]