Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Help me understanding ipv6
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Help me understanding ipv6

I refered to some wiki on the web but I still cant catch up..
can anyone simplified this for me?

2604:180::53ac:80e6/128 - ipv6 from HOST 1

2a00:1ca8:37::470b:6e5e/128 - ipv6 from HOST 2

Im trying to follow this guide >> tomsalmon.eu/2013/04/openvpn-ipv6-with-tun-device/

but how can I transform my ipv6 to

2001:412:abcd::/48 or 2001:412:abcd:2::/64

I am totally lost in understanding this..

and why ipv6 from HOST 1 are shorter than HOST 2 ??

Comments

  • dedicadosdedicados Member
    edited November 2013

    First you cant, because you only have a /128

    not a /64

    and 2ndo, is not shorter, the prefix lenght they give you, is the same, just maybe host 1 give you ip from a /48 and host 2 from a /64

    the "37" there from host 2 is "00" from host 1

  • SpiritSpirit Member
    edited November 2013

    can anyone simplified this for me?

    I don't understand this part. What are you trying to do?

    but how can I transform my ipv6 to /48 or /64

    Transform to? Do you have assigned /48 or /64 subnet at all? If you see only /128 (individual IPv6 addresses) assigned by host this means that you don't have bigger (eg. /48 or /64) subnet available.

    and why ipv6 from HOST 1 are shorter than HOST 2 ??

    It's not. Each IPv6 address have eight segments. Double colons (::) replace a series of zeros.

    2604:180::53ac:80e6/128 is the same as:
    2604:180:0:0:0:0:53ac:80e6/128 or:
    2604:180:0000:0000:0000:0000:53ac:80e6/128

    2a00:1ca8:37::470b:6e5e/128 is the same as:
    2a00:1ca8:37:0:0:0:470b:6e5e/128 or:
    2a00:1ca8:37:0000:0000:0000:470b:6e5e/128

  • @dedicados said:
    First you cant, because you only have a /128

    not a /64

    then, If I am following THIS guide, I have to use 2604:180::53ac:80e6/128 instead /64 ??

    @Spirit said:

    is this meaning my ipv6 are /128, not /64 ??
    I got the ip by doing ifconfig command

  • here I make it clear.. Im trying to follow the guide in the link I provided before.. but, on the start of the page, he used 2001:412:abcd::/48 for local ip and 2001:412:abcd:2::/64 for tunnel ip.. how can I transform my ip 2604:180::53ac:80e6/128 so I can follow his guide?

  • SpiritSpirit Member
    edited November 2013

    @psycholyzern said:
    then, If I am following THIS guide, I have to use 2604:180::53ac:80e6/128 instead /64 ??

    I can't help you with that. I never set up IPv6 OpenVPN. Maybe @rm_ can help. In case you try to do that with OpenVZ vps you may have hard time with this tutorial.

    is this meaning my ipv6 are /128, not /64 ?? I got the ip by doing ifconfig command

    Most likely, yes. OpenVZ vps providers usually assign few individual /128 addresses. You have bigger chances to get some decent subnet from Xen or KVM vps providers - but ask first.

  • @Spirit said:

    oh.. clear for me.. waiting for someone that can help me understanding ipv6 that need to be used in openvpn..
    thanks @Spirit

  • http://lowendtalk.com/discussion/16185/ipv6-with-openvpn#latest

    Posted by you, I guess people have responded you there.

  • @dedicados said:
    First you cant, because you only have a /128

    not a /64

    and 2ndo, is not shorter, the prefix lenght they give you, is the same, just maybe host 1 give you ip from a /48 and host 2 from a /64

    the "37" there from host 2 is "00" from host 1

    hey, you said I got /128.. but then, you said I got /48 and /64 on both of them.. dizzy

  • you have a single ip, not a range

    /128 is just 1 ip

  • @ultimatehostings said:
    http://lowendtalk.com/discussion/16185/ipv6-with-openvpn#latest

    Posted by you, I guess people have responded you there.

    yah, Im asking for tutorial on the thread.. but now I got one..but I need more details on ipv6.. If I can, I would delete the other thread since this thread got more replies :)

  • @dedicados said:

    you have a single ip, not a range

    /128 is just 1 ip

    oh.. now it make sense.. I understand it now.. thank you :)

  • @psycholyzern said:
    yah, Im asking for tutorial on the thread.. but now I got one..

    Which, I am afraid, won't work for you. Not at OpenVZ container with individual /128 address.

  • @Spirit said:
    Which, I am afraid, won't work for you. Not at OpenVZ container with individual /128 address.

    yah, all tutorial on the netonly for blocks of ipv6..

    I want to doing snat to the ipv6 like I did on ipv4. but as far as I know, ipv6 cant be snat.. I found a guide on the web >> atoomnet.net/howto-ipv6-nat-in-centos-6/ got a way to snat ipv6. but it requires higher kernel. Im using openvz vps that cant be upgraded on my own..
    can kvm vps be upgraded?? or only dedi can be upgraded?

  • Hello, you can check aswell an IPv6 calculator like www.ipv6calculator.net

  • @forthcloud said:
    Hello, you can check aswell an IPv6 calculator like www.ipv6calculator.net

    Please stop bumping every old thread you can find.

  • he need to get to the amount of posts to post an offer :P

Sign In or Register to comment.