Multiple ip interface for vlan

Unanswered Question
Jun 12th, 2007

Hi

I have some confuse about vlan

Can one vlan have more subnet or more ip address ?

thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
mohammedmahmoud Tue, 06/12/2007 - 01:32

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.

pccthailand Tue, 06/12/2007 - 01:38

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

mtechnology Tue, 06/12/2007 - 02:30

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

nate-miller Tue, 06/12/2007 - 09:41

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.

Actions

This Discussion