Telnet/SSH from different interface vlans

in CCNA & CCENT
hi
VLAN 5 Switch
172.16.4.0 /25
255.255.255.128
VLAN 10 Left Pc
172.16.4.128 /25
255.255.255.128
VLAN 15 Right Pc
172.16.5.0 /25
255.255.255.128
if I have the following vlans , is there a way to telnet/ssh to the switch from VLAN 10 and VLAN 15 , the
switch is configure
interface vlan 5
ip address 172.16.4.20 255.255.255.128
but I cannot ping it and when I add the following configuration I can ping it
interface vlan 10 and
ip address 172.16.4.129 255.255.255.224
interface vlan 15
ip address 172.16.5.1 255.255.255.224
Comments
-
networker050184 Mod Posts: 11,962 Mod
Do you have a default gateway set on your switch?An expert is a man who has made all the mistakes which can be made. -
Matro Member Posts: 38 ■■□□□□□□□□
Like discobiscuits, I think you should route packets with a router or layer3 switch.Actually: CCNA - Palo Alto ACE -
M1S0 Member Posts: 41 ■■□□□□□□□□
I have default gateway but not sure if is the correct one
ip default-gateway 172.16.4.1 -
networker050184 Mod Posts: 11,962 Mod
What about your hosts? Do they have the correct DG set?An expert is a man who has made all the mistakes which can be made.