VLAN + CARP ?

Julien Cigar julien at perdition.city
Mon Feb 27 23:30:01 UTC 2017


Hello,

I wondered if it is possible to use CARP with VLAN interfaces?

Would something like this work (on 10.3)..?:

= /etc/rc.conf ============

vlans_em0="neta netb"
create_args_neta="vlan 101"
create_args_netb="vlan 102"

ifconfig_em0_neta="inet 192.168.1.253/24"
ifconfig_em0_netb="inet 10.209.1.253/24"

ifconfig_em0_neta_alias0="inet vhid 3 advskew 10 pass xx alias 192.168.2.254/32"
ifconfig_em0_netb_alias0="inet vhid 4 advskew 10 pass xx alias 10.209.1.254/32"

===========================

Thanks!

Julien


-- 
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20170228/d15d98f6/attachment.sig>


More information about the freebsd-net mailing list