Hi.
I have a SAN set up for vm storage. It consists of two bonded nics on my nodes, as well as on a qnap NAS.
(FWIW, each NIC goes to a dedicated switch, and the two switches are bridged.)
I'd like to set up a FreeNAS VM and give it access to the SAN network.
I thought I might be able to just create a bridge that includes the bond, but every way I've tried to do this results in the SAN becoming unreachable.
Here is my latest attempt:
This was set up via the GUI, and maybe it's not possible to do what I want that way.
As you can see, I get the above error in my logs, which I presume is responsible for the SAN becoming unreachable.
I've given the VM's interface an address of 10.5.2.1, but I'm unable to ping the host node on .253.
I'm wondering if I'm going about this at in the right way, and, if so, what change I need to make in order for this to work.
Thanks in advance.
I have a SAN set up for vm storage. It consists of two bonded nics on my nodes, as well as on a qnap NAS.
(FWIW, each NIC goes to a dedicated switch, and the two switches are bridged.)
I'd like to set up a FreeNAS VM and give it access to the SAN network.
I thought I might be able to just create a bridge that includes the bond, but every way I've tried to do this results in the SAN becoming unreachable.
Here is my latest attempt:
Code:
auto lo
iface lo inet loopback
iface enp1s0f0 inet manual
iface enp135s0 inet manual
iface enp136s0 inet manual
iface enp131s0f0 inet manual
iface enp1s0f1 inet manual
iface enp131s0f1 inet manual
iface enp1s0f1:0 inet manual
auto bond0
iface bond0 inet static
address 10.5.1.253
netmask 255.255.255.0
slaves enp131s0f0 enp131s0f1
bond_miimon 100
bond_mode balance-rr
#10Gbe SAN Bond
auto vmbr0
iface vmbr0 inet static
address 10.5.0.253
netmask 255.255.255.0
gateway 10.5.0.1
bridge_ports enp1s0f0
bridge_stp off
bridge_fd 0
#LAN Bridge
auto vmbr1
iface vmbr1 inet manual
bridge_ports enp1s0f1
bridge_stp off
bridge_fd 0
#WAN Bridge
auto vmbr2
iface vmbr2 inet static
address 10.5.2.253
netmask 255.255.255.0
bridge_ports bond0.10
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
proxmox-3:~# tail -n 100 /var/log/messages |grep -i own
Oct 10 09:59:15 ads-120elm-proxmox-3 kernel: [ 40.572150] vmbr2: received packet on bond0 with own address as source address (addr:a0:36:9f:51:5b:60, vlan:1)
This was set up via the GUI, and maybe it's not possible to do what I want that way.
As you can see, I get the above error in my logs, which I presume is responsible for the SAN becoming unreachable.
I've given the VM's interface an address of 10.5.2.1, but I'm unable to ping the host node on .253.
I'm wondering if I'm going about this at in the right way, and, if so, what change I need to make in order for this to work.
Thanks in advance.