From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Wed Mar 28 2007 - 17:20:30 ART
Use DHCP. With IPCP the subnet mask will not be learned.
interface Ethernet0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address dhcp
encapsulation ppp
dialer pool 1
dialer persistent
no cdp enable
************************************************
ip dhcp excluded-address 190.12.45.1 190.12.45.3
!
ip dhcp pool CISCO
network 190.12.45.0 255.255.255.0
!
vpdn enable
!
vpdn-group CISCO
accept-dialin
protocol pppoe
virtual-template 1
!
interface Ethernet0/0
no ip address
pppoe enable
!
interface Virtual-Template1
ip address 190.12.45.5 255.255.255.0
peer default ip address dhcp-pool CISCO
--Brian Dennis, CCIE4 #2210 (R&S/ISP-Dial/Security/SP) bdennis@internetworkexpert.com Internetwork Expert, Inc. http://www.InternetworkExpert.com Toll Free: 877-224-8987 Direct: 775-745-6404 (Outside the US and Canada)
On 3/28/07 1:10 PM, "Koen Zeilstra" <koen@koenzeilstra.com> wrote:
> Hi group, > > When assiging an IP address to a PPP neighbor in, for example > PPPoE, you may use a local pool or a DHCP pool. The neigbhor gets the ip > address assigned during PPP negotiation. It always assigns a /32 mask to > the dialer interface. Would it be possible to change this behaviour and > assign for example a /24 to the PPP neighbor? > > thanks in advance, > > Koen > > _______________________________________________________________________ > Subscription information may be found at: > http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:53 ART