Saturday, July 25, 2020

Use static route to specific host or add default gateway?

From vlan 20 on my switch, I need to reach a specific host on vlan 30

I could add default gateway on my switch. That would send all traffic (not destined to the local network) to the DG and make it to vlan 30

But I also could add a static route: ip route 10.10.30.5 255.255.255.255 10.10.30.1

Wouldn't adding a static route be more secure that having a default gateway?

Do you guys always have a default gateway on your switches?

Thanks



No comments:

Post a Comment