Possible to have Gateway and IP address in different network?

Unanswered Question
Nov 19th, 2008


dhcp is giving the host the follwing

Gateway is

However the IP configuration for

the switch that this is connected to is

gateway is

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ropethic Thu, 11/20/2008 - 04:51

You will need a VLAN for the 10.11.12 network and trunk across the uplink to support the 2 subnets.

When a client wants to exchange data it looks at the source / destination IP and mask. If outside the mask it will forward to the default gateway no matter what it is. As long as the DG can be accessed

Giuseppe Larosa Thu, 11/20/2008 - 05:16

Hello Richard,

what you see can be normal:

it is different the second byte:




sh run int fx/y of the port to which the PC is connected with

sh vlan

sh ip interface br | inc Vlan

the user port should be in a different Vlan of SVI interface Vlan


they are in a different ip subnet but you can have multiple routers on a single ip subnet, one can be an HSRP VIP and one a physical IP address

Hope to help



This Discussion