I want to use OpenWRT as a virtual router to route the trafic of my VM (I'm not sure how to make it work with vlan). I've tried everything based on my knodledge of networking but I can't figure out what's wrong with my settings.
1. I set up two Linux Bridge vmbr0 and vmbr1, and vmbr0 is the proxmox gateway with an IP address of 192.168.1.252.
2. I've created the OpenWRT vm and added two network devices eth0(vmbr0) as WAN and eth1(vmbr1) as LAN. Then eth0 got an IP address of 192.168.1.71, and via the OpenWRT webui I have enabled the DHCP Server
on the LAN.
3. Finally, on my other VM (Ubuntu) I added vmbr1 as the network device. But somehow the VM can't get an IP.
1. I set up two Linux Bridge vmbr0 and vmbr1, and vmbr0 is the proxmox gateway with an IP address of 192.168.1.252.
2. I've created the OpenWRT vm and added two network devices eth0(vmbr0) as WAN and eth1(vmbr1) as LAN. Then eth0 got an IP address of 192.168.1.71, and via the OpenWRT webui I have enabled the DHCP Server
on the LAN.
3. Finally, on my other VM (Ubuntu) I added vmbr1 as the network device. But somehow the VM can't get an IP.