im Looking into virtualize my Router over Proxmox and have it up and running just fine...beside that i won't get a wan-ip from my ISP "Wingo"
What I know:
my previous router, a fritzbox with factory defaults get a ip assigned
-lan-site is working fine
-ISP assignes with DHCP
-have free router choosing but says it need to be certified ADSL or G.Fast Modem
-im over DSL (Copper)
Running openwrt in a vm is not usually the easiest option as it requires correct configuration of the upstream environment (the supervisor/hypervisor and the host).
A simple test: if connect the lan port of another router to the wan port of your machine with the vm. Does it get an address via dhcp? If yes, the problem is related to the isp/modem upstream. If not, it is the host/vm environment that needs to be fixed.
I would first check on proxmox if that works first.
You have commands like:
ip route and ifconfig which could give you some hints, then you can also try some pinging if needed.
My guess is that you have to tag vlan 10 there aswell or if an isp modem is still upstream not use vlan 10 on proxmox, once you figured that works then you can progress further down stream on the vms.
imo on my own proxmox instance I decided to go with vmbr0 as a full vlan aware bridge, on the vms you can break the vlans up like pcie interfaces with the ens naming.
Here is a example for proxmox:
auto lo
iface lo inet loopback
auto enp1s0
iface enp1s0 inet manual
auto enp2s0
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge-ports enp1s0 enp2s0
bridge-stp on
bridge-fd 0
bridge-vid 1
bridge-vlan-aware yes
bridge-vids 2-4094
bridge-bridgeprio 300
Likely it is possible depending how your ifaces are named, that you need an enp1s0.10, enp1s0 could be different named for you, you will see it appear then in ifconfig/or ip route if that route didn't exist, it needs to start there
This means your openwrt setup (and the host/vm supervisor) is broadly correct.
Sometimes your modem needs to be rebooted. Or you might need to ask your isp to update the registered MAC address (alternatively you can clone the old mac into the new router).
This all assumes your is uses dhcp and no VLANs. If it requires something else, you need to adjust your openwrt config.
But ask your isp for help verifying that you have the correct config and the like.
Sometimes your modem needs to be rebooted. Or you might need to ask your isp to update the registered MAC address (alternatively you can clone the old mac into the new router).
Did both but no luck
This all assumes your is uses dhcp and no VLANs. If it requires something else, you need to adjust your openwrt config.
If my fritzbox 7590 is working with default config and gets an ip, can i check somehow whats the difference between openwrt dhcp discovery message and fritzbox? like analyze it with wireshark?
Also i did not setup VLAN on the Fritzbox and i get the IP, so no VLAN needed on openwrt ether?
I also checked the wiki about ISP-config but Wingo isnt there sadly.
This look good, then you need to check the vm, you may add a network device to this vm with just vmbr0, if you want it directly on this 192.168.212.0/24 subnet.
You could name it eth1 or eth0 in OpenWrt this will then be your DSA device for wan.
for lan devices you can decide if you bring them up virtual in OpenWrt more of a dummy interface, or actually also passthrough devices from proxmox to reflect psysical lans.
^ note if that is the case to reflect the real lan ports, you may want to choose not to use bridge vmbr0, but rather enp3s devices directly often they show as manual in /etc/network/interfaces you want dhcp, vlans seem not to be required from what I could gather from the screen shot
Note that the mac address block can re-occur because a different device requests dhcp.
Fon't know how I forgot that....somehow I just was not thinking about that after 20 hours debugging.
As I dont have another modem right now I'll wait with openwrt till I got my fiber in 2 weeks. for that I got a mediaconverter who can be directly plugged in into the proxmox system.
Thanks to all of you guys for your inputs und fast help.