Community discussions

MikroTik App
 
wdca
newbie
Topic Author
Posts: 26
Joined: Sat Nov 25, 2006 12:34 am

PPPoE IPv6

Thu Apr 01, 2010 3:36 pm

I've set
add caller-id="" comment="" disabled=no limit-bytes-in=0 limit-bytes-out=0 \
    name=asdasd password=qweqweq profile=special remote-address=\
    192.168.123.64 remote-ipv6-prefix=2a00:10a0:1:2001:ff08::1/128 routes="" \
    service=pppoe
I can ping the concentrator:
C:\Users\wdca>ping 2a00:10a0:1:2001:f008::ab12

Badanie 2a00:10a0:1:2001:f008::ab12 z 32 bajtami danych:
Odpowiedz z 2a00:10a0:1:2001:f008::ab12: czas=3ms
Odpowiedz z 2a00:10a0:1:2001:f008::ab12: czas=2ms
Odpowiedz z 2a00:10a0:1:2001:f008::ab12: czas=3ms

Statystyka badania ping dla 2a00:10a0:1:2001:f008::ab12:
    Pakiety: Wyslane = 3, Odebrane = 3, Utracone = 0
             (0% straty),
Szacunkowy czas bladzenia pakietów w millisekundach:
    Minimum = 2 ms, Maksimum = 3 ms, Czas sredni = 2 ms
But i get this IPv6 address:
Karta bezprzewodowej sieci LAN Wireless Network Connection:

   Sufiks DNS konkretnego polaczenia : mshome.net
   Adres IPv6 polaczenia lokalnego . : fe80::41e2:de90:52de:9ae7%12
   Adres IPv4. . . . . . . . . . . . . : 192.168.15.100
   Maska podsieci. . . . . . . . . . : 255.255.255.0
   Brama domyslna. . . . . . . . . . : 192.168.15.1
What IPv6 prefix should I set?
I have pure ipv6 from init7, i'm using ospfv3
Big thanks for help!
 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: PPPoE IPv6

Sat Apr 03, 2010 10:07 pm

Have you tried with a /64 subnet instead of a /128 ? I'm setting my v6 IP's via Radius, but it's working. /128 is one IP only and I'm not sure, if that's going to work.

Don't use your IPv4 thinking when trying to so IPv6 :)

/M
 
phantomfx
just joined
Posts: 3
Joined: Sat Jun 24, 2006 3:36 pm

Re: PPPoE IPv6

Sat Apr 03, 2010 11:03 pm

It is not possible to enter /64 in ppp secret remote ipv6 prefix. It requires valid ipv6 address. fe80:... is link local address not global. Also, i get same situation like wdca. Can't get global ipv6 address on pppoe.
 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: PPPoE IPv6

Sat Apr 03, 2010 11:30 pm

It is not possible to enter /64 in ppp secret remote ipv6 prefix. It requires valid ipv6 address. fe80:... is link local address not global. Also, i get same situation like wdca. Can't get global ipv6 address on pppoe.
That's because wdca should have specified: 2a00:10a0:1:2001::/64 or 2a00:10a0:1:2001:0:0:0:0/64

2a00:10a0:1:2001:ff08::1/64 would not be correct, of course. It's a full address, not a PREFIX, as the option suggests.

I've tried to add a user with a correct /64 prefix and it works. I get allocated a correct IPv6 on the ppp interface on my laptop (running Ubuntu with options to allow IP6CP)

A RouterOS PPPoE client (5.0beta1) won't take the IP yet, as it seems and I've raised a ticket on that a few days ago. In that case you should always be able to add a static ip in that range to the PPPoE-client interface.

/M
 
wdca
newbie
Topic Author
Posts: 26
Joined: Sat Nov 25, 2006 12:34 am

Re: PPPoE IPv6

Tue Apr 06, 2010 10:57 am

