How to configure Dual stack IPv4 + IPv6 Routed Configuration?

somnath31

Member
Oct 9, 2020
13
0
6
32
Hello!
Since a week I am trying to configure my Proxmox node (Which will host VMs) with Dual stack (IPv4 + IPv6) Routed Configuration
But not working..

Here's the details

Server MAIN IP: 45.XXX.XXX.145/24
Gateway: 45.XXX.XXX.1

Server Main IPV6: 2001:4860:4860::850
Gateway: 2001:4860::1
Subnet: 64

Here's the additional IP subnets which I want to use to create VMs

IPv4 Subnet: 50.XXX.XXX.0/22
Gateway: 50.XXX.XXX.1

IPv6 Subnet: 2bf0:4a9g::/48
Gateway: 2bf0:4a9g::1


I did configure network interface something like this

/etc/network/interfaceds

Code:
auto lo
iface lo inet loopback

auto enp1s0
iface enp1s0 inet static
        address 45.XXX.XXX.145/24
        gateway 45.XXX.XXX.1
        dns-nameservers 8.8.8.8
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp

iface enp1s0 inet6 static
      address 2001:4860:4860::850
      netmask 64
      gateway 2001:4860::1
      dns-nameservers 2001:4860:4860::8888
      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/default/forwarding

iface eno1np0 inet manual

iface eno2np1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 50.XXX.XXX.1/22
        bridge-ports none
        bridge-stp off
        bridge-fd 0

iface vmbr0 inet6 static
        address 2bf0:4a9g::1
        netmask 48


/etc/sysctl.conf


Code:
net.ipv6.conf.vmbr0.autoconf = 0
net.ipv6.conf.vmbr0.accept_ra = 2

net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1

net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 1

Server is accessible on SSH but proxmox not openning when I try on browser..
So basically proxmox is not working with this configuration



Can anyone help me?
 
Anyone help?
I have only one NIC port on the server..

I just want to make everything work with 1 static IP for the main server and to use a different /24 subset for VM hosting on the same node.

I am trying it for more than a week now but not get any success..

Anyone know how this routed networking work in this situation?

Both 1 static IP and /24 subnet is connected to the same network/router in datacenter..

They are just 2 different subnet.. That's it