Created
October 8, 2019 13:35
-
-
Save silenius/b237565b0d181248ff80ea296e5537db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MACHINE 1 | |
ifconfig_igb0="inet 10.11.12.89 netmask 255.255.255.224 -tso" | |
ifconfig_igb0_alias0="inet vhid 53 advskew 0 pass xxx alias 193.x.x.90/32" | |
ifconfig_igb1="inet 10.11.12.90 netmask 255.255.255.224 -tso" | |
ifconfig_igb1_alias0="inet vhid 54 advskew 0 pass xxx alias 193.x.x.92/32" | |
# MACHINE 2 | |
ifconfig_igb0="inet 10.11.12.91 netmask 255.255.255.224 -tso" | |
ifconfig_igb0_alias0="inet vhid 53 advskew 100 pass xxx alias 193.x.x.90/32" | |
ifconfig_igb1="inet 10.11.12.92 netmask 255.255.255.224 -tso" | |
ifconfig_igb1_alias0="inet vhid 54 advskew 100 pass xxx alias 193.x.x.92/32" | |
# PF on both MACHINE 1 and MACHINE 2 | |
CARPvhid53="193.x.x.90" | |
CARPvhid54="193.x.x.92" | |
nat on igb0 from { $net1 } to any -> $CARPvhid53 | |
nat on igb1 from { $net2 } to any -> $CARPvhid54 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment