added words to replace variable sections
This commit is contained in:
@@ -6,7 +6,7 @@ My setup is the master router is physical hardware while the backup is a VM on a
|
|||||||
These scripts will set the WAN to DHCP and grab the IP, subnet, and gateway from it. From there is will set the WAN back to a static private IP, setup the CARP VIP WAN to the DHCP IP/subnet, and setup the gateway. Then once the config is copied to the backup router, the script there will update the gateway with the new address from the CARP VIP WAN description if it is different.
|
These scripts will set the WAN to DHCP and grab the IP, subnet, and gateway from it. From there is will set the WAN back to a static private IP, setup the CARP VIP WAN to the DHCP IP/subnet, and setup the gateway. Then once the config is copied to the backup router, the script there will update the gateway with the new address from the CARP VIP WAN description if it is different.
|
||||||
|
|
||||||
# Master Router
|
# Master Router
|
||||||
The opnsense-carp-dhcp-master.php should be saved to `/usr/local/etc/rc.syshook.d/start/20-opnsense-carp-dhcp-master` and made executable.
|
The opnsense-carp-dhcp-master.php should be saved to `/usr/local/etc/rc.syshook.d/start/20-opnsense-carp-dhcp-master` and made executable. Please replace the varaibles with your own values.
|
||||||
|
|
||||||
# Backup Router
|
# Backup Router
|
||||||
The opnsense-carp-dhcp-backup.php should be saved to `/usr/local/etc/rc.syshook.d/config/20-opnsense-carp-dhcp-master` and made executable. This will update the gateway IP after the config is updated.
|
The opnsense-carp-dhcp-backup.php should be saved to `/usr/local/etc/rc.syshook.d/config/20-opnsense-carp-dhcp-master` and made executable. This will update the gateway IP after the config is updated. Please replace the varaibles with your own values.
|
||||||
Reference in New Issue
Block a user