Can you give a little more information on the topology?
In most cases your PPPOE server is going to be a router. So you’d need to route a subnet to the PPPoE server…
It sounds like you have a DHCP server on the WAN port of the PPPoE Server, and you’re trying to bridge those IP’s to your subscribers connecting via PPPoE… This may be possible, as PPPoE is just a Layer2 tunneling protocol, I haven’t tried an implementation such as this, but basically you’d need to terminate the PPPoE tunnel on the CPE and bridge that interface to the ethernet port of the CPE. As long as the ports on the PPPoE server are bridged as well in theory you should have end to end layer2 connectivity through the PPPoE server to your clients. Then the client would just setup the router in DHCP mode and should get an IP address from the DHCP server.
If that’s what you’re looking for I’d then ask the question, Why do you need a PPPoE server?
This is how I do it… I have a /22 which I’ve broken down into 4 x /24’s..
1 x /24 is for the core network devices
the other three are routed to my PPPoE servers…
So on the Core router (to upstream ISP) the routing tables look something like this:
AS 0.0.0.0/0 1.1.1.1
DAC 2.1.0.0/24
AS 2.1.1.0/24 2.1.1.254
AS 2.1.2.0/24 2.1.1.253
AS 2.1.3.0/24 2.1.1.252
And then on the PPPoE Servers I just have pools setup for their respective subnets. So each PPPoE Router has a /24 for public IP’s. I use private pools for residential users, and public pools for those who require it. I set the pools up so I have enough IP’s left over to subnet for /29’s for customers or single static /32’s..
It’s a good idea to break up your network so you have a “Core” layer where all your DNS, RADIUS, mail, and other network services reside, then you have your Distribution/Access Layer(s). My distribution and access layers kind of overlap each other.. but you can further segregate traffic by splitting the two. It makes it easier to control traffic (firewall) on your network by implementing a hierarchy and keeps all the ARP and other broadcast junk away from your core services.
Anyway just a few suggestions. Once you have a good Infrastructure in place, it’s much easier to upgrade and maintain. Not to mention an increase in network stability, and scalability.