PPPOE - DHCP and VRF - Service Provider

From: Deepak Ahuja (deeps.ccie@gmail.com)
Date: Fri Jul 04 2008 - 10:01:41 ART


Hi Experts

Please help me with this

I have a Scenario

(CE)R1 Fa1/1=================R2 fa1/1 (PE)

R1 is a PPPOE client and R2 is PPPOE server

Query
1. Till the time I do not put the interface on R2 in VRF - PPPOE client gets
and ip from the PPPOE server.
As soon as I put the interface in VRF i cant get the Ip address from the
DHCP server

I have tried it with and without "ip dhcp use vrf connected"
My Current platform is 2851 running
"c2800nm-adventerprisek9-mz.123-14.T7.bin" on both the routers. I have tried
this on a diffent platform as well but nothing works.

Kindly let me know what else do i need to make this work. All you hep is
appreciated. ( Below are the configs from both the sides)

Here are the configs

R1

vpdn-group 1
 request-dialin
  protocol pppoe

interface GigabitEthernet0/1
duplex auto
 speed auto
 media-type rj45
 negotiation auto
 pppoe enable
 pppoe-client dial-pool-number 1

interface Dialer1
 ip address dhcp
 ip mtu 1492
 ip pim sparse-mode
 encapsulation ppp
 dialer pool 1
 dialer persistent
 ppp authentication chap callin
 ppp chap hostname CISCO
 ppp chap password 0 CISCO

========================================================================

Configuration R2

aaa new-model
!
!
aaa authentication login default line
aaa authentication ppp PPPOE local

username cisco password 0 cisco

ip dhcp use vrf connected
ip dhcp excluded-address 10.9.16.2 172.9.16.254
ip dhcp pool PPPOE
vrf ABC
network 10.9.16.0 255.255.255.0
!
vpdn enable
vpdn ip udp ignore checksum
!
vpdn-group 1
 accept-dialin
  protocol pppoe
  virtual-template 1
!
interface GigabitEthernet0/1
 ip vrf forwarding ABC
 ip address 10.9.16.6 255.255.255.0
 duplex auto
 speed auto
 pppoe enable

interface Virtual-Template1
 ip vrf forwarding ABC
 ip unnumbered GigabitEthernet0/1
 ip pim sparse-mode
 peer default ip address dhcp-pool PPPOE
 ppp authentication chap PPPOE

========================================

Thanks in Advance

Warm Regards
Deepak Ahuja



This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:53 ART