08-02-2010 07:44 AM - edited 03-06-2019 12:16 PM
Hi all,
I'm in the process of creating a new VLAN and would like to know how I could get this added to the Routing table?
Basically I have a Nework Range that is variably subnetted into 6 Subnets. The Network that is variably subnetted is 172.30.0.0/16.
Looking at the Routing table, it advises below:
C 172.30.x.x/24 is directly connected, VLANxx
Now my question is when I create my new VLAN, which will be in the same Network, how do I get it added to the Routing table? Also how would I be able to see that the 172.30.x.x/16 Network is variably subnetted into 7 Subnets after creating my new VLAN?
Any assistance will be much appreciated.
Many thanks
08-02-2010 07:56 AM
Darren
If you are using a L3 switch then you would -
switch(config)# int vlan 10
switch(config-if)# ip address 172.30.x.x 255.255.255.0
switch(config-if)# no shut
where 172.30.x.x is not the same as the vlan already showing in your routing table.
You should then see the new entry in the routing table.
No idea what you mean about the 7 subnets ? it is up to you to subnet them down so unless you do and add them to the device it won't magically happen for you.
Jon
08-02-2010 08:12 AM
Hello,
Adding the new subnet to the routing process depends upon the routing
protocol you are using. If you are using RIP/IGRP, then it will be
automatically included. If you are using OSPF/EIGRP, then you might have to
add a specific statement. On the switch where you are adding these, you will
see all seven subnets.
Hope this helps.
Regards,
NT
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: