Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IP Default Gateway

SW1 is connected to the router is a layer 3 switch and is doing intervlan routing. SW2 is a layer 2 switch and is conneted to SW1 via trunk link. SW3 is a layer 2 switch and connected to S2 via trunk link. Will SW2 and SW3 ip default gateway be 10.0.0.1?

Router:

G0/1 <--Switch-->

ip address 10.0.0.1 255.255.255.252

-------------------------------------------

SW1:

Fa0/48 <--Router-->

ip address 10.0.0.2 255.255.255.252

VLAN99 <--Management-->

ip address 10.0.99.1 255.255.255.0

VLAN100 <--Servers-->

ip address 10.0.100.1 255.255.255.0

VLAN200 <--Users-->

ip address 10.0.200.1 255.255.255.0

-------------------------------------------

SW2:

ip default gateway 10.0.0.1

VLAN99 <--Management-->

ip address 10.0.99.2 255.255.255.0

------------------------------------------

SW3:

ip default gateway 10.0.0.1

VLAN99<--Management-->

ip address 10.0.99.3 255.255.255.0

3 REPLIES
New Member

IP Default Gateway

Sorry, i meant to say this.

If I have a router and three switches (SW1, SW2, SW3) and all three of these switches are dasiy chained. SW1 is connected to the router is a layer 3 switch and is doing intervlan routing. SW2 is a layer 2 switch and is conneted to SW1 via trunk link. SW3 is a layer 2 switch and connected to S2 via trunk link. Will SW2 and SW3 ip default gateway be 10.0.0.1?

New Member

IP Default Gateway

Dear shimabuku

                      Your default gateway must be configured as 10.0.99.1 on your switch 2 & Switch 3 .

If you want to ping or manage both Sw2 & Sw3 from your router you need to have reverse route on router pointing to 10.0.0.2/30 either statically or dynamically .

HTH

Santhosh Saravanan

HTH Regards Santhosh Saravanan
VIP Purple

Re: IP Default Gateway

All the three switches have in common is the Management-Vlan but not the 10.0.0.0/30 subnet. So the default-gateway for the L2-switches will be the Mgmt-IP-address of the L3-switch which is 10.0.99.1.

Sent from Cisco Technical Support iPad App


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
156
Views
0
Helpful
3
Replies