On 2015-03-14, pixelfairy <[email protected]> wrote:
> OpenBSD r0 5.6 GENERIC#0 i386
> soekris net6501, dmesg below
>
> r0:/etc# cat hostname.trunk1
> trunkproto failover trunkport em4 trunkport em5
> up
> r0:/etc# cat hostname.vlan111
> inet 10.1.11.2 255.255.255.0 10.1.11.255 vlandev trunk1
> up
> r0:/etc# cat hostname.carp111
> inet 10.1.11.1 255.255.255.0 10.1.11.255 vhid 111 carpdev vlan111 pass ***
> r0:/etc# ifconfig carp111 10.1.11.1 netmask 255.255.255.0 vhid 111
> carpdev vlan111 pass ***
> ifconfig: SIOCAIFADDR: Can't assign requested address
>
> the trunk and vlans work fine. its the carp part thats not. is this
> possible? if so, how? ive tried google, but my search skills are weak.

Set carpdev/vhid/pass before you set the address.

# cat /etc/hostname.carp165
vhid 165 pass lalala carpdev vlan165
group office
inet 172.24.12.1/23

Reply via email to