Skip to content

Instantly share code, notes, and snippets.

@silenius
Created October 8, 2019 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silenius/4f6173a9b6690292c2174ab3bb89d292 to your computer and use it in GitHub Desktop.
Save silenius/4f6173a9b6690292c2174ab3bb89d292 to your computer and use it in GitHub Desktop.
# MACHINE 1
ifconfig_igb0="inet 193.x.x.89 netmask 255.255.255.224 -tso"
ifconfig_igb0_alias0="inet vhid 53 advskew 0 pass xxx alias 193.x.x.90/32"
# MACHINE 2
ifconfig_igb0="inet 193.x.x.91 netmask 255.255.255.224 -tso"
ifconfig_igb0_alias0="inet vhid 53 advskew 100 pass xxx alias 193.x.x.90/32"
# PF on both MACHINE 1 and MACHINE 2
CARPvhid53="193.x.x.90"
nat on igb0 from { $net1, $net2 } to any -> $CARPvhid53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment