• CARP + LAGG + Switch Stack

    2
    0 Votes
    2 Posts
    1k Views
    jimpJ

    If the CARP VIP is on the lagg interface, the link status of the lagg and thus CARP VIP should only flip if both NICs die.

  • How to increase usable IP for DHCP LAN?

    5
    0 Votes
    5 Posts
    5k Views
    M

    If you have a Layer 3 switch, or any switch that supports VLAN and 802.1Q you can create additional LAN networks that can be individual /24's.

    I wouldn't suggest using a LAN block larger than a /24 as you can run into performance/stability issues with broadcasts overwhelming all hosts on the network. Instead, carve up that /22 into multiple blocks like so:

    192.168.0.0/22:

    192.168.0.0/24 - 192.168.0.1-254
    192.168.1.0/24 - 192.168.1.1-254
    192.168.2.0/24 - 192.168.2.1-254
    192.168.3.0/24 - 192.168.3.1-254

    This will also give you the ability to segment your network, and will make overall management easier. You can even split those /24 blocks into smaller network blocks so you can keep servers, management IP's, VIP's, VPN users, etc.. separate and firewalled across LAN's.

    For example, with the blocks above, we want to further segment the first block.

    First split them into two /25's:

    192.168.0.0/24:

    192.168.0.0/25 - 192.168.0.1-126
    192.168.0.128/25 - 192.168.0.129-254

    Then we can split the second block into two smaller, /26 blocks:

    192.168.0.128/26 - 192.168.0.129-190
    192.168.0.192/26 - 192.168.0.193-254

    Yes you 'lose' a few IP's in each network for subnet, broadcast, and gateway IP's, but overall it's a great solution to optimally use your IP blocks.

    Hope this helps!

  • Multiple WAN IPs and XenServer

    2
    0 Votes
    2 Posts
    2k Views
    M

    There's three ways to do this:

    1. Create a 1:1 NAT which maps External IP 1 to Internal VM IP 1, and so on. Your VM's would have LAN addresses assigned to them and would sit behind the firewall.

    2. Create a bridge connection between ISP and your XS farm. You will need an additional interface, VLAN or physical, and would have to place the internal bridge interface on your XS host/vlan. This isn't an optimal configuration so I wouldn't recommend it.

    3. Ask the ISP to route traffic for your IP block to you via a transit link (preferably a private address subnet /29 or /30) and use your pfsense box to route traffic for your networks. You can create an internal LAN net, and a DMZ network as physical or VLAN interfaces (although I would recommend separate interfaces).

  • CARP fails after few hours

    2
    0 Votes
    2 Posts
    2k Views
    R

    Hi,

    how about checking the switch where the pfsense connected and lastly the LAN card.
    If it's still the same after isolation above, try other motherboard.

    Hope this can help you.

    Thanks

  • Public ip address as carp

    4
    0 Votes
    4 Posts
    2k Views
    T

    its a goog idea to use alias ip with /32 on both server? the routing goes every time to the active firewall. if not we must nat on the upstream firewall.

  • [Solved] Public /25 Network with Virtual IP (other) and NAT

    2
    0 Votes
    2 Posts
    1k Views
    A

    Hi,

    I have solved the problem! You must begin with the subnet addresses!

    e.g. xxx.yyy.99.128/25

    128 is my network subnet address
    255 is my broadcast address
    129 is the gateway
    130 have i configured for the WAN2 Interface address 130/25

    When I go to Virtual IP add „other” select dropdown „network“ and type xxx.yyy.99.131 /25 then only the first IP 131 work!
    When I type  xxx.yyy.99.128 /25 all works so if it should :-)

    Regards Andreas

  • Issue identifying proper LAGG with two switches and bonded client NICs

    3
    0 Votes
    3 Posts
    2k Views
    K

    So nothing you are aware of actually goes 10gb?

  • CARP Not syncing correctly?

    3
    0 Votes
    3 Posts
    2k Views
    C

    You have configured FW1 to sync its states via the SYNC interface, using the the LAN IP Address of FW2..  Leave this field blank on BOTH firewalls.  Also, you'll need to make sure that you have a rule on SYNC that permits pfSync traffic from SYNC subnet to SYNC Address.

    On any interface(s) with CARP, ensure that you specify a rule that says 'permit carp from LAN subnet to LAN address'.

    On your LAN, you may also want to add a 'permit tcp from LAN subnet to LAN address on port 519' to ensure that the DHCP Fail-over communications are permitted through.

    Other than that, it looks correct.

  • Carp - Virtual IP's not Syncing

    4
    0 Votes
    4 Posts
    4k Views
    jimpJ

    @brian.stivala Your additional VIPs inside the WAN subnet or LAN subnet should be CARP VIPs in this case, NOT proxy ARP or IP alias.

    @dotdash:

    Only CARP VIPS are sync'd. Alias IP's are not. You should add all your VIPs as CARP. If you have additional routed subnets, you may need to add an alias IP on the secondary subnet on each box, then add the rest as CARP.

    Not quite that simple.

    Proxy ARP - Never Syncs CARP - Always Syncs Other type - Always Syncs IP alias bound to normal interface - Will not sync IP alias bound to a CARP VIP as its interface - Will sync IP alias bound to localhost (2.1+) - Will sync

    See here: http://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses%3F

  • [SOLVED] Multiple DHCP WAN IPs

    2
    0 Votes
    2 Posts
    3k Views
    L

    This is solved, and where actually surpricingly easy.

    Added the VIP as static IP, next I created an NAT rule, where the source = the DMZ network, and the NAT address is = VIP.
    Voila, solved. :)

    Now ingoing traffic to both IPs is working, and client and dmz have different outgoing IP addresses. cooool  ;D

  • Comcast Modem and CARP

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Carp, one vm machine (master) and one physical machine (secondary)

    13
    0 Votes
    13 Posts
    4k Views
    K

    why not assign a static IP to the management interface of ESX so that you can always connect to ESX.

    then configure your pfsense to boot first in ESX, and add a startup delay on the other VMs so that when they boot pfsense is already up?

  • LAN Server Load Balancing w/VIP - not working

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    3k Views
    No one has replied
  • Proxy Arp and Ip Alias failing

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Backup Firewall Using CARP Address

    3
    0 Votes
    3 Posts
    4k Views
    M

    Thank-you, Jim.  That was the issue - I needed to tighten up my NAT rule.

  • 0 Votes
    4 Posts
    7k Views
    cmcdonaldC

    @mrzaz:

    @vbman213:

    Fixed: http://redmine.pfsense.org/issues/3075

    Thanks!

    I have just updated to the latest build (2.1-RC0 (i386) built on Tue Jul 9 23:03:10 EDT 2013" but still see
    this problem when trying to remove "IP Alias" entries.

    I get "This entry cannot be deleted because it is still referenced by at least one Gateway." when trying
    to remove one IP Alias.   (I only have one primary IP defined in the WAN-interface .51 at end
    and one VirtualIP "IP Alias"with .53 at the end. Is in same subnet as primary IP.

    The "IP Alias" was created in an earlier build from June.

    I was only doing some tests for a colleague and need to undefine the IP Alias as this IP
    is normally used in another router and is temporary disconnected so I could do the test.
    As long as this IP is now tied to pfSense it will answer ARPs and I will get an IP collision.

    Dan Lundqvist
    Stockholm, Sweden

    I would recommend posting on the issue page @ http://redmine.pfsense.org/issues/3075

  • VIP stacking methodology

    8
    0 Votes
    8 Posts
    3k Views
    B

    Binding the Alias to localhost worked a treat.  I read that you shouldn't bind it to the WAN interfaces because it'll cause an IP conflict,  I also noticed that Aliases bound on those interfaces don't sync over XMLRPC.  However, an Alias bound to localhost synchronizes as expected.

    Thanks again for all your help.  This NAT/Other VIP stuff is much quicker to configure.

  • Ifconfig throws error when adding VIP

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • MAC-Address of outgoing packets

    7
    0 Votes
    7 Posts
    5k Views
    W

    You can find the source of the net.link.ether.inet.carp_mac patch here:
    https://github.com/pfsense/pfsense-tools/blob/master/patches/RELENG_8_3/carp_correct_mac.diff
    As far as I understand, it only changes the MAC-Address of outgoing ARP-Pakets so it doesn't solve the problem.

    We managed to get around the problem by putting a linux box between the pfsense firewall and the router.
    It has no ip configuration but a bridge(like a hub) and rewrites the mac-addresses of the outgoing packets.
    The configuration looks something like this:

    brctl addbr br0 brctl addif br0 eth0 eth1 eth2 ifconfig eth0 up ifconfig eth1 up ifconfig eth2 up ifconfig br0 up ifconfig eth0 0.0.0.0 promisc ifconfig eth1 0.0.0.0 promisc ifconfig eth2 0.0.0.0 promisc ebtables -t nat -A POSTROUTING -p IPv4 --ip-src <ip3>-j snat --to-src 00:00:5e:00:01:2d ebtables -t nat -A POSTROUTING -p IPv4 --ip-src <ip4>-j snat --to-src 00:00:5e:00:01:2e</ip4></ip3>
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.