cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1845
Views
5
Helpful
4
Replies

Vlanning

qwertys21
Level 1
Level 1

Hi Guys

Need some clarification on this. We have 2 subnets in a VLAN 10 e.g. 1.1.1.0/24 and 2.2.2.0/25.

Now we want to sepaarate out these vlans like

1.1.1.0/24 in Vlan 10 and

2.2.2.0/25 in Vlan 20.

But my thoughts is that for us to be able to physically configure this as

interface vlan 20

ip address 2.2.2.1/25

we will not be able to do this as this ip address range already exist in vlan 10. An error message will come up saying "network range already exist"

Am I correct in this? How best can we do this?

4 Replies 4

lancehino
Level 4
Level 4

You must first remove the address from vlan 10, then add the address to vlan 20

Does this mean, I will have to give the devices that have 2.2.2.x addresses in vlan 10 other ip addreeses so that i can pull out the 2.2.2.x addresses and put it in vlan 20?

Hi

That would be a rather long winded way to do it to be honest.

You will need some downtime but not that much. You don't say which type of switches you are using but the "interface range.." command is useful for this. Using this command will allow you to allocate all the ports on switch to the new vlan. So depending on how many switches you have this could be done quite quickly ie.

1) Create vlan 20 at layer 2 and then create vlan 2 L3 interface.

2) remove address from vlan 10 interface and reassign to vlan 20

3) Use the "interface range... " command to allocate all the relevant ports per switch to the new vlan.

If you prepare the commands in a text file you can cut and paste with minimum downtime.

HTH

Jon

Thanks Jon

This is on a Cat 3750

What I really wanted to be clear about as I don't want any surprises is

If I have to do

L2

Vlan 20 name ???

L3

Switch A>

Int vlan 20

ip address 2.2.2.10 255.x.x.x

stand ip 2.2.2.100 255.x.x.x

Switch B

Int vlan 20

ip address 2.2.2.11 255.x.x.x

stand ip 2.2.2.100 255.x.x.x

and then do an

interface range fasteth 0/1-10

switch acc vlan 20

which is fine.

At the same time, 2.2.2.10, 2.2.2.11 and 2.2.2.200 are part of the 2.2.2.x/25 subnet which is still in Vlan 10 even though those 3 addresses are available and are not physically in use.

Will this cause a problem? As all I am doing in taking out 3 addresses from a 2.2.2.0/25 although the subnet is currently in vlan 10.

Will this work?

Thanks