Page 1 of 1
PPPoE IPv6
Posted: Thu Apr 01, 2010 3:36 pm
by wdca
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!
Re: PPPoE IPv6
Posted: Sat Apr 03, 2010 10:07 pm
by marlow
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
Re: PPPoE IPv6
Posted: Sat Apr 03, 2010 11:03 pm
by phantomfx
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.
Re: PPPoE IPv6
Posted: Sat Apr 03, 2010 11:30 pm
by marlow
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
Re: PPPoE IPv6
Posted: Tue Apr 06, 2010 10:57 am
by wdca
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
Re: PPPoE IPv6
Posted: Tue Apr 06, 2010 11:05 am
by atis
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.
Re: PPPoE IPv6
Posted: Tue Apr 06, 2010 11:06 am
by hedele
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.
Re: PPPoE IPv6
Posted: Tue Apr 06, 2010 12:14 pm
by marlow
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
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
Re: PPPoE IPv6
Posted: Tue Apr 06, 2010 12:59 pm
by wdca
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.
Re: PPPoE IPv6
Posted: Tue Apr 06, 2010 1:02 pm
by marlow
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
Re: PPPoE IPv6
Posted: Wed Apr 07, 2010 5:13 pm
by marlow
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