PPPoE and MPLS

From: sp.ccie.me <sp.ccie.me_at_gmail.com>
Date: Sun, 1 Nov 2009 20:33:11 +0400

Guys I have a simple PPPoE setup - client and Server.

Problem is client doesn't assign any labels to the received routes from
server.

I tried 12.3T, 12.4 and 12.4T, all have same problem.

Any thoughts what's wrong? Appreciate any help.

Details -

Topology: (Lo0-2.2.2.2)-Client
-------------PPPoE+MPLS---------------Server-(Lo0-1.1.1.1)

DHCP is used for address allocation for client.
OSPF is used for routing. Routing part is all fine. Routes are exchanged
properly.
Client receives the Server's loopback via OSPF.
LDP neighborship forms between the Client and Server.

But client doesn't assign any label to the received Server's looback
(1.1.1.1).

Client Config
---------------
hostname PPPoE-CLIENT

interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 pppoe enable group global
 mpls ip
 pppoe-client dial-pool-number 1
!
       
interface Dialer99
 ip address dhcp
 encapsulation ppp
 ip ospf mtu-ignore
 dialer pool 1
 dialer idle-timeout 0
 dialer persistent
 mpls label protocol both
 mpls ip
 no peer neighbor-route
 ppp chap hostname CLIENT
 ppp chap password 0 CISCO
!
router ospf 1
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 20.1.35.3 0.0.0.0 area 0

Server Config
----------------
ip dhcp excluded-address 20.1.35.1 20.1.35.2
ip dhcp excluded-address 20.1.35.4 20.1.35.254
!
ip dhcp pool DHCP
   network 20.1.35.0 255.255.255.0

username CLIENT privilege 0 password 0 CISCO

bba-group pppoe BBA_GRP
 virtual-template 1
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 ip mtu 1492
 pppoe enable group BBA_GRP
 tag-switching ip

interface Virtual-Template1
 ip address 20.1.35.5 255.255.255.0
 ip mtu 1492
 ip ospf mtu-ignore
 tag-switching ip
 peer default ip address dhcp
 ppp authentication chap callin
!
router ospf 1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 20.1.35.5 0.0.0.0 area 0

Verification:

PPPoE-CLIENT#sh ip route
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

     1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/1786] via 20.1.35.5, 01:00:18, Dialer99
     2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
     20.0.0.0/24 is subnetted, 1 subnets
C 20.1.35.0 is directly connected, Dialer99

PPPoE-CLIENT#sh mpls ldp discovery
 Local LDP Identifier:
    2.2.2.2:0
    Discovery Sources:
    Interfaces:
        FastEthernet0/0 (ldp): xmit
        Dialer99 (ldp): xmit/recv
            LDP Id: 1.1.1.1:0

PPPoE-CLIENT#sh mpls forward
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
PPPoE-CLIENT#
PPPoE-CLIENT#
PPPoE-CLIENT#mi
PPPoE-CLIENT#sh mpls ip bindi
  1.1.1.1/32
        in label: imp-null
        out label: imp-null lsr: 1.1.1.1:0
  2.2.2.2/32
        in label: imp-null
        out label: 16 lsr: 1.1.1.1:0
  20.1.35.0/24
        in label: imp-null
        out label: imp-null lsr: 1.1.1.1:0

On Server
------------

PPPoE-SERVER#sh mpls forward
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Pop tag 2.2.2.2/32 0 Vi1.1 point2point

Blogs and organic groups at http://www.ccie.net
Received on Sun Nov 01 2009 - 20:33:11 ART

This archive was generated by hypermail 2.2.0 : Tue Dec 01 2009 - 06:36:27 ART