Community discussions

MikroTik App
 
coeussky
just joined
Topic Author
Posts: 4
Joined: Tue Nov 13, 2018 3:51 am

Additional WAN IP's for PPPoE clients

Tue Nov 13, 2018 4:07 am

Hey guys, fresh-registered user, first ppost so take it easy on me :P

I have a CCR1036-12G-4S set up at a site.

Ether1 connects to the ISP.

Then SFP1 & SFP2 are setup in a LAG to a HP Switch, which branches off to several different businesses.

Image

Lets say Mikrotik WAN IP is 1.2.3.4
then I have an additional /27 block, lets say 126.58.65.32/27
and an addition /29 block, lets say 67.89.24.48/29

So far I have had all customers connect via PPPOE (server setup on mikrotik) and obtain a single /27 address.

i achieve this by setting up the first available host ip from the /27 which is 126.58.65.33 on ether1 on the mikrotik which is then used as a gateway for the rest of the /27 pool.

this all works well.

However now i have a customer who wants a /29 block and am unsure how to achieve this via pppoe.

do i still setup first host address from the /29 on ether1 then assign 2nd host to PPPOE connection? if this is correct, then how do i route the remaining IP block to this same customer, and how do they set it up on their end.

I have no clue what im doing at this point.
 
coeussky
just joined
Topic Author
Posts: 4
Joined: Tue Nov 13, 2018 3:51 am

Re: Additional WAN IP's for PPPoE clients

Tue Nov 13, 2018 11:33 pm

BUMP anyone?

I am now suspecting i may have to use a /27 address for this customer as his primary WAN IP, then route the /29 block to it. still unsure how to route it.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Additional WAN IP's for PPPoE clients

Wed Nov 14, 2018 3:24 pm

Why can't you using static routing to /32 host in routing table when pppoe-client connects to your server?
 
coeussky
just joined
Topic Author
Posts: 4
Joined: Tue Nov 13, 2018 3:51 am

Re: Additional WAN IP's for PPPoE clients

Thu Nov 15, 2018 3:33 am

Why can't you using static routing to /32 host in routing table when pppoe-client connects to your server?

So I've just changed the PPPOE customers main wan ip to one from the /27 range.

and made a static route from 67.89.24.48/29 to his wan ip which is /27. Does that look right?

Who is online

Users browsing this forum: anav, Andrey05, Bing [Bot], menyarito and 90 guests