Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

VLAN subnets and routing


A couple of years ago I had a vlan which was something like this  I'm looking to this again but I want to make it

I've forgotten the original setup of this, so.... I'm connecting a router to a swtich.  On the router interface I've assigned the IP address  If I were connecting a device that was on something like, would using be fine as the next hop?



VLAN subnets and routing

It depends on the network mask. If you are using a /16 at both ends then yes they are in the same network. Usually it's not recommended to use such large subnets but it can be done.

Daniel Dib
CCIE #37149

Please rate helpful posts.

Daniel Dib CCIE #37149 Please rate helpful posts.

VLAN subnets and routing as a /16 means 192.168.anything.anything. and would be in the same network if you were using (/16) as a subnet mask.

As mentioned by Daniel though, this is a large subnet mask to use so if this is in a production network, you need to have a reason to use it otherwise you could be asking for trouble later on. Can you imagine the broadcasts on a /16 busy production network??

New Member

VLAN subnets and routing

Well it will only be traffic from desktops of about 80 and 1 file server, so there shouldn't be too many broadcasts going on.

VLAN subnets and routing

If that's the case, my question would be why a /16 mask?

A standard /24 would be ample for that?

New Member

VLAN subnets and routing

It was originally set up to use a couple of different proxies, a couple of ranges with no proxy, and then wireless and server have their own, too.  The /16 would basically allow things to stay consistent, but with a few changes I could reduce it to /22 or so.

It was using a very old router (not cisco) which allowed them to create sub vlans of 10.  For example 10-2 for 192.168.2.X, 10-3, for 192.168.3.X etc, which isn't possible with the router I have.

Hall of Fame Super Silver

VLAN subnets and routing

I am not quite clear on what you are trying to achieve. But I do have this comment. The Cisco router should accept the configuration of But depending on the OS of the connected hosts there may be problems where the OS considers an address in 192.168.x.x to be class C and will not accept a default gateway which it considers to be in a different network. If you were doing this in network it would be safer than doing it in 192.168.



CreatePlease to create content