We are having trouble with our bonded NICs + vlan + bridged network configuration. We have a blade server running RHEL6, and are trying to set up the networking for KVM virtualisation.
The blade server has 2 NICs (p2p1 and p2p2) which connect to the internal blade chassis 10 Gb switches. We want to bond the 2 blade NICs and setup
- default vlan (vlan 1) for our production network (172.16.x.x) assigned via DHCP, and
- vlan 3 on our storage network (192.168.10.x) statically assigned.
There is an added complication that the KVM guests need to connect to our production network, and so we also need a bridge on the production network.
The problem comes when we try to set up a bridged network connection for the default vlan (vlan 1). For example we might try modifying bond0 and adding br0 as described here.
However, br0 never obtains an IP over DHCP. We know it’s not a DHCP issues since DHCP works fine if we set it up directly on bond0, but that’s not a bridge interface so the VMs can’t use it.
How should we configure the interfaces for both vlan 3 (storage) and default vlan for KVM guests and administration?
An incompatibility between Cisco Rapid Spanning Tree and our blade centre switches led to our network engineers changing the design, so the question no longer applies. However, I found the following discussions informative and they may help others in future.