Cisco 1811 VLANs

I have a Cisco 1811 and several Cisco 1960Gs within the same VTP Domain.  The Router has an integrated switch which the "core" switch is connected to.  This interface does not support sub-interfaces (I'm assuming because it is a switchport not a router interface).  These switchports do support trunk/native modes.  The router has two interfaces, one is used as the uplink/outside int for our ISPs modem.  These interfaces do support sub-interfaces.

I have the router inside switchport set to trunk, and vlans defined on the master switch with VTP in Server mode.  How should/can I go about added vlans to the router, and this have it be an IVR?

Any suggestions or links would be greatly appreciated.

Thanks,
Robert
LVL 1
Robert DavisAsked:
Who is Participating?
 
rbaduaConnect With a Mentor Commented:
Yep.....dont need to sub interface the 2960.  Just configure a single port as a trunk.  then assign individual ports to the vlan that you want it to be in.
0
 
unfragmentedCommented:
If I've understood you correctly, you have an 1811 connected to a 2960G switch.

If you have VTP configured correctly, it means your vlan databases on the 1811 and 2960 should be synchronized.  Prove this by running 'show vlan' on both devices.

You have a vlan trunk configured between both devices.  That means that each vlan should extend across both devices.

To make the router 'route' between these vlans you need to create 'switch virtual interfaces' (SVI's).  Do this with the following commands for each vlan:-
int vlan 1
 ip address a.a.a.a b.b.b.b
int vlan 2
 ip address c.c.c.c d.d.d.d
int vlan 3
....etc

After that, the router should route between these vlans correctly.

Hopefully that makes sense!
0
 
hoanhanhCommented:
Hi,

On Router 1811

ex:

conf t
int f0/0
no shu

//create sub interface

int f0/0.10
ip add 10.1.0.1 255.255.255.0
encapsulation dot1q 10


and

int f0/0.20
ip add 20.1.0.1 255.255.255.0
encapsulation dot1q 20


I hope it is useful for you !
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Robert DavisAuthor Commented:
So F0/0 is currently out int tied to the out-side firewall zone and our ISP.  Should I be making sub ints on this int, or should I bring up and sub int the unused F0/1?

Thanks,
Robert
0
 
rbaduaConnect With a Mentor Commented:
int f0/0
description ISP"
ip add x.x.x.x x.x.x.x
no shut

int f0/1
description Internal Network
encapsulation dot1q
no shut

int f0/1.10
encapsulation dot1q 10
ip add x.x.x.x x.x.x.x
no shut

int f0/1.20
encapsulation dot1q 20
ip add x.x.x.x x.x.x.x

vlan 10
 name vlan10
vlan 20
 name vlan 20

ip route 0.0.0.0 0.0.0.0 fa0/0

At this point the a port on the 2960 should be configured as a dot1q trunk port.  At the same time the 2960 should be in the same vtp domain/password and set as client.  The vlan command above creates the vlans to propogated to the 2960 (assuming the router is configured as VTP server).  

As for the switchports on the router, you can use them as addition ports by placing them as "switchport access vlan xx"

Hope this helps.
0
 
Robert DavisAuthor Commented:
rbadua, that helps a lot!  Just to confirm: So you're saying connect the uplink of the 2960 to F0/1, instead of the integrated switchport F0/2?  And then subint that?
0
 
Robert DavisConnect With a Mentor Author Commented:
rbadua I think you misunderstood my last question so I wish to clarrify for others:

What I meant was I should not be using the 1811 Integrated switchport Fa2-8 for my inside link because I cannot subint them, instead I should move from the 1811 integrated switch port Fa2 (the 2960 is unrelated and external to this) to Fa1.

I did this, and it worked! Thank you!!

Regards,
Robert
0
 
Robert DavisAuthor Commented:
Solution was in the config, I needed to be using the router port, not the integrated switch port.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.