vlans in different routers

Unanswered Question
Dec 1st, 2011
User Badges:

Hello, i have a big doubt


i have this scenary


site 1     ....................................................................Site2


pcvlan10---------switch-----router---------  ( WAN/CLOUD )------------------router----------swich------------pcvlan10

pcvlan11                                                                                                                            pcvlan11

172.20.30.1                                                                                                                    172.20.30.1

172.20.40.1                                                                                                                    172.20.40.1  


could be posssible  conect Vlans in this way????

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Marwan ALshawi Thu, 12/01/2011 - 12:04
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Best Publication, December 2015

If the switch is L3 switch then you can enable ip routing and add static route or a routing protocol to advertise the different Vlans


Sent from Cisco Technical Support iPhone App

Joseph W. Doherty Thu, 12/01/2011 - 12:35
User Badges:
  • Super Bronze, 10000 points or more

Disclaimer


The   Author of this posting offers the information contained within this   posting without consideration and with the reader's understanding that   there's no implied or expressed suitability or fitness for any purpose.   Information provided is for informational purposes only and should not   be construed as rendering professional advice of any kind. Usage of    this  posting's information is solely at reader's own risk.


Liability Disclaimer


In   no event shall Author be liable for any damages whatsoever (including,   without limitation, damages for loss of use, data or profit) arising    out of the use or inability to use the posting's information even if    Author has been advised of the possibility of such damage.


Posting


Normally no unless you set up some kind of L2 pseudowire.

Ven Taylor Thu, 12/01/2011 - 13:28
User Badges:
  • Bronze, 100 points or more

If your routers support the "connect" command, you can (like Joseph said) "bridge" those interfaces together and have an L2 vlan go across a wan connection.  We do it, but we have ASR's running over an RPR to bridge two Internet connections with HSRP.


Ven

sbempong Wed, 06/06/2012 - 06:48
User Badges:

Hi Ven Taylor, I am trying to configure two ASR1002 for bridging. We have point-to-point network between two sites. Can you please, send me your config. I have been searching Cisco Site but no luck.

Thank. Stephen

Ven Taylor Fri, 06/08/2012 - 06:13
User Badges:
  • Bronze, 100 points or more

Stephen:

Sure!  Here's an example of the interface configuration that allows three tagged vlans across a single physical link.


LAN <----> L3 switch <---->  ASR  <----> {WAN / RPR / WHATEVER} <----> ASR <----> L3 switch <----> LAN


interface GigabitEthernet0/1/0      <-- This is the trunk that connects to your local L3 switch.
no ip address
negotiation auto
cdp enable                                      <-- not necessary, but useful.
service instance 200 ethernet            <-- Ties it to the other side
  encapsulation dot1q 200                  <-- Tags the traffic
  bridge-domain 200                           <-- Bridges the whole thing together.
!
service instance 201 ethernet   <-- First "sub-vlan" for lack of a better term.
  encapsulation dot1q 201
  bridge-domain 201
!
service instance 210 ethernet  <-- Second "sub-interface".
  encapsulation dot1q 210
  bridge-domain 210
!

interface GigabitEthernet0/0/3  <-- This is your "WAN" interface - goes to the other ASR.
no ip address
negotiation auto
cdp enable
service instance 200 ethernet
  encapsulation dot1q 200
  bridge-domain 200
!
service instance 201 ethernet
  encapsulation dot1q 201
  bridge-domain 201
!
service instance 210 ethernet
  encapsulation dot1q 210
  bridge-domain 210
!
end



The other router will have the exact same configuration.  Once this is done, you'll have vlans 200, 201, and 210 trunking across a wan link.

Obviously, you can use any vlan schema, but remember, no IP addresses on these interfaces.  Just on the L3 switches at the distant ends of this connection.


hope this helps!


Ven

Amit Singh Thu, 12/01/2011 - 14:02
User Badges:
  • Cisco Employee,

Adding to Ven's post, you can either enable the IRB to achieve this or If you have an ASR1K router, you can use OTV with the latest realese due to be out soon.


Cheers,

-amit singh

sp2720401 Mon, 04/23/2012 - 18:32
User Badges:

One drawback that I found with OTV is that all of you clients must now run IGMPv3 for SSM. This is great unless you have dozens of senders/receivers for the same group.

Aries Fernandes Fri, 08/02/2013 - 01:41
User Badges:
  • Cisco Employee,

Inter VLAN communication is possible provided we have an L3 switch before the OTV ED device, or we can make the OTV ED device itself act as both the L3 device for the different vlans and for OTV router as well.


If this post is still un-answered  let me know, we can provide the solution for the concern posted above.

Actions

This Discussion