PPPoE Public Routed subnet config

Hi, i’m struggeling with a configuration any help is appriciated.

Mikrotik is connected via PPPoE to my service provider.
I’m allowed to use a public /29 subnet.
when i configure pppoe client on mikrotik i dynamicaly gets one IP address out of this /29 range
I want to use 5 of the /29 public adresses to devices behind the mikrotik

How do I get the 5 other devicess linked to this pppoe link ?

I got a cisco example config from my service provider unfortunalty i’m not a cisco guy :wink:

thx !
FTTH_881_SUBNET.txt (2.6 KB)

The cisco config is not really helpful. :wink:
Please check your PPPoE connection status if your local address gets a /29 subnet mask.
If yes, 1:1 NAT could be a quick solution - translate a private address of a host to a public address from the /29 subnet.
There are probably better solutions, but I can’t think of any so quickly.

Either way - your ISP is a bit weird. :wink: I would understand if they gave you one PPPoE connection address and route the /29 subnet behind it…

Just configure the public address with a /29 mask on another interface (Ethernet). The router will have the same IP address on two interfaces but will work. Causes issues with multicast but otherwise isn’t normally a problem.


Matt.

some more info from the ISP.

For Corporate Internet KPN customer does not get one IP address as usual for internet services
for individuals, but a block of IP addresses (8, 16, 32, etc. IP addresses). In order during the
build-up of the PPP session, an IP block to the customer from the customer router sharing a router should
to do special request. This is the so-called “netmask IPCP request”, the implementation of this
feature can be different for each manufacturer. The client router is required to request the
netmask to have working for the Cisco implementation of the Access Router side. This is not to
say that the client router must be a Cisco router, but it must be compatible with the
Cisco implementation of the IPCP netmask request.


Mr Yan,

thx for you reply,

I got public address range x.y.z.104/29

configured:
/interface pppoe-client
add ac-name=“” add-default-route=yes allow=pap,chap,mschap1,mschap2
default-route-distance=1 dial-on-demand=no disabled=no interface=
ether1-gateway keepalive-timeout=60 max-mru=1480 max-mtu=1480 mrru=1600
name=pppoe-out1 password=**** profile=default service-name=“”
use-peer-dns=yes user=****

this pppoe interface gets: x.y.z.105 with a default gw adress which is different.

/ip address
add address=x.y.z.106/29 interface=bridge2 network=x.y.z.104

and connected clients with x.yz.108

but this will not route correctly. Anny guess ?

I guess MrYan suggested addressing the .105/29 address on the bridge2 interface.
It can work, but it’s far from correctness…

Thx for your reply,

It is quite a common implementation in the NL.
I managed to solve it with a Draytek 2820.

thx

Gerard