Router to Router EOMPLS: VLAN based

Source: Internet
Author: User
Tags range

Topology:

Configuration:

---------------PE1------------------------
MPLS Label Range 200 299
MPLS Label Protocol LDP
MPLS LDP Router-id Loopback0
Interface Loopback0
IP address 192.168.1.1 255.255.255.255
No shut
!
Interface FASTETHERNET0/1
IP address 23.1.1.2 255.255.255.0
No shut
MPLS IP
!
!
router OSPF 100
Router-id 2.2.2.2
Log-adjacency-changes
Network 23.1.1.0 0.0.0.255 Area 0
Network 192.168.1.1 0.0.0.0 Area 0
---------------------P----------------------
MPLS Label Range 300 399
MPLS Label Protocol LDP
MPLS LDP Router-id Loopback0
!
Interface Loopback0
IP address 192.168.1.2 255.255.255.255
No shut
Interface fastethernet0/0
IP address 34.1.1.3 255.255.255.0
No shut
MPLS IP
!
Interface FASTETHERNET0/1
IP address 23.1.1.3 255.255.255.0
No shut
MPLS IP
!
!
router OSPF 100
Router-id 3.3.3.3
Log-adjacency-changes
Network 23.1.1.0 0.0.0.255 Area 0
Network 34.1.1.0 0.0.0.255 Area 0
Network 192.168.1.2 0.0.0.0 Area 0
-----------------PE2---------------------
MPLS Label Range 400 499
MPLS Label Protocol LDP
MPLS LDP Router-id Loopback0
!
Interface Loopback0
IP address 192.168.1.3 255.255.255.255
No shut
Interface fastethernet0/0
IP address 34.1.1.4 255.255.255.0
MPLS IP
No shut
router OSPF 100
Router-id 4.4.4.4
Log-adjacency-changes
Network 34.1.1.0 0.0.0.255 Area 0
Network 192.168.1.3 0.0.0.0 Area 0
------------------CE1-----------------------
Interface fastethernet0/0.100
Encapsulation dot1q 100
IP address 192.168.100.100 255.255.255.0
------------------CE2------------------
Interface fastethernet0/1.100
Encapsulation dot1q 100
IP address 192.168.100.105 255.255.255.0

Verify basic connectivity:

Back to the column page: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.