1
22.1 Legacy Series / Re: DHCPv6 & Can't get Host as Part of private Network
« on: February 21, 2022, 11:57:34 pm »
I got it working with some help, there are two possible solutions as the problem was you can't use an empty bridge to communicate:
1. Dummy-Interface
You need to load mod "dummy" and possibly (for me) needed a reboot.
2. VLANs
Then you can assign two times vmbr0 to the VM and set VLAN-ID 90 for the WAN interface, and VLAN-ID 10 for the LAN one.
1. Dummy-Interface
Code: [Select]
auto lo
iface lo inet loopback
auto dummy0
iface dummy0 inet manual
pre-up /sbin/modprobe dummy
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
address 31.xxx.xxx.57/24
gateway 31.xxx.xxx.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
iface vmbr0 inet6 static
address 2a0a:xxxx:0:xxx::57/64
gateway 2a0a:xxxx:0:xxx::1
auto vmbr1
iface vmbr1 inet static
address 10.10.25.2/24
network 10.10.25.0
bridge-ports dummy0
bridge-stp off
bridge-fd 0
pre-up /sbin/modprobe dummy
You need to load mod "dummy" and possibly (for me) needed a reboot.
2. VLANs
Code: [Select]
auto eno1
iface eno1 inet manual
bridge-access 90
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 10 90
auto vmbr0.10
iface vmbr0.10 inet manual
address 10.10.25.2/24
auto vmbr0.90
iface vmbr0.90 inet manual
address 31.xxx.xxx.57/24
gateway 31.xxx.xxx.1
auto vmbr0.90
iface vmbr0.90 inet6 manual
address 2a0a:xxxx:0:xxx::57/64
gateway 2a0a:xxxx:0:xxx::1
Then you can assign two times vmbr0 to the VM and set VLAN-ID 90 for the WAN interface, and VLAN-ID 10 for the LAN one.