| IPv6 Configuration on Ubuntu Linux |
|
|
|
| Monday, 26 July 2010 11:26 |
|
We have Ubuntu 8.10 Intrepid Ibex Server Edition, coming out to the network via PPP and working with the intranet IP through NAT. Task: to give him a real, white IPv6-address, and make its IPv6-based router, which will provide for the transfer of packets between IPv6-world and local area network. For a start we need to get the IPv6 address. ervice http://go6.net (so-called "broker") will help us, at first you should register. Go6 will give us more than one address IPv6, but a whole subnet. Now lets start server configuration.By default, in ubuntu-server IPv6 support is already enabled. In other case you can enable by command: $ sudo modprobe ipv6
We will need to install just a one package: $ sudo apt-get install tspc
After installation, edit the configuration: $ sudo nano /etc/tsp/tspc.conf
Here is my configuration (the result of the command sudo cat /etc/tsp/tspc.conf | grep-v "#")
Ok, it seems all set - now you can check: $sudo /etc/init.d/restart tspc
If you saw there inet6 addr, starting on something other than the fe ... (Example 2001:5 c0 ...), then everything is ok. Otherwise - read and repeat all over again. Another good way to test - ping any IPv6-enabled site. For example ipv6.google.com. To do this, instead of "normal" ping, we use a special version for IPv6:
$ ping6 ipv6.google.com
|