OSPF over PPPoE: Old Method with DHCP and VRF

From: mpls protocol <mplsprotocol_at_gmail.com>
Date: Fri, 16 Jul 2010 15:40:59 +0100

Hi All Expert,

I am doing practice in GNS. PPPoE: Old Method with DHCP and VRF

try to run ospf on R1 -->> R2 receiving route from R1 to R2. R2 is not
receiving from R1

Please help me! what am i missing here?

Base config is as below:

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

!
hostname R1-SERVER
!
!
!
aaa authentication ppp ADSL local
aaa session-id common
ip subnet-zero
!
!
no ip domain lookup
ip dhcp excluded-address 10.0.12.2 10.0.12.254
!
ip dhcp pool ADSL
   network 10.0.12.0 255.255.255.0
!
ip vrf TST
 rd 1:12
 route-target export 1:12
 route-target import 1:12
!
ip cef
vpdn enable
!
vpdn-group ADSL
 accept-dialin
  protocol pppoe
  virtual-template 12
!
!
username CCIE password 0 CISCO
!
!
interface Loopback199
 ip vrf forwarding TST
 ip address 199.0.2.1 255.255.255.0 secondary
 ip address 199.0.3.1 255.255.255.0 secondary
 ip address 199.0.1.1 255.255.255.0
!
interface FastEthernet0/0
 ip vrf forwarding TST
 ip address 10.0.12.2 255.255.255.0
 speed 100
 full-duplex
 pppoe enable
!
!
interface Virtual-Template12
 ip vrf forwarding TST
 ip unnumbered FastEthernet0/0
 no peer default ip address
 ppp authentication chap ADSL
!
router ospf 100 vrf TST
 log-adjacency-changes
 network 10.0.12.2 0.0.0.0 area 0
 network 199.0.1.1 0.0.0.0 area 0
 network 199.0.2.1 0.0.0.0 area 0
 network 199.0.3.1 0.0.0.0 area 0
!
=======================

R1-SERVER#sh ip route vrf TST

Gateway of last resort is not set

C 199.0.3.0/24 is directly connected, Loopback199
C 199.0.2.0/24 is directly connected, Loopback199
C 199.0.1.0/24 is directly connected, Loopback199
     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.0.12.0/24 is directly connected, FastEthernet0/0
C 10.0.12.1/32 is directly connected, Virtual-Access1.1
     192.168.1.0/32 is subnetted, 1 subnets
O 192.168.1.254 [110/2] via 10.0.12.1, 00:09:18, Virtual-Access1.1
O 192.168.2.0/24 [110/2] via 10.0.12.1, 00:09:18, Virtual-Access1.1
O 192.168.3.0/24 [110/2] via 10.0.12.1, 00:09:18, Virtual-Access1.1
R1-SERVER#

R1-SERVER#sh ver | i IOS
IOS (tm) 2600 Software (C2691-JSX-M), Version 12.3(26), RELEASE SOFTWARE
(fc2)
R1-SERVER#
=======================================
!
hostname R2-CLIENT
!
!
no ip domain lookup
!
ip cef
vpdn enable
!
vpdn-group ADSL
 request-dialin
  protocol pppoe
!
!
interface Loopback192
 ip address 192.168.2.254 255.255.255.0 secondary
 ip address 192.168.3.254 255.255.255.0 secondary
 ip address 192.168.1.254 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 speed 100
 full-duplex
 pppoe enable
 pppoe-client dial-pool-number 1
!
!
interface Dialer1
 ip address dhcp
 ip mtu 1492
 encapsulation ppp
 dialer pool 1
 ppp chap hostname CCIE
 ppp chap password 0 CISCO
!
router ospf 100
 log-adjacency-changes
 network 10.0.12.1 0.0.0.0 area 0
 network 192.168.1.254 0.0.0.0 area 0
 network 192.168.2.254 0.0.0.0 area 0
 network 192.168.3.254 0.0.0.0 area 0
!

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

R2-CLIENT#sh ip route

Gateway of last resort is not set

     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.0.12.2/32 is directly connected, Dialer1
C 10.0.12.0/24 is directly connected, Dialer1
C 192.168.1.0/24 is directly connected, Loopback192
C 192.168.2.0/24 is directly connected, Loopback192
C 192.168.3.0/24 is directly connected, Loopback192

R2-CLIENT#sh ver | i IOS
IOS (tm) 2600 Software (C2691-JSX-M), Version 12.3(26), RELEASE SOFTWARE
(fc2)
R2-CLIENT#
========================

Many Thanks

Blogs and organic groups at http://www.ccie.net
Received on Fri Jul 16 2010 - 15:40:59 ART

This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 19:19:15 ART