New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
IPV6 not reachable
Hello,
I've a problem. I must create a VM with an IPv6 through Virtualizor but the virtual machine is not reachable. I guess I miss something ...
(IPv6 Forwarding is enabled)
Here is the network configuration on the Host:
network:
version: 2
renderer: networkd
ethernets:
enp1s0f0:
dhcp4: no
dhcp6: no
bridges:
viifbr0:
addresses:
- 135.xxx.159.xx/24
- 2001:xxxx:xxx:500f::/56
interfaces: [ enp1s0f0 ]
routes:
- on-link: true
to: 0.0.0.0/0
via: 135.xxx.159.xxx
- on-link: true
to: ::0/
via: 2001:xxxx:xxx:50ff:ff:ff:ff:ff
gateway6: 2001:xxxx:xxx:50ff:ff:ff:ff:ff
macaddress: xx:40:xx:fe:xx:7b
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
- 2001:4860:4860::8888
- 2001:4860:4860::8844
Here is the VM network configuration:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet6 static
accept_ra 0
address 2001:xxxx:xxx:500f::a2
netmask 64
post-up /sbin/ip -r route add 2001:xxxx:xxx:50ff:ff:ff:ff:ff dev eth0
post-up /sbin/ip -r route add default via 2001:xxxx:xxx:50ff:ff:ff:ff:ff
Can you help me ?
Thank you.
Regards, Irkoska
Comments
Should be
2001:xxxx:xxx:500f::1/64
I think.Create another bridge called br1, and give it the ip 2001:xxxx:xxx:500f::2/64
Should be
2001:xxxx:xxx:500f::a2/64
Then add a gateway inside your vm for ipv6. The ipv6 gateway will be the ipv6 address of the br1,
so in vm, add
gateway 2001:xxxx:xxx:500f::2
You don't need gateway4 or gateway6 any longer. Just gateway should be fine.
Then connect the VM to
viifbr1
.You may also need to install a ndppd proxy on your host in case the provider is not routing you and leaves routing up to you/your OS. For
/etc/ndppd.conf
use, then/etc/init.d/ndppd restart
google for :
net.ipv6.conf.interface.proxy_ndp
andipv6 ndp sysctl
andipv6 forwarding sysctl
Then connect VM to viifbr1 and use
2001:xxxx:xxx:500f::2
as gateway and2001:xxxx:xxx:500f::a2/64
as address.Hopefully that'll work.
Kindly clarify where did you get the network settings, and are you sure they are correct?