Proxmox and DHCP over vmbr.

Upgreydd

Renowned Member
Apr 9, 2015
1
0
66
Hello,I have a problem with my VE.
I have two physical servers (NodeA and NodeB) with DRBD.
I have 8 phisical ethernet cards in each physical machine (same configuration).
eth0, eth1 -> vmbr0 (VLAN 1 - 192.168.1.0/24)
eth2, eth3 -> vmbr1 (VLAN 2 - 192.168.2.0/24)
eth4, eth5 -> vmbr2 (VLAN 3 - 192.168.3.0/24)
eth6, eth7 -> vmbr3 (VLAN 4 - 192.168.4.0/24)
I created KVM machine with 4 virtio cards. Each card is linked other vmbr:
eth0 (192.168.1.1/24) -> vmbr0
eth1 (192.168.2.1/24) -> vmbr1
eth2 (192.168.3.1/24) -> vmbr2
eth3 (192.168.4.1/24) -> vmbr3
This KVM should work as a DHCP server, but it won't pass DHCP to physical clients in each VLAN.
I've added: "post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp" to each virtio eth0..3 then DHCP works in VLAN1 (eth0) but it won't pass DHCP lease to other VLAN's why?

Please help me.
BR.
 
Last edited:
eth0, eth1 -> vmbr0 (VLAN 1 - 192.168.1.0/24)
eth2, eth3 -> vmbr1 (VLAN 2 - 192.168.2.0/24)
eth4, eth5 -> vmbr2 (VLAN 3 - 192.168.3.0/24)
eth6, eth7 -> vmbr3 (VLAN 4 - 192.168.4.0/24)
2 NICs form always a bond? Are these tagged VLANs?

This KVM should work as a DHCP server, but it won't pass DHCP to physical clients in each VLAN.
I've added: "post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp" to each virtio eth0..3 then DHCP works in VLAN1 (eth0) but it won't pass DHCP lease to other VLAN's why?

There can be a lot of reasons why it´s not working - follow the packets via tcpdump.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!