04-27-2019 10:35 AM
Hey,
i have a problem with my Cisco device (Catalyst 3560G 48Port PoE).
I cant ping the switch or ping a Client(Pc). I added the Config and removed all private informations.
test-sw-1#sh ru
Building configuration...
Current configuration : 4192 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname test-sw-1
!
boot-start-marker
boot-end-marker
!
enable password ****
!
username Telnet-User password 0 *****
!
!
no aaa new-model
system mtu routing 1500
!
!
!
crypto pki trustpoint TP-self-signed-4225796480
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-4225796480
revocation-check none
rsakeypair TP-self-signed-4225796480
!
!
crypto pki certificate chain TP-self-signed-4225796480
certificate self-signed 01
.........................................................
quit
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
interface GigabitEthernet0/1
switchport mode access
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
!
interface GigabitEthernet0/8
!
interface GigabitEthernet0/9
!
interface GigabitEthernet0/10
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
!
interface GigabitEthernet0/16
!
interface GigabitEthernet0/17
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/18
!
interface GigabitEthernet0/19
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
!
interface GigabitEthernet0/24
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface GigabitEthernet0/29
!
interface GigabitEthernet0/30
!
interface GigabitEthernet0/31
!
interface GigabitEthernet0/32
!
interface GigabitEthernet0/33
!
interface GigabitEthernet0/34
!
interface GigabitEthernet0/35
!
interface GigabitEthernet0/36
!
interface GigabitEthernet0/37
!
interface GigabitEthernet0/38
!
interface GigabitEthernet0/39
!
interface GigabitEthernet0/40
!
interface GigabitEthernet0/41
!
interface GigabitEthernet0/42
!
interface GigabitEthernet0/43
!
interface GigabitEthernet0/44
!
interface GigabitEthernet0/45
!
interface GigabitEthernet0/46
!
interface GigabitEthernet0/47
!
interface GigabitEthernet0/48
switchport access vlan 101
switchport mode access
!
interface GigabitEthernet0/49
!
interface GigabitEthernet0/50
!
interface GigabitEthernet0/51
!
interface GigabitEthernet0/52
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 10.0.0.10 255.255.255.0
!
interface Vlan101
ip address 101.0.0.10 255.255.255.0
!
ip classless
ip http server
ip http secure-server
!
!
!
!
!
line con 0
password *****
login
line vty 0 4
login
line vty 5 15
login
!
end
Greetings
04-27-2019 11:14 AM
Hi @Play Time ,
Queries:
Can you ping other devices?
Do you have normal connectivity?
Have you tried disabling the firewall of the
PCs?
Regards
04-27-2019 11:44 PM
04-28-2019 05:29 AM
Hi @Play Time ,
If you want to be able to connect two different vlan, you must have an L3 device. If it is a router, you should use router-on-a-stick and assign it a gateway for the administration vlan.
If your switch has an L3 feature, you must enable that with the ip routing command.
Regards
04-27-2019 11:25 AM - edited 04-27-2019 11:29 AM
Hello
You don’t provide enough information
Where are you trying to ping this switch from?
To/ From what subnet
Is this switch connected to a another switch/router from where your trying to connect?
If there is another switch and your trying to connect from a different vlan I don’t see any trunk in your configuration
Can you please elaborate on your current setup
04-28-2019 12:00 AM
04-28-2019 01:41 AM
Hello
Do you have the correct addressing applied to the pc and just for testing turn off any software firewall on the pc
Apply the following to the switch and test again.
Conf t
vlan 100-101
exit
interface GigabitEthernet0/17
spanning-tree portfast
interface GigabitEthernet0/48
spanning-tree portfast
04-27-2019 11:49 AM
Your config high level is here, you have only few ports allocated to VLAN, Rest of the port get in to Default VLAN1
So you Plugged your Pc in to in Gi 0/17 or 0/19 - YOUR PC need to be ip address 10.0.0.11 255.255.255.0 with the gateway IP 10.0.0.10
So you Plugged your Pc in to in Gi 0/48 - YOUR PC need to be ip address 101.0.0.11 255.255.255.0 with the gateway IP 101.0.0.10
You should be able to ping respect Gateways, from switch to PC you not able to Ping as suggested other post disable PC FW and try.
interface GigabitEthernet0/17
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/19
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/48
switchport access vlan 101
switchport mode access
!
!
interface Vlan10
ip address 10.0.0.10 255.255.255.0
!
interface Vlan101
ip address 101.0.0.10 255.255.255.0
!
If this is still not working, as suggested you need to provide more information, what is the IP of the PC ?
04-28-2019 06:45 AM
Hello dear,
Can you share with us the output for # show Ip cef
- What is the default gateway which you have it on the switch ?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: