Question on XCONNECT

Hello Guys.

 

I have a very basic question. Can we have a L2 VPN using the xconnect feature using two different encapsulations at each end? That is, can I use HDLC (over a Serail interface) at one end and Dot1Q at the other?

I have used the following setup: Router0 -> Router1 -> Router2

Router 0 loopback is 192.168.0.1/32

Router 1 loopback is 192.168.1.1/32

Router 2 loopback is 192.168.2.1/32

I have used a serial interface on Router 0 and a fastethernet interface on Router 2 for this.

Router 0 Serial interface config -

Router0#sh run int se2/0
Building configuration...

Current configuration : 121 bytes
!
interface Serial2/0
 no ip address
 serial restart-delay 0
 xconnect 192.168.2.1 400 encapsulation mpls
end

Router0#sh mpls l2transport vc 400

Local intf     Local circuit              Dest address    VC ID      Status
-------------  -------------------------- --------------- ---------- ----------
Se2/0          HDLC                       192.168.2.1     400        DOWN
Router0#

 

Router 2 Fast Ethernet config -

Router2#sh run int fa3/0.400
Building configuration...

Current configuration : 107 bytes
!
interface FastEthernet3/0.400
 encapsulation dot1Q 400
 xconnect 192.168.0.1 400 encapsulation mpls
end

Router2#sh mpls l2transport vc 400

Local intf     Local circuit              Dest address    VC ID      Status
-------------  -------------------------- --------------- ---------- ----------
Fa3/0.400      Eth VLAN 400               192.168.0.1     400        DOWN
Router2#

 

Ping response -

Router2#ping mpls pseudowire 192.168.0.1 400
Sending 5, 100-byte MPLS Echos to 192.168.0.1,
     timeout is 2 seconds, send interval is 0 msec:

Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
  'L' - labeled output interface, 'B' - unlabeled output interface,
  'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
  'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
  'P' - no rx intf label prot, 'p' - premature termination of LSP,
  'R' - transit router, 'I' - unknown upstream index,
  'X' - unknown return code, 'x' - return code 0

Type escape sequence to abort.
QQQQQ
Success rate is 0 percent (0/5)
Router2#

 

Can you tell me if I can make this work at all? If yes, how?

 

 

 

 

