RE: PPPOE negotiated ip address

From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Mon Dec 04 2006 - 17:25:43 ART


Use DHCP since you will need to learn the subnet mask information for
OSPF to work properly. The IP address negotiation that is done via
PPP/IPCP does not send the subnet mask which means it will default to
/32.

Client side:
interface Dialer1
 ip address dhcp

Server side:
ip dhcp pool CISCO
   network X.X.X.X X.X.X.X
!
interface Virtual-Template1
 peer default ip address dhcp-pool CISCO

Lastly you may run into MTU issues with OSPF using this configuration.
If so use the "ip ospf mtu ignore" interface command to solve the issue.

HTH,

Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
 
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)

 

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
j buss
Sent: Monday, December 04, 2006 11:24 AM
To: ccielab@groupstudy.com
Subject: PPPOE negotiated ip address

Hi guys,

Can someone help me with the following:

I have 2 routers let's say R1 and R2

R1 is PPPOE client
R2 is PPPOE enabled

OSPF is running between R1 and R2
The ip address on R1 should be received from R2

How can I acomplish this
===

My config looks like:

R2 - client=============================
interface FastEthernet0/0 no ip address pppoe enable pppoe-client
dial-pool-number 1
!
interface Dialer1 ip address 10.82.1.1 255.255.255.0 encapsulation ppp
dialer
pool 1 dialer-group 1 ppp authentication chap callin ppp chap hostname
R1 ppp
chap password ciscoblabla!
dialer-list 1 protocol ip permit
R2=================================vpdn enable
! vpdn-group PPPOE accept-dialin protocol pppoe
virtual-template 1!
username R1 password 0 ciscoblabla!
interface Ethernet0/0.82 no ip address pppoe enable
!
interface Virtual-Template1 ip address 10.82.1.2 255.255.255.0 ppp
authentication chap

This works, but I have to know how to do it with a negotiated ip
address, does
someone have an example for me?

Thanks...



This archive was generated by hypermail 2.1.4 : Tue Jan 02 2007 - 07:50:36 ART