cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1140
Views
0
Helpful
10
Replies

CANNOT PING OR TELNET VLAN1

rivanfrank
Beginner
Beginner

Hello Everyone,

I have this two switch and one router configured as router on stick.

---Switch1---

int gi0/1 is connected to Router1

int gi0/1 switchport mode trunk, switchport trunk allowed vlan 1,10,20

int fa0/1 is connected to Switch2

int fa0/1 switchport mode trunk, switchport trunk allowed vlan 1,10,20

int fa0/2 switchport mode access, switchport access vlan 1 (PC ip address 192.168.10.2 255.255.255.0 192.168.10.1)
int fa0/3 switchport mode access, switchport access vlan 10 (PC ip address 192.168.10.5 255.255.255.0 192.168.10.1)

vlan 1 ip address 192.168.10.10 x.x.x.x

ip default-gateway 192.168.10.1

PROBLEM: - int fa 0/3 PC Cannot ping or telnet VLAN1 but can ping default-gateway, cannot ping int fa0/2 PC also

- while int fa0/2 PC can ping or telnet VLAN1 but cannot ping int fa0/5 PC & default-gateway

---Switch2---

int fa0/1 is connected to Switch1

int fa0/1 switchport mode trunk, switchport trunk allowed vlan 1,10,20

int fa0/2 switchport mode access, switchport access vlan 1 (PC ip address 192.168.20.2 255.255.255.0 192.168.20.1)
int fa0/3 switchport mode access, switchport access vlan 20 (PC ip address 192.168.20.5 255.255.255.0 192.168.20.1)

vlan 1 ip address 192.168.20.10 x.x.x.x

ip default-gateway 192.168.20.1

PROBLEM: - int fa 0/3 PC Cannot ping or telnet VLAN1 but can ping default-gateway, cannot ping int fa0/2 PC also

- while int fa0/2 PC can ping or telnet VLAN1 but cannot ping int fa0/5 PC & default-gateway

---Router1---

int gi0/1.10

encapsulation dot1q 10

192.168.10.1 255.255.255.0

int gi0/1.20

encapsulation dot1q 20

192.168.20.1 255.255.255.0

Anyone can help me? THANKS

10 Replies 10

Kelvin Willacey
Enthusiast
Enthusiast

VLAN 1 and VLAN 10 is in the same subnet, 192.168.10.0, is that correct or a typo?

What do you mean?

Joel
Beginner
Beginner

Hi,

I am not sure if there are typos but these are incorrect.

SWITCH1 - SAME SUBNET IN USE DIFFERENT VLANs

int fa0/2 switchport mode access, switchport access vlan 1 (PC ip address 192.168.10.2 x.x.x.x 192.168.10.1)
int fa0/3 switchport mode access, switchport access vlan 10 (PC ip address 192.168.10.5 x.x.x.x 192.168.10.1)

SWITCH2 - SAME AS ABOVE BUT DIFFERENT NETWORK ADDRESS

int fa0/2 switchport mode access, switchport access vlan 1 (PC ip address 192.168.20.2 x.x.x.x 192.168.20.1)
int fa0/3 switchport mode access, switchport access vlan 20 (PC ip address 192.168.20.5 x.x.x.x 192.168.20.1)

ROUTER - VLAN1 not listed 

int gi0/1.10

encapsulation dot1q 10

192.168.10.1 x.x.x.x

int gi0/1.10 - should this read int gi0/1.20?

encapsulation dot1q 20

192.168.20.1 x.x.x.x

Joel