cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
613
Views
0
Helpful
8
Replies

VLAN and IP address

nitass
Level 1
Level 1

Hello All,

My network comprises with layer 3 switch and managed and un-managed layer 2 switch. I want to separate LAN segment to each VLAN and do not want to change client IP address when client machine move across VLAN. Is it possible? How can I configure?

Please advice too.

Thanks a lot,

Nitass

1 Accepted Solution

Accepted Solutions

Hello Nitass,

what you are seeking a form of 'dynamic vlan' assignment. Cisco has the older 'VMPS' protocol that basically maps the mac-address to a vlan so no matter where you plug in that machine, it would get the same vlan dynamically. There is also Cisco network registrar software that basically would do assign the vlan dynamically based on a username/password information. Both these methods are pretty old and more importantly, they are Cisco proprietary! so you cannot use any 3rd party switches in your network.

Thesedays, customers use dot1x with dynamic vlan assignment. But that would also involve your host to support dot1x, your switches to support dot1x and you would need a radius server to assign those dynamic vlans.

So as you can see, there ARE options to do what you seek but they are not very simple or straightforward and would require good sound implementation strategy in your network.

View solution in original post

8 Replies 8

ybajpai
Level 1
Level 1

Hello Nitass,

One VLAN should have one IP subnet. So you should choose which clients should belong to what VLANS and configure their IP Address accordingly.

Evewn though theorotically concepts like mobile IP can be used in your case, that is not a genrally deployed solution in enterprise like yours with umanaged L2 switches.

So basically, we are stuck with unique ip subnet for each vlans.

Hello ybajpai,

Thanks for reply.

I have read about ip subnet-based VLAN or layer 3 VLAN feature on some switch vender. How about that feature on Cisco?

Could you please advice me?

Thanks a lot,

Nitass

Hello Nitass,

Can you clarify what feature you are referring to? All Cisco L3 switches support "subnet-based" vlan and layer3 routing for them.

Regards,

Yash

Hello ybajpai,

Thanks for reply.

Sorry for my ambiguous question. Could you please read the topic "4) Layer 3 VLAN: Membership by IP Subnet Address" in the following URL?

Virtual Local Area Networks

By Suba Varadarajan

http://www.cse.wustl.edu/~jain/cis788-97/ftp/virtual_lans/

I would like to use this feature with Catalyst switch. Please advice too.

Thanks a lot,

Nitass

Hello Nitass,

what you are seeking a form of 'dynamic vlan' assignment. Cisco has the older 'VMPS' protocol that basically maps the mac-address to a vlan so no matter where you plug in that machine, it would get the same vlan dynamically. There is also Cisco network registrar software that basically would do assign the vlan dynamically based on a username/password information. Both these methods are pretty old and more importantly, they are Cisco proprietary! so you cannot use any 3rd party switches in your network.

Thesedays, customers use dot1x with dynamic vlan assignment. But that would also involve your host to support dot1x, your switches to support dot1x and you would need a radius server to assign those dynamic vlans.

So as you can see, there ARE options to do what you seek but they are not very simple or straightforward and would require good sound implementation strategy in your network.

Hi ybajpai,

Thank you very much.

Nice to meet you,

Nitass

nayyarhak
Level 1
Level 1

Hi Nitass

you could subnet further, while retaining IP addressing; i.e creating seperate vlans for each newly created subnet. but you need to be carefull with IP conflicts (L3 interface address and Client)

Hope this helps.

nyr

m.matteson
Level 2
Level 2

if the clients are winxp multiple ips per int. are supported. you could assign an ip per-vlan to that one int.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: