cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2091
Views
0
Helpful
19
Replies

Basic Network Config - Not Working

ACE_9
Level 1
Level 1

Hi,

I have a basic set up that does not seem to be working as expected. 

this is all physical set up which consist of:

Cisco Router - 1900

Switch - 2960-X

2 Win 10 Machines 

Set up:

Router 1 - Fast0/0 - Ip 24.17.2.1 /24

PC 1 - 24.17.2.3 / 24 / DG 24.17.2.1

PC 2 - 24.17.2.4 / 24 / DG 24.17.2.1

On the switch i have put all the interfaces on Vlan 22.

Each host can ping the router but they cannot ping the switch (Vlan 22) or each other.

Can anyone shed some light on what the issue is.
Thanks.

A

 

 

1 Accepted Solution

Accepted Solutions

Hi,

Will you please check/disable your Win10 firewalls.

Best regards,

Antonin

View solution in original post

19 Replies 19

Jon Marshall
Hall of Fame
Hall of Fame

 

On the switch make sure the SVI for vlan 22 is up/up - "sh ip int br | inc Vlan". 

 

On the PCs check for firewall which is blocking incoming ICMP. 

 

Jon

Hi Jon,

SW1 is showing:

Vlan22 24.17.2.2 YES manual up up

Also on both hosts: File and Printer Sharing (Echo Request - ICMPv4-In) is enabled. 

Still hosts cant ping each other or the Vlan. They can only ping Router? 

Thanks.

A

 

Can the router ping the hosts ? 

 

Jon

Hello,

 

make the changes marked in bold to your configurations:

 

R1#show run
Building configuration...

Current configuration : 1040 bytes
!
! Last configuration change at 11:40:47 UTC Thu Feb 21 2019
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
no aaa new-model
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
cts logging verbose
!
license udi pid CISCO1921/K9 sn FCZ1928924S
!
redundancy
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0.22
encapsulation dot1q 22
ip address 24.17.2.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end

 

----------

 

SW1#show run
Building configuration...

Current configuration : 1769 bytes
!
! Last configuration change at 19:57:38 UTC Mon Jan 24 2000
!
version 15.0
no service pad
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
switch 1 provision ws-c2960x-24ts-l
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0
no ip address
!
interface GigabitEthernet1/0/1
description Trunk to Router
switchport mode trunk
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
switchport access vlan 22
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
switchport access vlan 22
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
!
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
!
interface GigabitEthernet1/0/25
!
interface GigabitEthernet1/0/26
!
interface GigabitEthernet1/0/27
!
interface GigabitEthernet1/0/28
!
interface Vlan1
no ip address
!
interface Vlan22
ip address 24.17.2.2 255.255.255.0
!
ip default-gateway 24.17.2.1
ip http server
ip http secure-server
!
line con 0
line vty 5 15
!
End

 

Georg

 

Why are you suggesting to use a trunk as it should work fine as it is. 

 

Jon

Hi Greg,

 

I applied your settings, please see attached. Same issue still, hosts can only ping router. However, router cant ping hosts. 

 

Thanks. 

A

On the switch, remove the line marked in bold (no switchport access vlan 22):

 

interface GigabitEthernet1/0/1
description Trunk to Router
--> switchport access vlan 22
switchport mode trunk

Hi Georg,

i have done that please see attached. Still no difference. 

Thanks

A

 

Can the router ping the hosts ?

 

Jon

Hello,

 

as Jon suggested, your setup should work as is/was. The trunk would be an alternative, my assumption was that since you don't use the default Vlan (1), you probably need more Vlans in the future. hence the router-on-a-stick suggestion.

 

I have the exact same setup in GNS3, and it works fine What is the output of 'ipconfig /all' from the Windows machines ?

The only thing I can think of is to delete interface Vlan 1 from the switch (no interface vlan 1), that is the only difference between your and my setup...

Hi Georg,

 

I tried to remove Vlan 1:

 

SW1(config)#interface vlan 1
SW1(config-if)#no interface vlan 1
% Default interface VLAN 1 may not be deleted.
SW1(config)#Default interface VLAN 1 may not be deleted.
Interface Vlan1 set to default configuration

 

I don't know what the issues could be, should i factory reset the switch and router and try again?

Thanks,

A

Hi,

Will you please check/disable your Win10 firewalls.

Best regards,

Antonin

Hi To All,

 

After going into Windows defender Center and disabling all firewall protection settings all hosts can ping each other and the router.

 

Thank you all for the expert help!!

Ace

Just out of curiosity, why are you using Vlan 22 and not the default Vlan (1) ?

Review Cisco Networking for a $25 gift card