Dual LAN for networking hardware failover



  • Hi all,

    I've searched through the forum for an answer but wasn't able to find one :-(.

    Does pfSense (so freeBSD) supports dual LAN  configuration for networking equipment failover, like it is commonly used on linux or windows system.

    I have one pfsense box that have a WAN interface and two LAN interfaces. Each lan interface is connected to a switch.What would be good to happen is that when switch 1 dies, LAN interface 1 goes down and LAN interface 2 goes up with the same configuration as LAN interface 1 (same IP/netmask). On that LAN, all servers have two cards connected to each switch so a switch death would not be an issue….

    Is there a package doing this or is it included in freeBSD kernel.

    Thx for your answers.

    Bye.



  • Hmm…is this a gateway interface, or does it just need to be a host on the network?

    You could just assign both interfaces host IP's on that same network.  If it's a gateway, I have to admit that I've never tried, but theoretically you could set both interfaces up on a carp cluster on the same box.

    That would be awkward though.  Not only would the interface have to die, the OS would need to know that the interface is down in order to tell the other interface to come up.  I think.

    Pick a uniqueVHID, set one to master, one to slave and give it a whirl.  Can't hurt.  Each one will need it's own IP, and then a "virtual" IP.



  • @Juve:

    Hi all,

    I've searched through the forum for an answer but wasn't able to find one :-(.

    Does pfSense (so freeBSD) supports dual LAN  configuration for networking equipment failover, like it is commonly used on linux or windows system.

    I have one pfsense box that have a WAN interface and two LAN interfaces. Each lan interface is connected to a switch.What would be good to happen is that when switch 1 dies, LAN interface 1 goes down and LAN interface 2 goes up with the same configuration as LAN interface 1 (same IP/netmask). On that LAN, all servers have two cards connected to each switch so a switch death would not be an issue….

    Is there a package doing this or is it included in freeBSD kernel.

    Thx for your answers.

    Bye.

    This can be accomplished in OpenBSD easily with their trunk(4) code (in fact they have examples on how to bond a wireless and ethernet card together so that you can use either automagically depending on proximity to your AP or ethernet).  I can't comment on FreeBSD, but I suspect you'll find that there's a netgraph(3) module that accomplishes this.  At this time pfSense cannot do this, the underlying OS may or may not be able to, I don't know.

    –Bill



  • Thx for the infos

    I'm not going to set it up right now, but was just thinking about… it's better to know if it is possible before buying hardware ;-).


Locked