User Tools

Site Tools


proxmox_ipv6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proxmox_ipv6 [2016/07/17 10:23] neoonproxmox_ipv6 [2021/12/05 14:14] (current) neoon
Line 1: Line 1:
 If you have a Kimsufi Dedicated, you got a full /64 not just /128 which is a single IP, lets use it. If you have a Kimsufi Dedicated, you got a full /64 not just /128 which is a single IP, lets use it.
- 
-First we need to enable Forwarding on the Node: 
- 
-  net.ipv6.conf.all.forwarding = 1  
-  net.ipv6.conf.all.proxy_ndp = 1 
-  net.ipv6.bindv6only = 1 
      
 Next, we need to add IPv6 to our vmbr2, which the VM should be connected to. Next, we need to add IPv6 to our vmbr2, which the VM should be connected to.
  
   iface vmbr2 inet6 static   iface vmbr2 inet6 static
-  address 2601:xxxx:xx:xxx::+       address 2601:xxxx:xx:xxx::
-  netmask 64 +       netmask 64 
-  bridge_ports none +       bridge_ports none 
-  bridge_stp off +       bridge_stp off 
-  bridge_fd 0 +       bridge_fd 0 
-  post-up echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp +       post-up echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp 
-  post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding +       post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding 
-  post-up echo 1 > /proc/sys/net/ipv6/conf/default/forwarding +       post-up echo 1 > /proc/sys/net/ipv6/conf/default/forwarding 
-  post-up /sbin/ip -f inet6 neigh add proxy 2601:xxxx:xx:xxx::2 dev vmbr2 +       post-up /sbin/ip -f inet6 neigh add proxy 2601:xxxx:xx:xxx::2 dev vmbr2 
-  post-up /sbin/ip -f inet6 neigh add proxy 2601:xxxx:xx:xxx::3 dev vmbr0 +       post-up /sbin/ip -f inet6 neigh add proxy 2601:xxxx:xx:xxx::3 dev vmbr0 
-  post-up /sbin/ip -f inet6 route add 2601:xxxx:xx:xxx::3 dev vmbr2 +       post-up /sbin/ip -f inet6 route add 2601:xxxx:xx:xxx::3 dev vmbr2 
-   +The next thing you need to do, restart your network on your Dedi with: 
-The next thing you need to do, restart your network with: service networking restart+   service networking restart 
 +Now Login into your VM and add this to your /etc/network/interfaces:
  
 +  iface eth0 inet6 static
 +       address 2601:xxxx:xx:xxx::3
 +       netmask 64
 +       gateway 2601:xxxx:xx:xxx::2
 +Restart your Networking on the VM:
 +   service networking restart
 +If it dosen't respond after a while, try to Reboot your VM over Proxmox.
 +Now we still need to add IPv6 DNS Server to our /etc/resolv.conf:
 +
 +
 +  2001:4860:4860::8888
 +  2001:4860:4860::8844
 +
 +These are the IPv6 Nameservers from Google but you can use different ones.
 +
 +If you run:
 +  ping6 google.com
 +  
 +You should get a response and you should be able to reach your VM under this IPv6 which you configured earlier.
 +   
  
 Sources used: http://hw7.net/?p=252 Sources used: http://hw7.net/?p=252
proxmox_ipv6.1468751031.txt.gz · Last modified: 2021/11/25 22:42 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki