j***@millican.us
2013-06-17 15:59:33 UTC
Hello,
Here is my layout:
Two pfSense boxes with Carp for HA on WAN
LAN1 and LAN2 on both pfSense configured with CARP Addresses for HA
One HP V191016G switch connected to LAN1 of each pfSense box
One HP V191016G switch connected to LAN2 of each pfSense box
Currently LAN1 is assigned an address in the 192.168.100.0/24 subnet and
LAN2 is assigned an address in the 192.168.101.0/24 subnet so that I can
have two separate networks with Identical VMs in each network load
balanced for HA of the VMs. While this scenario has been working
relatively well there have been some issues that have come up when using
the VM provisioning controllers.
So, I would like to be able to have, for example, one VM assigned the IP
of 192.168.100.100 connected to switch one and another VM assigned
192.168.100.101 connected to switch two. These would then be be load
balanced but built in such a way that all VMs with odd numbered IPs are
physically connected to switch one and VMs with even numbered IP are all
on switch two. This way if a port fails anywhere, traffic will still
flow to at least one of the VMs. Yes, if I loose one of the VMs under
heavy load the response time may suffer but slow response is better than
no response. As a side note I really do not want to get involved with
Spanning tree if I can avoid it and based on my limited exposure doesn't
sound like an option here anyway.
I am thinking I should bridge the LAN1 and LAN2 interfaces, this way
they can both be in the same subnet and route traffic through the
appropriate switch. I have seen a number of Google posts though that
say this may cause an L2 loop which I obviously need to avoid and
believe I would since there would still only be one path to each VM,
either through switch one or through switch two which are NOT up-linked
to each other.
I originally though I might set up the LAN1 and LAN2 interfaces of each
pfSense box with LAGG but I do not want the interfaces to load balance
the traffic and based on the information found here
http://doc.pfsense.org/index.php/LAGG_Interfaces LAGG seems to always
use some sort of load balance or fail over on the interfaces which means
traffic pointed to 192.168.100.100 could conceivably sometimes leave on
the first interface of the bridge and other times the second interface.
Could I be missing a much simpler and more elegant solution?
Thank You,
JohnM
Here is my layout:
Two pfSense boxes with Carp for HA on WAN
LAN1 and LAN2 on both pfSense configured with CARP Addresses for HA
One HP V191016G switch connected to LAN1 of each pfSense box
One HP V191016G switch connected to LAN2 of each pfSense box
Currently LAN1 is assigned an address in the 192.168.100.0/24 subnet and
LAN2 is assigned an address in the 192.168.101.0/24 subnet so that I can
have two separate networks with Identical VMs in each network load
balanced for HA of the VMs. While this scenario has been working
relatively well there have been some issues that have come up when using
the VM provisioning controllers.
So, I would like to be able to have, for example, one VM assigned the IP
of 192.168.100.100 connected to switch one and another VM assigned
192.168.100.101 connected to switch two. These would then be be load
balanced but built in such a way that all VMs with odd numbered IPs are
physically connected to switch one and VMs with even numbered IP are all
on switch two. This way if a port fails anywhere, traffic will still
flow to at least one of the VMs. Yes, if I loose one of the VMs under
heavy load the response time may suffer but slow response is better than
no response. As a side note I really do not want to get involved with
Spanning tree if I can avoid it and based on my limited exposure doesn't
sound like an option here anyway.
I am thinking I should bridge the LAN1 and LAN2 interfaces, this way
they can both be in the same subnet and route traffic through the
appropriate switch. I have seen a number of Google posts though that
say this may cause an L2 loop which I obviously need to avoid and
believe I would since there would still only be one path to each VM,
either through switch one or through switch two which are NOT up-linked
to each other.
I originally though I might set up the LAN1 and LAN2 interfaces of each
pfSense box with LAGG but I do not want the interfaces to load balance
the traffic and based on the information found here
http://doc.pfsense.org/index.php/LAGG_Interfaces LAGG seems to always
use some sort of load balance or fail over on the interfaces which means
traffic pointed to 192.168.100.100 could conceivably sometimes leave on
the first interface of the bridge and other times the second interface.
Could I be missing a much simpler and more elegant solution?
Thank You,
JohnM