cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
0
Helpful
2
Replies

default gateway for the PC's in 2950

sakthicisco
Level 1
Level 1

Hai everybdy,

I have my set up this way between two diffrent areas/subnet.IP routing is enabled between 3750(1st).what will b the default gateway for pc's in 2960?3750(2nd) has 2 interfece with ip routing enabled(as it has diff subnet)can somebdy explain in wat case the default gateway for pc's will be 3750(2nd)interface or 3750(2nd)interface???looking forward to get a detailed reply..

3750-------------------3750(1st)

! !

3750 3750(2nd)

! !

2960 2960

! !

20 PC's connected. 10 PC's

2 Replies 2

glen.grant
VIP Alumni
VIP Alumni

Your default gateway will be the layer 3 routed interface address for your vlan , if say vlan 3 is defined on your 3750 with an address of 192.168.3.1 , then all pc's in vlan 3 will point their default gateway at that address.

Istvan_Rabai
Level 7
Level 7

Hi Sakthi,

Suppose your 20 pcs are in vlan x.

If you can reach 3750(1st) through layer2, then the ip address of "interface vlan x" of 3750(1st) will be the default gateway address for the 20 pcs.

In this case you should have a "vlan x" configured on 3750(2nd) through which you should reach 3750(1st).

If you have an "interface vlan x" on your 3750(2nd) and there is only layer3 (routed) connection between 3750(2nd) and 3750(1st), then the ip address of "interface vlan x" of 3750(2nd) should be the default gateway address for the 20 pcs.

So the default gateway should be the router or layer3 switch that you can reach from your pcs within 1 hop.

I hope I expained clearly :)

Cheers:

Istvan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card