Default Gateway Not The Same

Unanswered Question
Mar 31st, 2008
User Badges:

I have a router; it is connected to Switch.

My pc is conencted to switch and I have to configured as static IP with defaul gateway;;

Other pc is connected to router FE2; without configured static IP; Default gateway is

These pc(s) can connected to Internet. Why it has diff gateway. Is there way I can setup both are the same?


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
mattcalderon Mon, 03/31/2008 - 18:39
User Badges:
  • Silver, 250 points or more

What type of switch do you have? I would assume that you have a L3 switch doing your routing for you for the pc thats connected to it and your router is doing the default-gateway duty for your second pc. I would think there would be no reason why you could not use the same default gateway for both.

hoadotnguyen Mon, 03/31/2008 - 18:55
User Badges:

I have 2950 for switch and 1811 router. Can I make both have the same gateway?

mattcalderon Tue, 04/01/2008 - 05:16
User Badges:
  • Silver, 250 points or more

can you post the config of both your switch and router?

evsrajatgupta Tue, 04/01/2008 - 06:01
User Badges:

Hi hoadotnguyen,

This may be the result of a mis-configurations.

May be you are using a DHCP server which has default gateway of

When you config Static IP and gateway that is both do work.

This may be because IP address must be config on your network devices.

As per the best practice you should have the IP address on the L3 device as default gatewat, I your case it should be ip router Ethernet interface Ip address.

For futher send your network layout with devices config.

Please rate.


This Discussion