Пытаюсь поджнять mpls между 3-мя кошками
С2811-С7500-с2821 конфиг с2821
ip cef
ip vrf TEST
rd 299:1
route-target export 299:1
route-target import 299:1
interface Loopback10
ip vrf forwarding TEST
ip address 192.168.4.1 255.255.255.0
mpls label protocol ldp
interface GigabitEthernet0/1.22
description For_MPLS
encapsulation dot1Q 22
ip address 172.20.100.6 255.255.255.252
mpls ip
router bgp 299
bgp log-neighbor-changes
neighbor 172.20.100.5 remote-as 299
address-family vpnv4
neighbor 172.20.100.5 activate
neighbor 172.20.100.5 send-community extended
exit-address-family
address-family ipv4 vrf TEST
no synchronization
network 192.168.4.0
exit-address-family
Конфиг с c7500
ip cef distributed
mpls label protocol ldp
interface FastEthernet0/0/0.22
description FOR_MPLS_Sphere
encapsulation dot1Q 22
ip address 172.20.100.5 255.255.255.252
no ip directed-broadcast
tag-switching ip
interface FastEthernet0/0/0.311
encapsulation dot1Q 311
ip address 172.20.100.1 255.255.255.252
no ip directed-broadcast
mpls label protocol ldp
tag-switching ip
router bgp 299
no synchronization
bgp log-neighbor-changes
neighbor 172.20.100.2 remote-as 299
neighbor 172.20.100.6 remote-as 299
address-family vpnv4
neighbor 172.20.100.2 activate
neighbor 172.20.100.2 send-community extended
neighbor 172.20.100.2 route-reflector-client
neighbor 172.20.100.6 activate
neighbor 172.20.100.6 send-community extended
neighbor 172.20.100.6 route-reflector-client
exit-address-family
!
Конфиг c2811
ip cef
ip vrf TEST
rd 299:1
route-target export 299:1
route-target import 299:1
mpls label protocol ldp
interface Loopback10
ip vrf forwarding TEST
ip address 192.168.2.1 255.255.255.0
interface FastEthernet0/0.311
description TEST_MPLS
encapsulation dot1Q 311
ip address 172.20.100.2 255.255.255.252
mpls ip
router bgp 299
no synchronization
bgp log-neighbor-changes
neighbor 172.20.100.1 remote-as 299
neighbor 172.20.100.1 soft-reconfiguration inbound
address-family vpnv4
neighbor 172.20.100.1 activate
neighbor 172.20.100.1 send-community extended
exit-address-family
!
address-family ipv4 vrf TEST
no synchronization
network 192.168.2.0
exit-address-family
!
Вывод sh route vrf TEST
c2811#sh ip route vrf TEST
Routing Table: TEST
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
B 192.168.4.0/24 [200/0] via 172.20.100.6, 02:43:04
C 192.168.2.0/24 is directly connected, Loopback10
c2821#sh ip route vrf TEST
Routing Table: TEST
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C 192.168.4.0/24 is directly connected, Loopback10
B 192.168.2.0/24 [200/0] via 172.20.100.2, 02:43:44
Маршруты имеются типа радоваться надо....
А пинга нет :(
c2821#ping vrf TEST 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Если на с7500 добавить
ip vrf TEST
rd 299:1
route-target export 299:1
route-target import 299:1
interface Loopback10
ip vrf forwarding TEST
ip address 192.168.1.1 255.255.255.0
router bgp 299
address-family ipv4 vrf TEST
no synchronization
network 192.168.1.0
exit-address-family
То с7500 пингает и с2811 и с2821
И вот между 28-ми пинга как небыло так и нет.
Парюсь 3-й день, идеи пока закончились.