cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
594
Views
10
Helpful
4
Replies

Split subinterfaces on Vlan

Ciscosianer
Level 1
Level 1
Hello fellow colleagues,

following senario, I have two core MACHINES where the internal routing is set L3.

my problem is that I have two subinterface on a Vlan 404th

Here is my example.

interface Vlan 404
ip address 10.20.10.3 255.255.255.0 secondary
ip address 115.10.200.52 255.255.252.0
standby 1 ip 115.10.200.51
standby 2 ip 10.20.10.1

I would like to separate the subnet 10.20.16.X and for assigning a new Vlan.
The network 10.20.10.X will no longer work in vlan 404th

I mean
Vlan 1404
ip address 10.20.10.3 255.255.255.0
standby 2 ip 10.20.10.1

At the moment I have many clients who use the Vlan 404th

what steps should I take so I can get the problem out clean.
I have not found any real useful instructions.
Thank you in advance.
4 Replies 4

Philip D'Ath
VIP Alumni
VIP Alumni

If you want to do it cleanly, then renumber any device in the 10.20.10.0/24 network into the 115.10.200.0/24 network.

Otherwise make a whole new vlan, like 405, and move 10.20.10.3 to that VLAN.  You will also need to move any device using a 10.20.10.0/24 IP address into that same VLAN.

Hi, Philip D'Ath

I also thank you for your help, Giuseppe has described it well, thank you.

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Ciscosianer,

the change that you want to perform cannot be made without impact, you need a maintanance window to do the job.

First of all, you need to locate in your campus all the end users that have IP addresses in the IP subnet 10.20.10.x.

To get this information you need to use:

show arp | inc 10.20.10

take the output and put it in a text editor, that is the list of current alive hosts in 10.20.10.0/24 in your network with their corresponding MAC address.

For each MAC address that appears in the previuos list make a search in your campus using:

show mac address-table address <address>

where <address> is an item of the previous list.

You perform the command on the core switch and you check the port that is provided in the output.

The port can be the port to which the end user is connected or more probably a trunk port to an access switch.

You can use show cdp nei detail to find out the management IP address of that access switch

You connect to the access switch and you repeat the command

show mac address-table address <address>

again depending on the structure of your campus you end up finding the end user port or a port leading to another switch. Let's suppose you find an access port currently in vlan 404, it will need to be moved to new vlan 1404 so you take a note of this switch and port for the future.

Repeat all the previous steps for all the MAC addresses listed in the original show arp | inc 10.20.10.

You now have the list of the access ports that need to be moved from vlan 404 to vlan 1404.

You can also build a list of inter-switch trunk links that will need to carry the new vlan 1404.

At this point in a maintenance window you can:

a) create L2 vlan 1404 in a vtp server (if you are using VTP otherwise you need to create manually vlan 1404 on all switches if they are in VTP transparent mode)

b) make vlan 1404 allowed in inter switch links that lead from core to access switches with interested access ports (ports that have to be moved from vlan404 to vlan1404) Use 

switchport trunk allowed vlan add 1404

on both ends of the trunk link (both core side and access layer side)

c) you delete the lines about IP secondary from SVI vlan404 and create interface vlan1404 with appropriate IP address and HSRP configuration

d) You move all the access ports that you have found previuosly with users in subnet 10.20.10/24 from vlan 404 to vlan 1404

e) You verify correct connectivity between hosts and SVI with ping tests, you ping also the HSRP VIP from the hosts

f) You may need to add the new L3 interface SVI 1404 to your routing protocol configuration to make the associated subnet advertised (if you are using a routing protocol)

check connectivity to/from other IP subnets in the campus to the 10.20.10/24

I'm sorry for the long post, but I hope I have given an idea of the work you need to perform

Hope to help

Giuseppe

Hi Giuseppe Larosa,

I thank you for your help, no, it's all in order in your explanation.
I understood it well. I'll reconfigure meet it in the next and if all did good work I give a info.

Review Cisco Networking for a $25 gift card