Thanks for the reply, but.
Isn't /64 to much ?
For a normal home user i would prefer to give /128 (1 address) or /124(254 addresses).
What the hell user will do with 1.84467440737e+19 addresses :| ?
Assuming that the user lives in a 100m^2 flat that is 10000cm^2.
So the thing is, he will get 1.84467440737e+15 addresses on a cm^2 :D
Last edited by wdca on Tue Apr 06, 2010 11:05 am, edited 1 time in total.
 
atis
just joined
Posts: 17
Joined: Mon Sep 19, 2005 10:28 am

Re: PPPoE IPv6

Tue Apr 06, 2010 11:05 am

Take in account that there often is a kind of hierarchy present in IPv6 addressing. If address autoconfiguration is used, the first 64 bits are network prefix, and the last 64 bits are determined by the MAC address of the host. This basically makes meaningless assigning network prefixes with mask larger than /64 bits to a customer.
 
hedele
Member
Member
Posts: 338
Joined: Tue Feb 24, 2009 11:23 pm

Re: PPPoE IPv6

Tue Apr 06, 2010 11:06 am

Welcome to the address-filled world of IPv6...

If i remember correctly, in order for IPv6 ND to work correctly you have to use a /64 network.
Even more so if your network is using EUI64 - where the IPv6 host address is derived from the MAC address.
 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: PPPoE IPv6

Tue Apr 06, 2010 12:14 pm

Thanks for the reply, but.
Isn't /64 to much ?
For a normal home user i would prefer to give /128 (1 address) or /124(254 addresses).
What the hell user will do with 1.84467440737e+19 addresses :| ?
Assuming that the user lives in a 100m^2 flat that is 10000cm^2.
So the thing is, he will get 1.84467440737e+15 addresses on a cm^2 :D
You can not allocate a /128. As I said, don't use your IPv4 thinking. This is IPv6.

a /64 is used for EUI64 (padding the MAC into the /64) and that's actually what RouterOS PPPoE seems to do.

Also, this is still beta, so you never know, in what sense, they'll still change it. I've used the same /64 for multiple PPPoE on the same base and that worked fine, even between the hosts on the different PPPoE tunnels.

As for your argumentation, you are actually supposed to route a /64 or even a /48 to a customer (on top of the PPPoE address), because if he wants to use multiple computers, he'll need that. There is no NAT in IPv6. Thats why there are so many IPv6 addresses. And for Router Advertisement, he'll again need a /64 (EUI64). No matter how big or small their appartement is.

/M
 
wdca
newbie
Topic Author
Posts: 26
Joined: Sat Nov 25, 2006 12:34 am

Re: PPPoE IPv6

Tue Apr 06, 2010 12:59 pm

I know the basics but ;)
I'm using /126 between routers(so ripe ncc is doing on their routers)
My ipv6 class is equal to /64, so i can not give a user a ipv6 address over pppoe?
It's confusing but i guess i must get over it and think of getting a larger amount of ipv6 addresses from my isp.
Big thanks.
 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: PPPoE IPv6

Tue Apr 06, 2010 1:02 pm

I know the basics but ;)
I'm using /126 between routers(so ripe ncc is doing on their routers)
My ipv6 class is equal to /64, so i can not give a user a ipv6 address over pppoe?
It's confusing but i guess i must get over it and think of getting a larger amount of ipv6 addresses from my isp.
Big thanks.
Your ISP can easily allocate you a /48 without even asking RIPE (as per RIPE rules), if they want to.

/M
 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: PPPoE IPv6

Wed Apr 07, 2010 5:13 pm

I actually got an interesting answer from Mikrotik support that also applies to this issue.

The way, they've done their IPv6 PPPoE implementation on the client side works the way, that it doesn't set up the IPv6 address on any interface, only the Link (fe80::) address.

The reason for that is, that on a Mikrotik PPPoE client, you can assign the Global IPv6 address to any interface.

Example:
- connect via wireless + pppoe to pppoe-concentrator
- add IPv6 (/64) address to ether1 interface

And voila, that works. This means, that they are passing the entire /64 to for example the ethernet-side of the board without using any IPv6 addresses on the uplink. So using a whole /64 for the frame-IPv6-range makes sense in that case.

/M