interface FastEthernet0/0 ip address 192.168.0.1 255.255.255.0 duplex auto speed auto!
interface FastEthernet0/1 ip address 192.168.1.1 255.255.255.0 duplex auto speed auto!
在f0/1端口上有一台交换机与电脑1相连,f0/0上有一台电脑2和交换机相连,电脑2地址192.168.0.2,但是用电脑1 ping电脑2的地址就是ping不同
C 192.168.0.0/24 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/1
interface FastEthernet0/1 ip address 192.168.1.1 255.255.255.0 duplex auto speed auto!
在f0/1端口上有一台交换机与电脑1相连,f0/0上有一台电脑2和交换机相连,电脑2地址192.168.0.2,但是用电脑1 ping电脑2的地址就是ping不同
C 192.168.0.0/24 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/1