LiveZilla Live Help

All Simple Internet Services Forum

Current time: 05-19-2012, 07:14 PM Hi there, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to enable IPv6 in your VPS.
01-02-2012, 12:29 PM
Post: #1
How to enable IPv6 in your VPS.
This is for existing systems only, new or reinstalled systems should have the addresses activated automatically.

Debian/Ubuntu based systems
  • Ensure the IPv6 module is loaded.
    • When running ifconfig you should see an inet6 address for eth0
    • If you don't you'll need to add ipv6 to /etc/modules then reboot or run 'modprobe ipv6'
  • Add configuration to /etc/network/interfaces
  • You'll need the following lines for your main address:
    • iface eth0 inet6 static
      address ipv6::iprange:2
      netmask 112
      gateway ipv6::iprange:1
  • For any additional IP addresses you wish to add you can use the following line mulitple times.:
    • up ip -6 addr add ipv6::iprange:additionalip/112 dev eth0
  • Please note that by default only the first few addresses are activated, more can be activated via our control panel.
  • You can then restart your networking with /etc/init.d/networking restart and your IP addresses should become live.

CentOS/Fedora/RHEL based systems
  • Activate IPv6 networking.
    • Add NETWORKING_IPV6=yes to /etc/sysconfig/network
  • Add configuration to /etc/sysconfig/network-scripts/ifcfg-eth0
  • You'll need the following lines for your main address:
    • IPV6INIT=yes
      IPV6ADDR=ipv6::iprange:2/112
      IPV6_DEFAULTGW=ipv6::iprange:1
  • For any additional IP addresses you wish to add you can add them to the following line:
    • IPV6ADDR_SECONDARIES="ipv6::iprange:3/112 ipv6::iprange:4/112 ipv6:iprange::5/112"
  • Please note that by default only the first few addresses are activated, more can be activated via our control panel.
  • You can then restart your networking with service networking restart and your IP addresses should become live.

The default gateway is always :1 of your range, the netmask is 112, you must include this where indicated in bold above, to find out your IP range log in to your control panel and you'll see a default IP address assigned, you will from there be able to allocate further addresses, if you require, please be sensible in when doing this, since any abuse will result in the removal of this ability.

Kind Regards,
Martin Woodhouse
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: