Автор: ErlahA
Дата сообщения: 12.07.2012 11:07
Приветствую коллеги
Я новичек в cisco, поэтому прошу помощи в настройке
Есть L3 свитч 3560v2-24TS к нему подсоединена раб.станция с IP 192.168.0.5.
и есть L2 свитч D-Link DES-3028 c подключенной к нему раб.станцией с IP 192.168.1.5.
не идут пинги с одной станции на другую и наоборот.
прилагаю конфиги 3560 и d-link 3028P:
[more=конфиг 3560][/more]cisco3560#show run
Building configuration...
Current configuration : 2280 bytes
!
! Last configuration change at 13:16:07 UTC Thu Jul 12 2012
! NVRAM config last updated at 13:11:48 UTC Thu Jul 12 2012
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname cisco3560
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$mznQ$oWduofn.4PRfSsTuHkQO8.
enable password 7 0739245E471D160B1A465D45
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip routing
no ip domain-lookup
ip domain-name mydomain
ip name-server 192.168.0.77
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet0/1
switchport access vlan 155
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 154
switchport mode access
!
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
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,154,155
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 10.1.1.2 255.255.255.0
!
interface Vlan154
ip address 192.168.1.1 255.255.255.0
!
interface Vlan155
ip address 192.168.0.1 255.255.255.0
!
ip default-gateway 192.168.0.226
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.226
ip route 192.168.1.0 255.255.255.0 192.168.0.0
ip route 192.168.0.0 255.255.255.0 192.168.1.0
ip http server
ip http secure-server
!
!
control-plane
!
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
ntp server 192.168.0.77 version 2 source Vlan1
end
cisco3560#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Gi0/1, Gi0/2
154 goszakup active Fa0/2
155 buhg active Fa0/1
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
154 enet 100154 1500 - - - - - 0 0
155 enet 100155 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------[/more]
[more=конфиг 3028P][/more]DES-3028P:4#show switch
Command: show switch
Device Type : DES-3028P Fast Ethernet Switch
MAC Address : 34-08-04-95-85-8A
IP Address : 192.168.0.20 (Manual)
VLAN Name : default
Subnet Mask : 255.255.255.0
Default Gateway : 192.168.0.226
Boot PROM Version : Build 1.00.B06
Firmware Version : Build 2.00.B27
Hardware Version : A2
Serial Number : P1D22B3000336
System Name : dlink20-operb
System Location :
System Contact :
Spanning Tree : Disabled
GVRP : Disabled
IGMP Snooping : Disabled
VLAN trunk : Disabled
802.1x : Disabled
TELNET : Disabled
WEB : Enabled(TCP 80)
RMON : Disabled
SSH : Enabled(TCP 22)
SSL : Disabled
Clipaging : Enabled
Syslog Global State: Disabled
Dual Image : Supported
Password Encryption Status : Disabled
DES-3028P:4#show vlan
Command: show vlan
VID : 1 VLAN Name : default
VLAN Type : Static Advertisement : Enabled
Member Ports : 1-28
Static Ports : 1-28
Current Tagged Ports : 24
Current Untagged Ports : 1-23,25-28
Static Tagged Ports : 24
Static Untagged Ports : 1-23,25-28
Forbidden Ports :
Total Entries : 1
DES-3028P:4#[more][/more]
на обоих свитчах настроил 24 порт как транковый и соединил между собой.