Comments



  • Re: [CCIE SP] Question on XCONNECT


    Where is the mpls core config?





    On 10/10/2008 22:08, "oceansandearth" <[email protected]> wrote:



    Hello Guys.



     



    I have a very basic question. Can we have a L2 VPN using the xconnect feature using two different encapsulations at each end? That is, can I use HDLC (over a Serail interface) at one end and Dot1Q at the other?



    I have used the following setup: Router0 -> Router1 -> Router2



    Router 0 loopback is 192.168.0.1/32



    Router 1 loopback is 192.168.1.1/32



    Router 2 loopback is 192.168.2.1/32



    I have used a serial interface on Router 0 and a fastethernet interface on Router 2 for this.



    Router 0 Serial interface config -



    Router0#sh run int se2/0

    Building configuration...



    Current configuration : 121 bytes

    !

    interface Serial2/0

     no ip address

     serial restart-delay 0

     xconnect 192.168.2.1 400 encapsulation mpls

    end



    Router0#sh mpls l2transport vc 400



    Local intf     Local circuit              Dest address    VC ID      Status

    -------------  -------------------------- --------------- ---------- ----------

    Se2/0          HDLC                       192.168.2.1     400        DOWN

    Router0#



     



    Router 2 Fast Ethernet config -



    Router2#sh run int fa3/0.400

    Building configuration...



    Current configuration : 107 bytes

    !

    interface FastEthernet3/0.400

     encapsulation dot1Q 400

     xconnect 192.168.0.1 400 encapsulation mpls

    end



    Router2#sh mpls l2transport vc 400



    Local intf     Local circuit              Dest address    VC ID      Status

    -------------  -------------------------- --------------- ---------- ----------

    Fa3/0.400      Eth VLAN 400               192.168.0.1     400        DOWN

    Router2#



     



    Ping response -



    Router2#ping mpls pseudowire 192.168.0.1 400

    Sending 5, 100-byte MPLS Echos to 192.168.0.1,

         timeout is 2 seconds, send interval is 0 msec:



    Codes: '!' - success, 'Q' - request not sent, '.' - timeout,

      'L' - labeled output interface, 'B' - unlabeled output interface,

      'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,

      'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,

      'P' - no rx intf label prot, 'p' - premature termination of LSP,

      'R' - transit router, 'I' - unknown upstream index,

      'X' - unknown return code, 'x' - return code 0



    Type escape sequence to abort.

    QQQQQ

    Success rate is 0 percent (0/5)

    Router2#



     



    Can you tell me if I can make this work at all? If yes, how?



     



     



     



     









    Internetwork Expert - The Industry Leader in CCIE Preparation

    http://www.internetworkexpert.com



    Subscription information may be found at:

    http://www.ieoc.com/forums/ForumSubscriptions.aspx



  • You need an MPLS core in-between.

    192.168.1.1/24 -CE---PPP/HDLC-----PE-----LDP/TDP------PE------VLAN/ETHERNET-----CE-192.168.1.2/24

    So I do believe u need a couple more routers

    Thanks

    James
    ________________________________________
    From: [email protected] [[email protected]] On Behalf Of oceansandearth [[email protected]]
    Sent: Friday, October 10, 2008 10:08 PM
    To: James Yeo
    Subject: [CCIE SP] Question on XCONNECT

    Hello Guys.



    I have a very basic question. Can we have a L2 VPN using the xconnect feature using two different encapsulations at each end? That is, can I use HDLC (over a Serail interface) at one end and Dot1Q at the other?

    I have used the following setup: Router0 -> Router1 -> Router2

    Router 0 loopback is 192.168.0.1/32

    Router 1 loopback is 192.168.1.1/32

    Router 2 loopback is 192.168.2.1/32

    I have used a serial interface on Router 0 and a fastethernet interface on Router 2 for this.

    Router 0 Serial interface config -

    Router0#sh run int se2/0
    Building configuration...

    Current configuration : 121 bytes
    !
    interface Serial2/0
    no ip address
    serial restart-delay 0
    xconnect 192.168.2.1 400 encapsulation mpls
    end

    Router0#sh mpls l2transport vc 400

    Local intf Local circuit Dest address VC ID Status
    ------------- -------------------------- --------------- ---------- ----------
    Se2/0 HDLC 192.168.2.1 400 DOWN
    Router0#



    Router 2 Fast Ethernet config -

    Router2#sh run int fa3/0.400
    Building configuration...

    Current configuration : 107 bytes
    !
    interface FastEthernet3/0.400
    encapsulation dot1Q 400
    xconnect 192.168.0.1 400 encapsulation mpls
    end

    Router2#sh mpls l2transport vc 400

    Local intf Local circuit Dest address VC ID Status
    ------------- -------------------------- --------------- ---------- ----------
    Fa3/0.400 Eth VLAN 400 192.168.0.1 400 DOWN
    Router2#



    Ping response -

    Router2#ping mpls pseudowire 192.168.0.1 400
    Sending 5, 100-byte MPLS Echos to 192.168.0.1,
    timeout is 2 seconds, send interval is 0 msec:

    Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
    'L' - labeled output interface, 'B' - unlabeled output interface,
    'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
    'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
    'P' - no rx intf label prot, 'p' - premature termination of LSP,
    'R' - transit router, 'I' - unknown upstream index,
    'X' - unknown return code, 'x' - return code 0

    Type escape sequence to abort.
    QQQQQ
    Success rate is 0 percent (0/5)
    Router2#



    Can you tell me if I can make this work at all? If yes, how?











    Internetwork Expert - The Industry Leader in CCIE Preparation
    http://www.internetworkexpert.com

    Subscription information may be found at:
    http://www.ieoc.com/forums/ForumSubscriptions.aspx

    DISCLAIMER:
    Everything in this email and its attachments relating to the official business of arivia.kom is proprietary to arivia.kom. It is confidential, legally privileged and protected by law. The person addressed in the email is the sole authorised recipient. Any unauthorized dissemination or copying of this e-mail (or any attachment to this e-mail) or the wrongful disclosure of the information herein contained is prohibited.
  • Hello James, thanks for the reply.

     

    Here is my setup -

     

    Router0 (PE) - Router1 (P) - Router2 (PE)

    These routers are running MPLS.

    Now I used xconnect from R0 to R2. If I use xconnect for HDLC on R0 and xconnect for Dot1Q on R2, my VC shows as DOWN.

    However, if I change my interface on R0 to an Ethernet interface and use the xconnect command for Dot1Q encapsulation, it works.

    My configs are already available in my opening post.

    My basic idea was to see if xconnect across different encapsulation protocols such as HDLC on one side and Dot1Q on the other. If both sides are using Dot1Q, it works as I said. However, I need to know if if it work with HDLC on one side and Dot1Q on the other?

    If yes, how?

    Thank you.

  • It does work. You may just have to see which IOS version you are using. Your configs look correct from your post. Is the vlan up and running and you are not blocking vlans on the trunk to the router?
    ________________________________________
    From: [email protected] [[email protected]] On Behalf Of oceansandearth [[email protected]]
    Sent: Saturday, October 11, 2008 9:00 AM
    To: James Yeo
    Subject: Re: [CCIE SP] RE: Question on XCONNECT

    Hello James, thanks for the reply.



    Here is my setup -



    Router0 (PE) - Router1 (P) - Router2 (PE)

    These routers are running MPLS.

    Now I used xconnect from R0 to R2. If I use xconnect for HDLC on R0 and xconnect for Dot1Q on R2, my VC shows as DOWN.

    However, if I change my interface on R0 to an Ethernet interface and use the xconnect command for Dot1Q encapsulation, it works.

    My configs are already available in my opening post.

    My basic idea was to see if xconnect across different encapsulation protocols such as HDLC on one side and Dot1Q on the other. If both sides are using Dot1Q, it works as I said. However, I need to know if if it work with HDLC on one side and Dot1Q on the other?

    If yes, how?

    Thank you.



    Internetwork Expert - The Industry Leader in CCIE Preparation
    http://www.internetworkexpert.com

    Subscription information may be found at:
    http://www.ieoc.com/forums/ForumSubscriptions.aspx

    DISCLAIMER:
    Everything in this email and its attachments relating to the official business of arivia.kom is proprietary to arivia.kom. It is confidential, legally privileged and protected by law. The person addressed in the email is the sole authorised recipient. Any unauthorized dissemination or copying of this e-mail (or any attachment to this e-mail) or the wrongful disclosure of the information herein contained is prohibited.
  • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">








    This feature is called L2VPN Interworking. Not all media
    combinations are supported:

     


     
    <!>

    Regards,

    Antonio
    Soares, CCIE #18473 (R&S)
    [email protected]
     

    Antonio Soares, CCIE #18473 (RS/SP/DC)
    [email protected]
    http://www.ccie18473.net

  • Thanks James and Antonio.

     

    It seems that interwork ip pseudowire class is not supported by the interfaces available on 7206 VXR in my the emulation program (GNS3).

    Thank you for your help anyway :)



  • Re: [CCIE SP] RE: RE: Question on XCONNECT


    I have had interworking IP working well with c7200-k91p-mz.122-25.S13.bin. So if you can get hold of it I believe you will be sorted.

    I did PPP-PPP  & Frame-relay to Vlan & FE earlier today on this IOS version.



    Just remember on GNS3 to map your DLCI before you start :-) That was my problem with getting the UP/UP



    Thanks



    James





    On 12/10/2008 15:18, "oceansandearth" <[email protected]> wrote:



    Thanks James and Antonio.



     



    It seems that interwork ip pseudowire class is not supported by the interfaces available on 7206 VXR in my the emulation program (GNS3).



    Thank you for your help anyway :)







    --

    View this message online at: http://ieoc.com/forums/p/3555/11389.aspx#11389



    Internetwork Expert - The Industry Leader in CCIE Preparation

    http://www.internetworkexpert.com



    Subscription information may be found at:

    http://www.ieoc.com/forums/ForumSubscriptions.aspx



  • you can use but for this you require internetwork support.

    IOS which you can use 12.4(20)T.


    regards
    shivlu
  • This is L2vpn Any to Any model, you can use  interworking ip under Pw-class to reslove!

    If both sides the same type AC is like to like model!

  • thanks for the doc. But I think IOS 12.4(20)T has remove the hardware limitation for ip internetwork.

     

    regards

    shivlu jain

    http://shivlu.blogspot.com

Sign In or Register to comment.