11-18-2016 05:28 AM - edited 03-08-2019 08:12 AM
Hi all, I have 3 switches and 1 router.
I created vlans (data=10,20,30, voice=50 ad native=80) and then I configured the Router-On-Stick at R1 as you can see in the picture.
I'm using vlan80 as native and I created "Interface vlan 80" for telnet and SSH issues, and I configured the "ip default-gateway" in all switches in order to keep it communicating with the router and the whole LAN, but whenever I try to ping to the default-gateway and the other hosts from the switch privileged mode, the ping always fails.
Any trick please.
11-18-2016 09:35 AM
Hi,
There is no picture.
Also, have you configured the router with an IP address in the same segment as vlan 80 subnet?
Can you post the config from one of the switches and the router (sh run)?
HTH
11-19-2016 10:33 AM
11-19-2016 10:36 AM
11-19-2016 11:13 AM
Hi Reza, I already solved this.
Of course there was a problem with the vlan routing, i didn't create the sub-interface for vlan 80 routing on encapsulation dot1Q.
So now i did it and it's all okay.
But I removed the interface vlan 80 from all witches and I created int vlan 20 because these were already on vlan routing domain in the router.
Thank you for support.
11-19-2016 11:44 AM
Hi,
Sure, vlan 80 or 20 will work as long as there is subnet associated with it and it is part of the routing domain.
Glad to help
HTH
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide