Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2008 02:44:53 -0700
From:      Rudy <crapsh@monkeybrains.net>
To:        freebsd-net@freebsd.org
Subject:   carp and vlan at the same time?
Message-ID:  <483FCC95.5060401@monkeybrains.net>

next in thread | raw e-mail | index | archive | help

Dear NET,

I have some questions!

[1] vlan & carp
I have 10.3.1.1/24  10.3.2.1/25 and a 10.3.3.129/25 as gateway IPs each in their own vlan.
How do I get CARP working, or are people using another method to get failover working?

[2] carp
Is there a way to get around the requirement to already have an IP in the same network as the IP 
you want to put on a carp device?   I don't think freevrrp required another IP...  For example, 
this command fails:
# ifconfig carp1 vhid 31 advbase 1 pass TEST 10.3.3.1/24
ifconfig: ioctl (SIOCAIFADDR): Can't assign requested address

Unless I put a 10.3.3.2/24 IP on my em0, and then make the carp IP 10.3.3.1/32.

[3] vlan
Final questions: is there any documentation on the "ifconfig em0.99 create" syntax?
Didn't find the dot notation in the man page.  Also, how do you set that up in your rc.conf?

  cloned_interfaces="em0.99"   # works.. clone is created
  ifconfig_em0.99="10.99.0.1/24"  # doesn't work... /etc/rc.d/netif start em0.99 doesn't work...



Thanks in advance,
Rudy




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?483FCC95.5060401>