需求:VPN1内的PC_6 ping PC_8,但是不通,在PE上查看路由已经通过MPBGP学习到了,请各位大神帮忙看下配置是否有遗漏,组网以及配置在附件里,多谢
<H3C>ping 8.0.0.2
Ping 8.0.0.2 (8.0.0.2): 56 data bytes, press CTRL_C to break
Request time out
Request time out
[6850_3_PE]display ip routing-table vpn-instance vpn1
1.0.0.0/24 O_ASE2 150 1 3.0.0.1 GE1/0/1
6.0.0.0/24 BGP 255 0 15.15.15.15 GE1/0/3
8.0.0.0/24 BGP 255 2 15.15.15.15 GE1/0/3
PE上关键配置如下:
#
ip vpn-instance vpn1
route-distinguisher 100:1
vpn-target 110:1 import-extcommunity
vpn-target 110:1 export-extcommunity
#
ip vpn-instance vpn2
route-distinguisher 200:1
vpn-target 210:1 import-extcommunity
vpn-target 220:1 export-extcommunity
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
ospf 1 vpn-instance vpn1
import-route direct
import-route bgp 100
domain-id 0.0.0.1
vpn-instance-capability simple
area 0.0.0.0
network 3.0.0.0 0.0.0.255
#
ospf 2 vpn-instance vpn2
area 0.0.0.0
network 2.0.0.0 0.0.0.255
#
rip 1
network 4.0.0.0 0.0.0.255
network 13.13.13.13 0.0.0.0
#
mpls lsr-id 13.13.13.13
#
mpls ldp
#
interface LoopBack0
ip address 13.13.13.13 255.255.255.255
rip 1 enable
#
interface GigabitEthernet1/0/1
port link-mode route
combo enable fiber
ip binding vpn-instance vpn1
ip address 3.0.0.2 255.255.255.0
#
interface GigabitEthernet1/0/2
port link-mode route
combo enable fiber
shutdown
ip binding vpn-instance vpn2
ip address 2.0.0.2 255.255.255.0
#
interface GigabitEthernet1/0/3
port link-mode route
combo enable fiber
ip address 4.0.0.1 255.255.255.0
rip 1 enable
mpls enable
mpls ldp enable
#
bgp 100
peer 15.15.15.15 as-number 100
peer 15.15.15.15 connect-interface LoopBack0
#
address-family ipv4 unicast
import-route rip 1
peer 15.15.15.15 enable
#
address-family vpnv4
peer 15.15.15.15 enable
#
ip vpn-instance vpn1
#
address-family ipv4 unicast
import-route ospf 1
network 3.0.0.0 255.255.255.0
#
(0)
最佳答案
检查下s6850_9有没有PC6的路由,检查下P设备间的ldp邻居起来没用,检查下P设备间环回口的标签学习是否正常
(0)
ce设备确实没有到对端PC的路由,CE设备上就配置了个OSPF,还需要配置啥吗? # ospf 1 import-route direct area 0.0.0.0 network 3.0.0.0 0.0.0.255 # interface GigabitEthernet1/0/2 port link-mode route combo enable fiber ip address 1.0.0.1 255.255.255.0 # interface GigabitEthernet1/0/3 port link-mode route combo enable fiber ip address 3.0.0.1 255.255.255.0 #
bgp发布路由了吗?
配置能导一份出来吗?
加上vpn1 实例去ping
ping -vpn-instance
vpn1 8.0.0.2
(0)
是两个PC之间去ping,所以不需要去带vpn去ping
是两个PC之间去ping,所以不需要去带vpn去ping
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
配置能导一份出来吗?