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

Assistance Required - Creating VLANS and adding to Routing Table

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

2 REPLIES
Hall of Fame Super Blue

Re: Assistance Required - Creating VLANS and adding to Routing T

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

Cisco Employee

Re: Assistance Required - Creating VLANS and adding to Routing T

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

346
Views
0
Helpful
2
Replies
CreatePlease login to create content