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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Multiple ip interface for vlan

Hi

I have some confuse about vlan

Can one vlan have more subnet or more ip address ?

thanks

5 REPLIES

Re: Multiple ip interface for vlan

Hi,

The best practice is that VLAN = IP subnet, although there can be work arounds to have multiple IP subnets with a single VLAN (a simple example is to use secondary IPs).

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

New Member

Re: Multiple ip interface for vlan

Hi

i don't understand how benefit to do this

ex. vlan 2 have three ip interface 192.168.1.254, 192.168.2.254, 192.168.3.254

i think one vlan should have only one ip interface

please explain me

Thanks

New Member

Re: Multiple ip interface for vlan

When you want redundancy for the network.

example:

L3 has three alternate way for the destination ,that scenario on the SVI interface

can configure three Ip ,if the link fails which has 1st ip traffic will automatically fallback to 2nd link which has secondary ip

------------------------------------

interface Vlan1

ip address 192.168.1.254 255.255.255.0 secondary

ip address 192.168.2.254 255.255.255.0

Bronze

Re: Multiple ip interface for vlan

Usually the reason I've seen multiple IPs on a VLAN is IP migration or address exhaustion- if you're moving from one scheme to another, and can't touch every device at once. Let's say you're migrating from 1.1.1.0 / 27 to 2.2.2.0/24.

The old config was:

int vl 1

ip address 1.1.1.1 255.255.255.224

You would drop on this config:

int vlan 1

ip address 2.2.2.1 255.255.255.0

ip address 1.1.1.1 255.255.255.224

And now users on the old address scheme can still get to the rest of the network, until you have time to go touch their PCs and reconfigure.

You might do this when you need more IP address range within a physical cable plant, and can't accomplish this easily with downstream switches that don't support multiple VLANs or trunks, etc.

New Member

Re: Multiple ip interface for vlan

thanks for all comment :)

3873
Views
0
Helpful
5
Replies