Give public IP to pppoe clients through edge router

Hi, I have a edge MK where my provider give me public IPs on ether2.

I create an EoIP tunnel through edge MK to pppoe clients MK (where are the pppoe client server). On the edge router I was bridged ether2 with EoIP tunnel…

On MK clients I has pppoe over vlans on ether2, 3 and 4 over to give access to the pppoe clients… but I do several test and I can´t give public IPs to the pppoe clients.

I don´t know how continue. The EoIP tunnel has established and ping between two machines… but in the pppoe clients what do I need to do? bridge?

I tried to put the public IP address on pppoe client under remote address but no work.

APs are in bridge and I configure pppoe clients on house client router.

I think I´m doing something wrong on pppoe clients MK, am I right?

Regards!!

Hi , I can help you with this we are isp and have such network also , can you please send me a diagram how your network connected and I send you the best config .


Gesendet von iPhone mit Tapatalk

Hi, thanks for your prompt reply, check it, I think it´s right

The next question is if your edge router is were your public ip then this diagram won’t work you need to make your edge router as pppoe server and bridge eoip with ether 3-5 on router were ap is connected .


Gesendet von iPhone mit Tapatalk

And there is not any way to implement that having publics IPs on the edge, give to the pppoe clients over any kind type of tunnel between edge and pppoe server?

If edge fails, I want the clients goes out to internet through the PPPoE server internet connection… as you saw, if edge fails what´s happen with pppoe clients? can´t access internet.

Now I has implemented on edge router an L2TP IPsec connection with pppoe server, all clients goes out to internet from 1 public IP from edge… if edge fails all clients goes out from pppoe server internet connection…

I only want to can give public IPs to some users… I think could not be difficult, but I has several days trying with no results…

So let’s assume by your diagram you have someting like

PE Router | ether2 ] ============== [ ether1 | PPPoE Router
         10.0.0.1/30  ............. 10.0.0.2/30
                                                ap.ubl.ic.ip pppoe-user
                                                bp.ublic.ip pppoe-user2

If you want to assign public IPs to pppoe users, you have to add a route on edge router so that it knows how to reach them:

/ip route add dst-address=ap.ubl.ic.ip/32 gateway=10.0.0.2
/ip route add dst-address=bp.ubl.ic.ip/32 gateway=10.0.0.2

I assume PPPoE router already has PE as default gateway.

No need for EoIP tunnel.

No there is no way if your public ip is on edge you can’t make an other router as pppoe server, you can make a second edge router as failover if first faild the customer can still get public ip from the other one .


Gesendet von iPhone mit Tapatalk

I see, but pppoe router has dynamic IP address… then I think it´s not possible to add routes

So you mean using the ip your ISP provides on your Internet uplink for customers?

That’s not possible, I thought you had public IPs routed by your ISP for this.

That’s exactly what I meant before because I have the same network for my customers!!


Gesendet von iPhone mit Tapatalk

Hi, and with OSPF it´s not possible?

Hi, even that way won’t work , if your worry is to have failover server if first one won’t work , just setup a second AC PPPoE server on the isp side and if first failed the second take the role and customers stay online with the public address


Gesendet von iPhone mit Tapatalk

Hi Discmandj how I contact with you?