Sơ đồ hiện tại mạng của em như sau;
02 PC---Core Swith ( Cisco3560) ---- 02 Switch 3COM--- 2 PC
Hiện tại em có 02 PC được cắm trực tiếp vào Core Switch
PC 01: 10.0.1.1 ( VLAN 1)
PC 02: 10.0.2.26 ( VLAN 2)
Swich 3com 01 cắm vào Switch 3560 ( interface trên đây được Switch port mode access VLAN 2.) PC04: 10.0.2.39
[B]
Swich 3com 01 cắm vào Switch 3560 ( interface trên đây được Switch port mode access VLAN 3. )PC 03 : 10.0.3.5
-----------------------------------
Từ Core switch em có thể ping được cả 4 PC 01 - 04
PC 03 : 10.0.3.5 có thẻ ping được PC 01: 10.0.1.1 ( VLAN 1), PC 02: 10.0.2.26 ( VLAN 2) ( Nhưng PC cắm trực tiếp vào Switch core)
PC 03 : 10.0.3.5 không thể ping PC04: 10.0.2.39 ( PC này cắm vào switch 3com)
PC 03 : 10.0.3.5 không thể ping PC04: 10.0.2.39 ( PC này cắm vào switch 3com)
PC 01, 02 cũng kô thẻ ping được PC 04, 03.
PC04, 03 lại ping duoc PC01, 02.
-------------------------
Anh chị nào có kinh nghiệm chỉ giáo cho em với nhé
Thanks.
Em gui them cau hin con Switch
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Coreswitch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$UD7L$4dm5rXnn26q0LigTieHoZ1
enable password xxxx
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip routing
no ip dhcp use vrf connected
ip dhcp excluded-address 10.0.2.1 10.0.2.20
ip dhcp excluded-address 10.0.3.1 10.0.3.20
ip dhcp excluded-address 10.0.4.1 10.0.4.20
ip dhcp excluded-address 10.0.5.1 10.0.5.20
ip dhcp excluded-address 192.168.7.1 192.168.7.20
!
ip dhcp pool vlan2
ip dhcp pool vlan2
network 10.0.2.0 255.255.255.0
dns-server 10.0.5.5 192.168.2.1 203.162.0.11
default-router 10.0.2.1
domain-name ctet.vn
lease 0 4
!
ip dhcp pool vlan3
network 10.0.3.0 255.255.255.0
dns-server 10.0.5.5 192.168.2.1 203.162.0.11
default-router 10.0.3.1
domain-name ctet.vn
lease 0 4
!
ip dhcp pool vlan4
network 10.0.4.0 255.255.255.0
dns-server 10.0.5.5 192.168.2.1 203.162.0.11
default-router 10.0.4.1
domain-name ctet.vn
lease 0 4
!
ip dhcp pool vlan5
network 10.0.5.0 255.255.255.0
dns-server 10.0.5.5 192.168.2.1 203.162.0.11
default-router 10.0.5.1
domain-name ctet.vn
lease 0 4
!
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
interface Loopback1
no ip address
shutdown
!
interface Loopback2
no ip address
shutdown
!
interface FastEthernet0/1
spanning-tree portfast
!
interface FastEthernet0/2
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
duplex full
!
interface FastEthernet0/4
switchport access vlan 2
spanning-tree portfast
--More--
interface FastEthernet0/4
switchport access vlan 2
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 2
spanning-tree portfast
!
interface FastEthernet0/6
switchport access vlan 3
spanning-tree portfast
!
interface FastEthernet0/7
switchport access vlan 3
switchport mode access
duplex full
!
interface FastEthernet0/8
switchport access vlan 3
spanning-tree portfast
!
interface FastEthernet0/9
switchport access vlan 4
switchport mode access
duplex full
!
--More--
activate the application
ip address 10.0.3.1 255.255.255.0
!
interface Vlan4
ip address 10.0.4.1 255.255.255.0
!
interface Vlan5
ip address 10.0.5.1 255.255.255.0
!
interface Vlan6
ip address 192.168.10.1 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.1.1
ip http server
!
!
!
snmp-server community cisco RO
-------------------------------------------------
Coreswitch#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.0.1.1 to network 0.0.0.0
10.0.0.0/24 is subnetted, 5 subnets
C 10.0.2.0 is directly connected, Vlan2
C 10.0.3.0 is directly connected, Vlan3
C 10.0.1.0 is directly connected, Vlan1
C 10.0.4.0 is directly connected, Vlan4
C 10.0.5.0 is directly connected, Vlan5
S* 0.0.0.0/0 [1/0] via 10.0.1.1
02 PC---Core Swith ( Cisco3560) ---- 02 Switch 3COM--- 2 PC
Hiện tại em có 02 PC được cắm trực tiếp vào Core Switch
PC 01: 10.0.1.1 ( VLAN 1)
PC 02: 10.0.2.26 ( VLAN 2)
Swich 3com 01 cắm vào Switch 3560 ( interface trên đây được Switch port mode access VLAN 2.) PC04: 10.0.2.39
[B]
Swich 3com 01 cắm vào Switch 3560 ( interface trên đây được Switch port mode access VLAN 3. )PC 03 : 10.0.3.5
-----------------------------------
Từ Core switch em có thể ping được cả 4 PC 01 - 04
PC 03 : 10.0.3.5 có thẻ ping được PC 01: 10.0.1.1 ( VLAN 1), PC 02: 10.0.2.26 ( VLAN 2) ( Nhưng PC cắm trực tiếp vào Switch core)
PC 03 : 10.0.3.5 không thể ping PC04: 10.0.2.39 ( PC này cắm vào switch 3com)
PC 03 : 10.0.3.5 không thể ping PC04: 10.0.2.39 ( PC này cắm vào switch 3com)
PC 01, 02 cũng kô thẻ ping được PC 04, 03.
PC04, 03 lại ping duoc PC01, 02.
-------------------------
Anh chị nào có kinh nghiệm chỉ giáo cho em với nhé
Thanks.
Em gui them cau hin con Switch
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Coreswitch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$UD7L$4dm5rXnn26q0LigTieHoZ1
enable password xxxx
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip routing
no ip dhcp use vrf connected
ip dhcp excluded-address 10.0.2.1 10.0.2.20
ip dhcp excluded-address 10.0.3.1 10.0.3.20
ip dhcp excluded-address 10.0.4.1 10.0.4.20
ip dhcp excluded-address 10.0.5.1 10.0.5.20
ip dhcp excluded-address 192.168.7.1 192.168.7.20
!
ip dhcp pool vlan2
ip dhcp pool vlan2
network 10.0.2.0 255.255.255.0
dns-server 10.0.5.5 192.168.2.1 203.162.0.11
default-router 10.0.2.1
domain-name ctet.vn
lease 0 4
!
ip dhcp pool vlan3
network 10.0.3.0 255.255.255.0
dns-server 10.0.5.5 192.168.2.1 203.162.0.11
default-router 10.0.3.1
domain-name ctet.vn
lease 0 4
!
ip dhcp pool vlan4
network 10.0.4.0 255.255.255.0
dns-server 10.0.5.5 192.168.2.1 203.162.0.11
default-router 10.0.4.1
domain-name ctet.vn
lease 0 4
!
ip dhcp pool vlan5
network 10.0.5.0 255.255.255.0
dns-server 10.0.5.5 192.168.2.1 203.162.0.11
default-router 10.0.5.1
domain-name ctet.vn
lease 0 4
!
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
interface Loopback1
no ip address
shutdown
!
interface Loopback2
no ip address
shutdown
!
interface FastEthernet0/1
spanning-tree portfast
!
interface FastEthernet0/2
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
duplex full
!
interface FastEthernet0/4
switchport access vlan 2
spanning-tree portfast
--More--
interface FastEthernet0/4
switchport access vlan 2
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 2
spanning-tree portfast
!
interface FastEthernet0/6
switchport access vlan 3
spanning-tree portfast
!
interface FastEthernet0/7
switchport access vlan 3
switchport mode access
duplex full
!
interface FastEthernet0/8
switchport access vlan 3
spanning-tree portfast
!
interface FastEthernet0/9
switchport access vlan 4
switchport mode access
duplex full
!
--More--
activate the application
ip address 10.0.3.1 255.255.255.0
!
interface Vlan4
ip address 10.0.4.1 255.255.255.0
!
interface Vlan5
ip address 10.0.5.1 255.255.255.0
!
interface Vlan6
ip address 192.168.10.1 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.1.1
ip http server
!
!
!
snmp-server community cisco RO
-------------------------------------------------
Coreswitch#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.0.1.1 to network 0.0.0.0
10.0.0.0/24 is subnetted, 5 subnets
C 10.0.2.0 is directly connected, Vlan2
C 10.0.3.0 is directly connected, Vlan3
C 10.0.1.0 is directly connected, Vlan1
C 10.0.4.0 is directly connected, Vlan4
C 10.0.5.0 is directly connected, Vlan5
S* 0.0.0.0/0 [1/0] via 10.0.1.1
Comment