雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6191|回复: 14

[讨论/求助] MPLS VPN 问题求助

[复制链接]
发表于 2012-4-18 21:41:15 | 显示全部楼层 |阅读模式


拓扑图如下,要求PC1 能ping 通PC2,  两个路由器建立MPLS的 隧道,



我的配置如下, 现在是 死活ping不通 ,但是我感觉配置没有问题,请各位大侠指点!!!

R1
-----
R1#show run
Building configuration...

Current configuration : 1117 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
mpls label protocol ldp
!
!
!
!

!
archive
log config
  hidekeys
!

interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
xconnect 2.2.2.2 1 encapsulation mpls
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 12.1.1.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server

mpls ldp router-id Loopback0 force
!
control-plane

!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
end

-------------------------------
R2

R2#show run
Building configuration...

Current configuration : 1119 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
mpls label protocol ldp
!
!

archive
log config
  hidekeys
!

!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 12.1.1.2 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
xconnect 1.1.1.1 1 encapsulation mpls
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 12.1.1.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!

mpls ldp router-id Loopback0 force
!
control-plane
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
end


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

R3

R3#show run
Building configuration...

Current configuration : 556 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!

!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
no ip http server
no ip http secure-server
!

!
control-plane
!

!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end


---------

R4

R4#show run
Building configuration...

Current configuration : 557 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
interface FastEthernet0/0
ip address 192.168.1.10 255.255.255.0
duplex auto
speed auto
!
no ip http server
no ip http secure-server
!

!
control-plane
!

line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end


------

R1#show mpls l2transport vc

Local intf     Local circuit              Dest address    VC ID      Status   
-------------  -------------------------- --------------- ---------- ----------
Fa0/1          Ethernet                   2.2.2.2         1          UP        

R1#show mpls l2transport vc detail
Local interface: Fa0/1 up, line protocol up, Ethernet up
  Destination address: 2.2.2.2, VC ID: 1, VC status: up
    Output interface: Fa0/0, imposed label stack {17}
    Preferred path: not configured  
    Default path: active
    Next hop: 12.1.1.2
  Create time: 00:15:04, last status change time: 00:15:03
  Signaling protocol: LDP, peer 2.2.2.2:0 up
    MPLS VC labels: local 17, remote 17
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description:
  Sequencing: receive disabled, send disabled
  VC statistics:
    packet totals: receive 0, send 129
    byte totals:   receive 0, send 15091
    packet drops:  receive 0, seq error 0, send 0




===========

参考实验 :  http://wiki.nio.name/doku.php/mplsvpn/eompls_port-mode?do=export_xhtml

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| 发表于 2012-4-18 21:48:14 | 显示全部楼层
不知掉 个人仁兄有什么看法????
 楼主| 发表于 2012-4-19 11:14:53 | 显示全部楼层
还没有仁兄。。。发现问题吗??哎。。。求助ing
发表于 2012-4-19 14:09:04 | 显示全部楼层
MPLS VPN上 R1和R2上没看到BGP的配置哦。局域网的数据要跨越公网,但是公网又不识别这些私有地址,怎么办?MPLS的作用就显示出来了:在IP数据包前加上一个LABEL 。跨越公网是不看IP,看LABEL,实现了路由的传递。重点就是,这个LABEL 就是要依靠BGP的团体属性 通告给邻居的
 楼主| 发表于 2012-4-19 16:33:32 | 显示全部楼层
不是的, MPLS VPN 好多种类的,
你那个是 bgp MPLS VPN , 我这个是 L2的 VPN,
 楼主| 发表于 2012-4-20 09:36:52 | 显示全部楼层
把我的帖子顶起来。。。。
发表于 2012-4-20 09:38:37 | 显示全部楼层
二层的没试过,坐等高手
发表于 2012-4-20 10:26:10 | 显示全部楼层
vrf在哪里?
CE和PE之间用什么路由协议?
 楼主| 发表于 2012-4-20 13:33:49 | 显示全部楼层
    税说用MPLS 就要有VRF啊????
 楼主| 发表于 2012-4-20 13:35:03 | 显示全部楼层
坐等高手!!!!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-21 22:28 , Processed in 0.134256 second(s), 25 queries , Gzip On.

快速回复 返回顶部 返回列表