The git repo behind my blog.

getting-ipv6-to-work-with-a-kimsufi-server.html 8.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="HandheldFriendly" content="True" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <meta name="robots" content="index, follow" />
  9. <link href='https://phyks.me/theme/stylesheet/fonts.css' rel='stylesheet' type='text/css'>
  10. <link rel="stylesheet" type="text/css" href="https://phyks.me/theme/stylesheet/style.min.css">
  11. <link rel="stylesheet" type="text/css" href="https://phyks.me/theme/pygments/monokai.min.css">
  12. <link rel="stylesheet" type="text/css" href="https://phyks.me/theme/font-awesome/css/font-awesome.min.css">
  13. <link href="https://phyks.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Phyks' blog Atom">
  14. <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon">
  15. <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
  16. <!-- Chrome, Firefox OS and Opera -->
  17. <meta name="theme-color" content="#333">
  18. <!-- Windows Phone -->
  19. <meta name="msapplication-navbutton-color" content="#333">
  20. <!-- iOS Safari -->
  21. <meta name="apple-mobile-web-app-capable" content="yes">
  22. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  23. <!-- Microsoft EDGE -->
  24. <meta name="msapplication-TileColor" content="#333">
  25. <meta name="author" content="Phyks" />
  26. <meta name="description" content="Starting from yesterday, my server (phyks.me) should be available using ipv6. This was not the case before due to laziness and a lack of configuration. However, as setting ipv6 on a Kimsufi seems to not be really straight-forward (out of date documentation, information disseminated over the web and difficult …" />
  27. <meta name="keywords" content="">
  28. <meta property="og:site_name" content="Phyks' blog"/>
  29. <meta property="og:title" content="Getting ipv6 to work with a Kimsufi server"/>
  30. <meta property="og:description" content="Starting from yesterday, my server (phyks.me) should be available using ipv6. This was not the case before due to laziness and a lack of configuration. However, as setting ipv6 on a Kimsufi seems to not be really straight-forward (out of date documentation, information disseminated over the web and difficult …"/>
  31. <meta property="og:locale" content="en_US.UTF-8"/>
  32. <meta property="og:url" content="https://phyks.me/2014/11/getting-ipv6-to-work-with-a-kimsufi-server.html"/>
  33. <meta property="og:type" content="article"/>
  34. <meta property="article:published_time" content="2014-11-09 19:45:00+01:00"/>
  35. <meta property="article:modified_time" content=""/>
  36. <meta property="article:author" content="https://phyks.me/author/phyks.html">
  37. <meta property="article:section" content="Selfhosting"/>
  38. <meta property="og:image" content="/images/profile.png">
  39. <title>Phyks' blog &ndash; Getting ipv6 to work with a Kimsufi server</title>
  40. </head>
  41. <body>
  42. <aside>
  43. <div>
  44. <a href="https://phyks.me">
  45. <img src="/images/profile.png" alt="Phyks" title="Phyks">
  46. </a>
  47. <h1><a href="https://phyks.me">Phyks</a></h1>
  48. <p>I write about dev, FOSS, DIY and more, in French and English.</p>
  49. <ul class="social">
  50. <li><a class="sc-rss" href="feeds/all.atom.xml" target="_blank"><i class="fa fa-rss"></i></a></li>
  51. <li><a class="sc-envelope-o" href="mailto:phyks+blog@phyks.me" target="_blank"><i class="fa fa-envelope-o"></i></a></li>
  52. <li><a class="sc-github" href="http://github.com/phyks/" target="_blank"><i class="fa fa-github"></i></a></li>
  53. <li><a class="sc-gitlab" href="https://git.phyks.me/phyks" target="_blank"><i class="fa fa-gitlab"></i></a></li>
  54. </ul>
  55. </div>
  56. </aside>
  57. <main>
  58. <nav>
  59. <a href="https://phyks.me">Home</a>
  60. <a href="https://links.phyks.me">Bookmarks</a>
  61. <a href="/pages/hosted-tools.html">Tools</a>
  62. <a href="/archives.html">Archives</a>
  63. <a href="/pages/memo-autohebergement.html">Autohébergement</a>
  64. <a href="https://phyks.me/feeds/all.atom.xml">Atom</a>
  65. </nav>
  66. <article class="single">
  67. <header>
  68. <h1 id="getting-ipv6-to-work-with-a-kimsufi-server">Getting ipv6 to work with a Kimsufi&nbsp;server</h1>
  69. <p>
  70. Posted on November 09, 2014 in <a href="https://phyks.me/category/selfhosting.html">Selfhosting</a>
  71. &#8226; 2 min read
  72. </p>
  73. </header>
  74. <div>
  75. <p>Starting from yesterday, my server (<a href="http://phyks.me">phyks.me</a>) should be available using ipv6. This was not the case before due to laziness and a lack of configuration. However, as setting ipv6 on a Kimsufi seems to not be really straight-forward (out of date documentation, information disseminated over the web and difficult to find between basic mistakes and real errors…), I think it may be useful to keep some notes here. Hope it can help&nbsp;anyone.</p>
  76. <p>The <a href="http://help.ovh.co.uk/Ipv4Ipv6">doc</a> explains that <span class="caps">OVH</span> has not set ipv6 autoconfig on their servers, and that you should configure the default route and <span class="caps">IP</span> address&nbsp;yourself.</p>
  77. <p>To find your ip address, it is pretty easy: just go to your manager and look for the ipv6 address in the <span class="caps">IP</span>&nbsp;section.</p>
  78. <div class="highlight"><pre><span></span><span class="gp">$</span> ip -6 addr add YOUR_IPV6_ADDRESS/64 dev eth0
  79. </pre></div>
  80. <p>This will add the ipv6 address to your network device. Then, you have to manually add the default gateway. To get its address, you should remove the last two digits of your ipv6 address and put <code>FF:FF:FF:FF:FF</code> instead. This means that <code>2001:41d0:1:4462::1/64</code> will give you a default gateway <code>2001:41d0:1:44FF:FF:FF:FF:FF</code>.</p>
  81. <p>Then, you should add a default route <em>via</em> this&nbsp;gateway</p>
  82. <div class="highlight"><pre><span></span><span class="gp">$</span> ip -6 r a default via <span class="m">2001</span>:41d0:1:44FF:FF:FF:FF:FF
  83. </pre></div>
  84. <p>This is the standard procedure explained in <span class="caps">OVH</span> guide and many posts around the web such as <a href="https://www.skyminds.net/serveur-dedie-mise-en-place-de-lipv6/">this one</a> (in French). It may work in some cases, however, in my case, I could not reach the default gateway and then, I could not add this&nbsp;route.</p>
  85. <p>I found <a href="http://forum.ovh.co.uk/showthread.php?6435-Getting-IPv6-working-on-kimsufi&amp;p=44965&amp;viewfull=1#post44965">a comment</a> on the <span class="caps">OVH</span> forum giving a&nbsp;solution.</p>
  86. <p>You should first add a route to reach the&nbsp;gateway</p>
  87. <div class="highlight"><pre><span></span><span class="gp">$</span> ip -6 r a <span class="m">2001</span>:41d0:1:44FF:FF:FF:FF:FF dev eth0
  88. </pre></div>
  89. <p>and then, you can add the default route <em>via</em> this&nbsp;gateway</p>
  90. <div class="highlight"><pre><span></span><span class="gp">$</span> ip -6 r a default via <span class="m">2001</span>:41d0:1:44FF:FF:FF:FF:FF
  91. </pre></div>
  92. </div>
  93. <div class="tag-cloud">
  94. <p>
  95. </p>
  96. </div>
  97. </article>
  98. <footer>
  99. <p>
  100. &copy; 2017 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>
  101. </p>
  102. <p>Powered by <a href="http://getpelican.com" target="_blank">Pelican</a> - <a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a> theme by <a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a></p><p>
  103. <a rel="license"
  104. href="http://creativecommons.org/licenses/by-nc-sa/4.0/"
  105. target="_blank">
  106. <img alt="Creative Commons License"
  107. title="Creative Commons License"
  108. style="border-width:0"
  109. src="https://phyks.me/theme/img/cc/by-nc-sa.png"
  110. width="80"
  111. height="15"/>
  112. </a>
  113. </p> </footer>
  114. </main>
  115. <script type="application/ld+json">
  116. {
  117. "@context" : "http://schema.org",
  118. "@type" : "Blog",
  119. "name": " Phyks' blog ",
  120. "url" : "https://phyks.me",
  121. "image": "/images/profile.png",
  122. "description": "I write about dev, FOSS, DIY and more, in French and English."
  123. }
  124. </script>
  125. </body>
  126. </html>