[How-To] IPv6 is not scary! Connect to next-gen Internet today! avatar
ᜌᜓᜃᜒ (Yuki)
 | | 4 분 읽기 | 업데이트

Fediverse Follow

IPv6 or Internet Protocol version 6 is the answer to our IPv4 problem. What problem? By 2011 or 2012 (according to estimates), there will be no more IPv4 addresses left. This means that, anyone with a need to have a static IP address will not be able to get any for their project or service.

When this day comes, someone must start finding IP address owners who does not really need a static address and give it to someone who needs it seriously. We may even see owners starting to sell their extra IPs at a price far more expensive that what it is worth today.

But that will not happen, because two decades ago, the powers-that-be already started experimenting with IPv6 which will give us 2128 addresses. That is equivalent to 340,282,366,920,938,463,463,374,607,431,768,211,456 IPv6 Addresses, according to my Einstein brain calculation :p Or simply: 340 with 36 zeroes (I admit, I used a calculator).

Compare that to IPv4 which only have 232 or 4,294,967,296 IP addresses. It is a huge difference! IPv6 which use 128-bit addresses and IPv4 which is only 32-bit. Each computer in the world can now have its own IP Address and we are only scratching the surface of IPv6. In fact, if we subtract the number of IPv4 addresses we have, we still have 340,282,366,920,938,463,463,374,607,427,473,244,160 IPv6 addresses available.

I know you have plenty of questions but time is not on our side. What I am going to answer for you today is how you can start connecting to the IPv6 Internet without waiting for your ISP to start implementing it.

For this tutorial or How-To Guide, I am going to show you how I setup my Ubuntu Linux 9.10 “Karmic Koala” Linux Mint 11 “Katya” 64-bit (based on Ubuntu 11.04 “Natty Narwhal”). So let’s begin!

  • Go to Synaptic (System -> Administration -> Synaptic Package Manager)

  • Search for: miredo; gogoc; and radvd and install all three.

  • Open a terminal (Accessories -> Terminal)

  • Type:

    1
    
    sudo /etc/init.d/radvd stop
    
  • Type:

    1
    
    gksu gedit /etc/gogoc/gogoc.conf
    
  • If your main connection is not eth0 then change if_prefix= accordingly

  • If you are setting this up on a workstation computer, then change host_type=router to host_type=host

  • Type:

    1
    
    sudo /etc/init.d/gogoc restart
    

Update 2010-03-29: Additional step from Ubuntu 10.04 “Lucid Lynx” and up.

  • Still on your terminal, type:

    1
    
    gksu gedit /etc/default/gogoc
    
  • Look for # CHECK_KEYFILE="yes" and change it to CHECK_KEYFILE="no"

Update 2009-12-23: An update from Jeremy Duncan on setting up your Linux box as a router.

Make sure IPV6FORWARDING is set to yes in /etc/sysconfig/network like so: IPV6FORWARDING=yes.

You are done! To test if your IPv6 is working do or visit the following:

  • In your terminal, type:

    1
    
    ping6 ipv6.google.com
    

    it should show something like this:

    1
    2
    3
    
    ping6 ipv6.google.com
    PING ipv6.google.com(fx-in-x68.1e100.net) 56 data bytes
    64 bytes from fx-in-x68.1e100.net: icmp_seq=1 ttl=50 time=496 ms
    
  • Open up your favorite browser and visit test-ipv6.com

  • and/or ipv6-test.com

  • and/or ip6.me

Why use a Tunnel Broker if we have Miredo/Teredo?

For one, Miredo/Teredo was developed only as a temporary gateway to the IPv6 Internet. In fact, it was set as the last access point when you have other IPv6 implementation like a tunnel broker.

Another reason is to have a static IPv6 address (even if your ISP gives you a dynamic IPv4 address). For this to work, you have to register an account over at Gogo6.com’s Freenet6 service (register here).

Then you have to edit your gogoc.conf, follow the instructions below:

  • Open a Terminal again

  • Type:

    1
    
    sudo /etc/init.d/radvd stop
    
  • Type:

    1
    
    gksu gedit /etc/gogoc/gogoc.conf
    
  • Adjust your existing gogoc.conf with this one:

    1
    2
    3
    4
    
    userid=ENTER_YOUR_FREENET6_USERNAME_HERE
    passwd=ENTER_YOUR_FREENET6_PASSWORD_HERE
    server=authenticated.freenet6.net
    auth_method=any
    
  • Type:

    1
    
    sudo /etc/init.d/gogoc restart
    

You’re done! From now on, you will have the same IPv6 address everytime you connect to Freenet6’s network. However, do note that you still get a different static IP depending on which Freenet6 server you are connected. If you really want to connect to the exact same server simply change this configuration in your gogoc.conf

1
always_use_same_server=no

to:

1
always_use_same_server=yes

But before you do that, please connect to Freenet6 at least once, so your gogoc daemon will have a list of servers to connect to and be able to choose the “best” one for you. Then set it up as instructed, and you’ll be connecting to that same “best” server everytime the gogoc daemon is (re)-started. Easy?

Welcome to the next generation of the Internet - the IPv6 world.


마음에 드셨나요? 이 게시물을 공유하고 아래에 댓글을 남기고 선물을 보내주세요! (새 탭/창에서 열립니다)

avatar

ᜌᜓᜃᜒ (Yuki ・ 雪亮)이것이 망각의 끝이 아니라면 내 인생이 바로 오늘 끝날 듯 매일 살 것이다.

YOOki (柳 紀 ・ 유 기) 연대기

YOOki (柳 紀 ・ 유 기) 연대기ᜌᜓᜃᜒ (Yuki ・ 雪亮) 의 캐주얼 및 개인 블로그로의 복귀입니다. “YOOki"라는 이름은 YourOnly.One 의 두문자어와 내 별명 ᜌᜓᜃᜒ (Yuki ・ 雪亮) 의 매시업입니다.

흥미롭게도 중국 전설에 따르면 「柳」(YOO)는 고대 중국의 성입니다.이 성의 조상은 Yu Shun이라는 고대 현인과 밀접한 관련이 있습니다. 한국에서는 「유 (YOO)“혈통 흔적 하, 한, 조선 왕조에 유, 유 성의 소유자는 자선과 근면으로 명성을 얻었습니다. 1

또한 우아하거나 가느 다란 것을 의미하는 “버들 나무"또는 “버들 나무"의 단어이기도합니다. 그리고 모든 사람에게 지속적인 영양과 자원을 제공하는 수역 근처에서 자라는 나무. 그것은 또한 존재, 기름 (기음 (?)), 그리고 단순히 “U”(당신)를 의미 할 수 있습니다.

한자 「紀」(ki) 문자는 기록, 훈련, 질서 제공을 의미합니다. 한글에 해당하는 「기」(기기)는 에너지, 정신, 기치, 기간을 의미합니다. 동명사 또는 부정사를 만드는 데 사용되는 접미사이기도합니다.

“柳 紀"과 “유 기"가 “YOOki"의 중국어와 한국어로 무슨 뜻인지 아시겠습니까?


고시 : Google 번역

지금 재생 중
소셜 링크