cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3587
Views
5
Helpful
3
Replies

Default-gateway in switch

muraripadhan
Level 1
Level 1

I have 5 vlans

In core vlans are

vlan 10 (192.168.1.1/24) for Management Switch 

Vlan20 (172.16.1.1/16) for  Sales

Vlan30(172.17.1.1/16) for HR

Vlan 40 (172.18.1.1/16) for IT

Vlan 50 (172.19.1.1/16) for  Account

and

I have 20 access layer switch

Then what will be my default-gateway in my access switch

 

 

 

 

1 Accepted Solution

Accepted Solutions

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi 

I agree with Joseph, it should be for all the switches:

ip default-gateway 192.168.1.1

 

You can implement just one default gateway and it should be the default gateway of the management vlan. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

3 Replies 3

Joseph W. Doherty
Hall of Fame
Hall of Fame
It would be the gateway IP for the switch's management IP.

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi 

I agree with Joseph, it should be for all the switches:

ip default-gateway 192.168.1.1

 

You can implement just one default gateway and it should be the default gateway of the management vlan. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

To throw a wrench into this...

What happens when you use/connect the management port, to a separate OOB mgt switch?

Do you move the management ip, from the Mgt SVI, to the management interface? There's a default vrf there, so do you need to now enable ip routing? Default gateway or default static vrf route?