سؤال أخر
ليش لما اعمل Ping من sw1 الى ال ip 192.168.1.3 مش شغال ؟؟؟
SW1#sh run
Building configuration...
Current configuration : 1024 bytes
!
! Last configuration change at 01:32:01 EST Tue Jan 8 2013
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EST -5
!
ip cef
!
no ipv6 traffic interface-statistics
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
interface Ethernet0/0
switchport
switchport mode access
duplex auto
!
interface Ethernet0/1
switchport
switchport mode access
duplex auto
!
interface Ethernet0/2
switchport
switchport trunk encapsulation isl
switchport mode access
duplex auto
!
interface Ethernet0/3
switchport
switchport mode access
duplex auto
!
interface Vlan1
ip address 192.168.1.4 255.255.255.0
!
!
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input all
!
exception data-corruption buffer truncate
end
=============================
SW2#sh run
Building configuration...
Current configuration : 967 bytes
!
! Last configuration change at 01:37:21 EST Tue Jan 8 2013
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EST -5
!
ip cef
!
no ipv6 traffic interface-statistics
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface Ethernet0/1
ip address 10.20.30.2 255.255.255.0
duplex auto
!
interface Ethernet0/2
no ip address
shutdown
duplex auto
!
interface Ethernet0/3
switchport
switchport mode access
duplex auto
!
interface Vlan1
ip address 192.168.1.3 255.255.255.0
!
!
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input all
!
exception data-corruption buffer truncate
end
SW2#
المفضلات