Community discussions

MikroTik App
 
gniers
just joined
Topic Author
Posts: 9
Joined: Fri Nov 15, 2013 3:37 pm

PPPoE Public Routed subnet config

Mon Oct 27, 2014 11:03 pm

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 ;-)

thx !
You do not have the required permissions to view the files attached to this post.
 
User avatar
jacekes
Member Candidate
Member Candidate
Posts: 167
Joined: Tue Aug 30, 2011 9:34 am
Location: Poznan, Poland
Contact:

Re: PPPoE Public Routed subnet config

Tue Oct 28, 2014 10:39 am

The cisco config is not really helpful. ;)
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. ;) I would understand if they gave you one PPPoE connection address and route the /29 subnet behind it...
 
MrYan
Member Candidate
Member Candidate
Posts: 160
Joined: Sat Feb 27, 2010 6:13 pm

Re: PPPoE Public Routed subnet config

Tue Oct 28, 2014 1:17 pm

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.
 
gniers
just joined
Topic Author
Posts: 9
Joined: Fri Nov 15, 2013 3:37 pm

Re: PPPoE Public Routed subnet config

Tue Oct 28, 2014 10:50 pm

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 ?
Last edited by gniers on Tue Oct 28, 2014 11:18 pm, edited 1 time in total.
 
User avatar
jacekes
Member Candidate
Member Candidate
Posts: 167
Joined: Tue Aug 30, 2011 9:34 am
Location: Poznan, Poland
Contact:

Re: PPPoE Public Routed subnet config

Tue Oct 28, 2014 10:54 pm

I guess MrYan suggested addressing the .105/29 address on the bridge2 interface.
It can work, but it's far from correctness...
 
gniers
just joined
Topic Author
Posts: 9
Joined: Fri Nov 15, 2013 3:37 pm

Re: PPPoE Public Routed subnet config

Tue Nov 04, 2014 11:39 am

Thx for your reply,

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

thx

Gerard

Who is online

Users browsing this forum: GoogleOther [Bot], infabo, rextended, VMX and 132 guests