cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
307
Views
0
Helpful
3
Replies

vlans, moving users

admin_2
Level 3
Level 3

Hardware: 2900XL switches, 2611 routers

Say I have a person named Mike who belongs to vlan 2 on switch A with ip 192.168.1.5. Mike moves to another department but needs to stay in vlan 2. Mike is given an IP address of 10.0.10.5. How does Mike stay in vlan 2 when he is now in a different subnet? I thought that vlans where supposed to be designed so that a single vlan usually shares a single subnet.

Can vlans span multiple subnets? Should you do it that way?

Totally confused I am.

Thanks

3 Replies 3

mkosullivan
Level 1
Level 1

If the new location is within the same VTP domain, and is not segmented by a router interface it should be possible for "Mike" to stay in the same VLAN. The switch in the new department should see VLAN 2. Use the show vtp status & show vlan commands to verify that the vlan is visible within the vtp domain. If it is visible set mike's switch port to be a member of vlan 2.

Regards,

Mike O'Sullivan

Thank you for replying first off.

Mike will have no choice but to traverse a router because he moved into a different subnet than he was originally on.

If he wishes to remain on vlan 2 after being moved to a new subnet, he will have a router between himself and the original subnet. Can he then remain on vlan 2?

Thanks

Hi, I was just thinking what would be the reason

why Mike needs to stay in VLAN 2?

You are right that VLANs usually share a single subnet.

Creating VLANs is like creating different departments.

So I think Mike should be moved to the new depatment's VLAN.

But if he needs to access some servers or hosts on VLAN 2,

the router should do the job.

Thinking of the possible router config,

!

interface Ethernet0/0

no ip add

no shut

!

interface Ethernet0/0.1

encapsulation isl 1

ip add ******

!

interface Ethernet0/0.2

encapsulation isl 2

ip add 192.168.1.254 255.255.255.0

!

interface Ethernet0/0.3

encapsulation isl 3

ip add 10.0.10.254 255.255.255.0

!

If Mike will be moving to another VLAN, he will have a new

default gateway address, different from VLAN 2's gateway.

So I believe he can't stay in VLAN 2, even if VLAN was spread

across the network.

Review Cisco Networking for a $25 gift card