create_virtual_ip
Create a virtual IP on a pfSense interface with support for CARP, IP alias, proxy ARP, and other modes. Set interface, subnet, and apply immediately.
Instructions
Create a virtual IP address
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | VIP mode (ipalias, carp, proxyarp, other) | |
| type | No | Address type (single, network) | single |
| vhid | No | VHID group number (required for CARP, 1-255) | |
| descr | No | Optional description | |
| subnet | Yes | IP address for the virtual IP | |
| advbase | No | Advertisement base frequency for CARP (1-254 seconds) | |
| advskew | No | Advertisement skew for CARP (0-254, lower = higher priority) | |
| password | No | CARP password (required for CARP) | |
| interface | Yes | Interface to assign the VIP to (wan, lan, opt1, etc.) | |
| subnet_bits | Yes | Subnet mask bits (e.g., 32 for single host, 24 for /24) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||