From: Anderson Mota Alves (mota_anderson@hotmail.com)
Date: Thu Apr 12 2007 - 10:19:14 ART
Hi Koen,
I think there are three things you should change in your config in order to
get this working.
First:
Under Interface Dialer0 I think you should add the command, in order to
properly bind your vpdn-group 1 under the interface:
dialer-group 1
Second:
This one I'm not sure if it's case sensitive but you created:
ip dhcp pool cisconetwork 1.1.1.0 255.255.255.0
using cisco in lower case.
Third:
From the client side try to associate this using lower case:
int virtual-template1ip address 1.1.1.15 255.255.255.0no peer
neighbor-routepeer default ip address dhcp-pool cisco
In case it doesn't work I would change the command "peer default ip address
dhcp-pool cisco" for
"peer default ip address pool cisco"
Please let me know if it works afterwards.
Best regards,
Andy
> Date: Thu, 12 Apr 2007 06:28:08 +0000> From: koen@koenzeilstra.com> To:
ccielab@groupstudy.com> Subject: > > Hi group,> > > I have two routers R1 and
R2 using pppoe. I want to use dhcp to allocate> the R1 ip address
(1.1.1.10/24). R2 runs the DHCP pool.> > I got it working fine, but after
bouncing the interface and probably> changing something else ;-) it stopped
working. The problem probably is> that R2 allocates the only free ip address
to a incorrect client-id.> > .Apr 12 08:09:49.090: DHCPD: assigned IP address
1.1.1.10 to client>
6369.7363.6f2d.312e.312e.312e.3135.2d56.6972.7475.616c.2d41.6363.6573.7331.2e
31.> > .Apr 12 08:10:05.214: DHCPD: DHCPDISCOVER received from client>
0063.6973.636f.2d30.3031.372e.3561.3431.2e36.3433.302d.4469.30 on> interface
Virtual-Access1.1.> > Clearing the dhcp pool and bouncing the dialer interface
doesn't help.> Manually setting the client-id to the ethernet interface "ip
dhcp address> client-id e/1" doesn't help either.> > Any ideas on how to solve
this?> > Below is the config I am using.> > R1> > vpdn enable> vpdn-group 1>
request-dailin> protocol pppoe> !> int e1/0> no ip address> pppoe enable>
pppoe-client dial-pool-number 1> !> int d0> ip address dhcp> ip mtu 1492>
encapsulation ppp> dialer pool 1> no peer neighbor-route> !> > > R2> > vpdn
enable> vpdn-group 1> accept-dialin> protocol pppoe> virtual-template 1> !> ip
dhcp excluded-address 1.1.1.1 1.1.1.9> ip dhcp excluded-address 1.1.1.11
1.1.1.254> !> ip dhcp pool cisco> network 1.1.1.0 255.255.255.0> !> int e1/0>
no ip address> pppoe enable> !> int virtual-template1> ip address 1.1.1.15
255.255.255.0> no peer neighbor-route> peer default ip address dhcp-pool
CISCO> !> > > R2#show ip dhcp bind> Bindings from all pools not associated
with VRF:> IP address Client-ID/ Lease expiration Type> Hardware address/>
User name> 1.1.1.10 6369.7363.6f2d.312e. Infinite On-demand>
312e.312e.3135.2d56.> 6972.7475.616c.2d41.> 6363.6573.7331.2e31> > R2#> .Apr
12 08:09:49.090: DHCPD: assigned IP address 1.1.1.10 to client>
6369.7363.6f2d.312e.312e.312e.3135.2d56.6972.7475.616c.2d41.6363.6573.7331.2e
31.> .Apr 12 08:09:57.858: DHCPD: DHCPDISCOVER received from client>
0063.6973.636f.2d30.3031.372e.3561.3431.2e36.3433.302d.4469.30 on> interface
Virtual-Access1.1.> .Apr 12 08:09:57.858: DHCPD: subnet [1.1.1.1,1.1.1.254] in
address pool> test is empty.> R2#> .Apr 12 08:10:01.214: DHCPD: DHCPDISCOVER
received from client>
0063.6973.636f.2d30.3031.372e.3561.3431.2e36.3433.302d.4469.30 on> interface
Virtual-Access1.1.> .Apr 12 08:10:01.214: DHCPD: subnet [1.1.1.1,1.1.1.254] in
address pool> test is empty.> R2#show ip dhcp bind> .Apr 12 08:10:05.214:
DHCPD: DHCPDISCOVER received from client>
0063.6973.636f.2d30.3031.372e.3561.3431.2e36.3433.302d.4469.30 on> interface
Virtual-Access1.1.> .Apr 12 08:10:05.214: DHCPD: subnet [1.1.1.1,1.1.1.254] in
address pool> test is empty.> > thanks for your help,> > Koen> >
This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 08:28:35 ART