Difference between revisions of "IPv6"

From SupraWiki
Jump to: navigation, search
(Allocation)
Line 23: Line 23:
 
* dns2.supranet.net (2607:f4e0:1:102::18)
 
* dns2.supranet.net (2607:f4e0:1:102::18)
 
* dns3.supranet.net (2607:f4e0:0:10::11)
 
* dns3.supranet.net (2607:f4e0:0:10::11)
 +
 +
 +
== Configuration ==
 +
=== Windows ===
 +
=== FreeBSD ===
 +
* Modify <code>/etc/rc.conf</code>. IPv6 should be working upon next boot:
 +
ipv6_enable="YES"
 +
ipv6_defaultrouter="2607:F4E0:xxxx:xxxx::1"
 +
ipv6_ifconfig_em0="2607:F4E0:xxxx:xxxx::2/64"
 +
 +
 +
* To bring it up live without a reboot you must do a little more work. The last four steps are to get the Link Local (fe80) addresses active:
 +
ifconfig em0 inet6 2607:f4e0:xxxx:xxxx::2/64
 +
route add -inet6 default 2607:f4e0:xxxx:xxxx::1
 +
sysctl net.inet6.ip6.auto_linklocal=1
 +
ifconfig em0 down up
 +
/etc/rc.d/network_ipv6 start
 +
rtsol em0
 +
 +
 +
=== Linux (Debian) ===
 +
Debian should assign an IPv6 address automatically if your default gateway is configured to advertise to clients using auto configuration.
 +
* To assign a static IP, modify <code>/etc/network/interfaces</code>
 +
iface eth0 inet6 static
 +
address 2607:F4E0:xxxx:xxxx::2
 +
netmask 64
 +
gateway 2607:F4E0:xxxx:xxxx::1
 +
 +
 +
* To bring it up live:
 +
ifconfig eth0 add 2607:F4E0:xxxx:xxxx::2/64
 +
ip -6 route del ::/0
 +
ip -6 route add ::/0 via 2607:f4e0:xxxx:xxxx::1
 +
 +
 +
=== Cisco ===
 +
* IOS config must support IPv6. Check support with [http://tools.cisco.com/ITDIT/CFN/Dispatch?act=rlsSelect&task=search&searchby=platform Feature Navigator]
 +
''!! Enable IPv6 ''
 +
ipv6 unicast-routing
 +
ipv6 cef
 +
 +
''!! Add IPv6 Address to an interface''
 +
interface FastEthernet0/0
 +
  ipv6 address 2607:F4E0:xxxx:xxxx::2/64
 +
  ipv6 nd suppress-ra
 +
 +
''!! set default route''
 +
ipv6 route ::/0 2607:F4E0:xxxx:xxxx::1

Revision as of 10:01, 26 April 2011

Internet Protocol version 6 (IPv6) is an Internet Protocol version which will succeed IPv4

Allocation

Allocations are available to SupraNet customers in sizes of /56. This contains 256 /64's, each which have 2^64 (18,446,744,073,709,551,616 or 18 Quintillion) usable addresses which will allow for autoconfiguration of hosts on a network (similar to DHCP).

To use IPv6 your network equipment (such as firewall or router) must support it. All modern operating systems such as Windows, OSX, Linux, FreeBSD support IPv6.

Please contact support@supranet.net for an IPv6 allocation.

DNS

SupraNet has two types of DNS servers: private/recursive servers for our connectivity customers, and our public/authoritative servers for domain name hosting. If you are configuring a system to do DNS queries, use the private DNS servers. If you are registering a domain and want SupraNet to host DNS, use the public servers.

SupraNet's private DNS servers will not answer queries from systems outside our network.


Private DNS Servers:

  • 2607:f4e0:0:10::10
  • 2607:f4e0:0:10::19


Public DNS Servers:

  • dns1.supranet.net (2607:f4e0:0:10::12)
  • dns2.supranet.net (2607:f4e0:1:102::18)
  • dns3.supranet.net (2607:f4e0:0:10::11)


Configuration

Windows

FreeBSD

  • Modify /etc/rc.conf. IPv6 should be working upon next boot:
ipv6_enable="YES"
ipv6_defaultrouter="2607:F4E0:xxxx:xxxx::1"
ipv6_ifconfig_em0="2607:F4E0:xxxx:xxxx::2/64"


  • To bring it up live without a reboot you must do a little more work. The last four steps are to get the Link Local (fe80) addresses active:
ifconfig em0 inet6 2607:f4e0:xxxx:xxxx::2/64
route add -inet6 default 2607:f4e0:xxxx:xxxx::1
sysctl net.inet6.ip6.auto_linklocal=1
ifconfig em0 down up
/etc/rc.d/network_ipv6 start
rtsol em0


Linux (Debian)

Debian should assign an IPv6 address automatically if your default gateway is configured to advertise to clients using auto configuration.

  • To assign a static IP, modify /etc/network/interfaces
iface eth0 inet6 static
	address 2607:F4E0:xxxx:xxxx::2
	netmask 64
	gateway 2607:F4E0:xxxx:xxxx::1


  • To bring it up live:
ifconfig eth0 add 2607:F4E0:xxxx:xxxx::2/64
ip -6 route del ::/0
ip -6 route add ::/0 via 2607:f4e0:xxxx:xxxx::1


Cisco

!! Enable IPv6 
ipv6 unicast-routing
ipv6 cef

!! Add IPv6 Address to an interface 
interface FastEthernet0/0
 ipv6 address 2607:F4E0:xxxx:xxxx::2/64
 ipv6 nd suppress-ra

!! set default route
ipv6 route ::/0 2607:F4E0:xxxx:xxxx::1