Assign IPv6 to Host and IPv4 to VM

MariusVE

New Member
Sep 9, 2022
1
0
1
Hi,

I'm a bit desperate at the moment.

I am currently running my Proxmox host with only one IPv6 to save one IPv4 with my hoster.
Now I want to assign the primary IP to a VM, but it does not get an uplink.
My current configuration on the host:

/etc/network/interfaces


ource /etc/network/interfaces.d/*
Code:
auto lo
iface lo inet loopback

iface lo inet6 loopback

auto eno1
iface eno1 inet6 static
        address xxxx:xxx:xxx:xxxx:x/64
        gateway fe80::1

auto vmbr0
iface vmbr0 inet static
        address xxx.xxx.xxx.xxx/26
        gateway xxx.xxx.xxx.xxx
        bridge-ports eno1.1
        bridge-stp off
        bridge-fd 0

Does someone have an idea?

Thanks!


Best regards

Marius
 
Maybe you should define eno1.1 first? Apart from that I don't think that this will work as expected. I doubt that a vlan can work with ipv4 while the native vlan is ipv6. However, that's just a guess.