(no subject)

From: Koen Zeilstra (koen@koenzeilstra.com)
Date: Thu Apr 12 2007 - 03:28:08 ART


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.2e31.

.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.2e31.
.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