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

VLAN and Subnet

I have a quesiton about the relationship between and Subnet. Assuming there are two VLANs 20 and 30 have been configured on a L3 switch, vlan 20 is and vlan 20 is If I move a server( from vlan 20 to 30 without changing IP address, is there any way to keep the communication between the clints in vlan 20 and this server? How does routing work?

Community Member

Re: VLAN and Subnet

If you move a machine into vlan 20 without changing the IP address, no host in either VLAN will be able to communicate with it. Every host in a vlan must have the same subnetid for communication to occur, and each vlan must have a unique Subnet Id or for routing to work properly.

Routing between VLAN's is a big subject. Search for "Router-on-a-stick" or "Inter-VLAN routing" on the Cisco Web site.

Community Member

Re: VLAN and Subnet

If a host of vlan 20 try to comunicate with your server the request will go to the rsm of your switch (since is in different subnet) the rsm then will send the request to vlan 30 and nobody will answer because your server is no longer in vlan 30. The only thing i can think of is creating a subnet for your server in the range, assign and ip in the vlan 30 interface and change the default gateway of your server to that ip. But the easier and cleaner way is to just change IP :)


CreatePlease to create content