cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
589
Views
0
Helpful
1
Replies

VRF doesn't ping a host behind the CE router

Hello everyone !

since 4 days a have a problem with my mpls vrf .

site 2 site everything work properly ,but when i'm trying to ping a host which is directly connected to a ce router i can't.

please need help !

here is my pe and ce configuration

PE

!

upgrade fpd auto

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname PEsite1

!

boot-start-marker

boot-end-marker

!

logging message-counter syslog

!

no aaa new-model

ip source-route

ip cef

!

!

ip vrf eigrp_vrf

rd 12:12

route-target export 12:12

route-target import 13:13

route-target import 14:14

!

ip vrf ospf_vrf

rd 11:11

route-target export 11:11

route-target import 13:13

route-target import 14:14

!

!

!

no ip domain lookup

ip domain name lab.local

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

archive

log config

hidekeys

!

!

!

!

!

!

!

!

!

interface Loopback0

ip address 2.2.2.2 255.255.255.0

ip ospf network point-to-point

!

interface FastEthernet0/0

no ip address

shutdown

duplex half

!

interface FastEthernet1/0

ip vrf forwarding ospf_vrf

ip address 192.168.0.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet1/1

ip vrf forwarding eigrp_vrf

ip address 192.168.1.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet2/0

ip address 10.0.0.1 255.255.255.0

duplex auto

speed auto

mpls ip

!

interface FastEthernet2/1

no ip address

shutdown

duplex auto

speed auto

!

router eigrp 1

auto-summary

!

address-family ipv4 vrf eigrp_vrf

redistribute bgp 1 metric 64 1000 255 1 1500

network 192.168.1.0

no auto-summary

autonomous-system 11

exit-address-family

!

router ospf 11 vrf ospf_vrf

log-adjacency-changes

redistribute bgp 1 metric 20 metric-type 1 subnets

network 192.168.0.0 0.0.0.255 area 0

!

router ospf 2

log-adjacency-changes

network 2.2.2.0 0.0.0.255 area 0

network 10.0.0.0 0.0.0.255 area 0

!

router bgp 1

bgp log-neighbor-changes

neighbor 6.6.6.6 remote-as 1

neighbor 6.6.6.6 update-source Loopback0

!

address-family ipv4

neighbor 6.6.6.6 activate

no auto-summary

no synchronization

exit-address-family

!

address-family vpnv4

neighbor 6.6.6.6 activate

neighbor 6.6.6.6 send-community both

exit-address-family

!

address-family ipv4 vrf ospf_vrf

redistribute connected

redistribute ospf 11 vrf ospf_vrf

no synchronization

exit-address-family

!

address-family ipv4 vrf eigrp_vrf

redistribute connected

redistribute eigrp 11

no synchronization

exit-address-family

!

ip forward-protocol nd

ip route vrf ospf_vrf 192.168.1.0 255.255.255.0 192.168.0.2

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

privilege level 15

logging synchronous

stopbits 1

line aux 0

exec-timeout 0 0

privilege level 15

logging synchronous

stopbits 1

line vty 0 4

login

!

end

CE

!

!

upgrade fpd auto

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname CE1site1

!

boot-start-marker

boot-end-marker

!

logging message-counter syslog

!

no aaa new-model

ip source-route

ip cef

!

!

!

!

no ip domain lookup

ip domain name lab.local

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

archive

log config

hidekeys

!

!

!

!

!

!

!

!

!

interface Loopback0

ip address 1.1.1.1 255.255.255.0

ip ospf network point-to-point

!

interface FastEthernet0/0

no ip address

shutdown

duplex half

!

interface FastEthernet1/0

ip address 192.168.0.2 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet1/1

no ip address

shutdown

duplex auto

speed auto

!

interface Ethernet2/0

ip address 192.168.1.3 255.255.255.0

duplex half

!

interface Ethernet2/1

no ip address

shutdown

duplex half

!

interface Ethernet2/2

no ip address

shutdown

duplex half

!

interface Ethernet2/3

no ip address

shutdown

duplex half

!

interface Ethernet2/4

no ip address

shutdown

duplex half

!

interface Ethernet2/5

no ip address

shutdown

duplex half

!

interface Ethernet2/6

no ip address

shutdown

duplex half

!

interface Ethernet2/7

no ip address

shutdown

duplex half

!

router ospf 11

log-adjacency-changes

redistribute connected

redistribute static

network 1.1.1.0 0.0.0.255 area 0

network 192.168.0.0 0.0.0.255 area 0

network 192.168.1.0 0.0.0.255 area 0

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

!

!

!

!

!

!

!

!

control-plane

!

!

!

!

!

!

!

gatekeeper

shutdown

!

!

line con 0

exec-timeout 0 0

privilege level 15

logging synchronous

stopbits 1

line aux 0

exec-timeout 0 0

privilege level 15

logging synchronous

stopbits 1

line vty 0 4

login

!

end

1 Reply 1

Hello

How are your trying to ping?

ping vrf eigrp_vrf  x.x.x.x
ping vrf ospf_vrf  x.x.x.x

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul