12-29-2023 11:10 PM
Hi Team,
I have an issue with this topology, the main switch can ping to the main router on the vlan subinterfaces (192.168.10.2 and 192.168.20.2) the internal PCs can ping these subinterfaces as well. Now the issue is, the main router can ping to 8.8.8.8 but the main switch cannot ping 8.8.8.8 even though it is connected. Could you guys help me?
here is some of the configurations that i have made if you need it.
https://docs.google.com/document/d/13Y-BfJq8C7-odgAbUK1yysMs4TB2QRF3X25fqu8-now/edit?usp=sharing
Solved! Go to Solution.
12-30-2023
02:00 AM
- last edited on
01-01-2024
05:19 PM
by
Translator
@kevinchandra669 hi, add default route in your main switch.
for ex.
#ip route 0.0.0.0 0.0.0.0 192.168.10.2
since you have 2 sub interfaces in router, you can select either one of them as a default route destination. or add 2 default routes via both VLANs.
12-30-2023
02:00 AM
- last edited on
01-01-2024
05:19 PM
by
Translator
@kevinchandra669 hi, add default route in your main switch.
for ex.
#ip route 0.0.0.0 0.0.0.0 192.168.10.2
since you have 2 sub interfaces in router, you can select either one of them as a default route destination. or add 2 default routes via both VLANs.
12-30-2023 02:35 AM
Hi @Kasun Bandara , thank you very much! This really helped me a lot.
12-30-2023 02:52 AM - edited 12-30-2023 02:53 AM
Hello
Looks like the rtr and switch is performing the inter-vlan routing, suggest just make the switch perform this function.
See attached file.
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