if (is_ipaddrv4($vip['subnet'])) { /* Ensure a IP on this interface exists prior to configuring CARP. */ $ww_subnet_ip = find_interface_ip($realif); if (!is_ipaddrv4($ww_subnet_ip)) { file_notice("CARP", sprintf(gettext("Sorry but we could not find a required assigned ip address on the interface for the virtual IP address %s."), $vip['subnet']), "Firewall: Virtual IP", ""); return; }
#!/bin/sh/sbin/ifconfig bridge0 vhid 50 advbase 30 advskew 100 pass mypass alias 192.168.50.2/24