default gateway for the PC's in 2950

Unanswered Question
Mar 8th, 2008
User Badges:

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(2nd)

! !

2960 2960

! !

20 PC's connected. 10 PC's

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
glen.grant Sun, 03/09/2008 - 05:23
User Badges:
  • Purple, 4500 points or more

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 , then all pc's in vlan 3 will point their default gateway at that address.

Istvan_Rabai Sun, 03/09/2008 - 09:50
User Badges:
  • Gold, 750 points or more

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 :)




This Discussion