From owner-freebsd-questions@freebsd.org Fri Sep 22 07:18:46 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F335E1B88F for ; Fri, 22 Sep 2017 07:18:46 +0000 (UTC) (envelope-from jornane@fyrkat.no) Received: from epost.ufisa.uninett.no (epost.ufisa.uninett.no [IPv6:2001:700:1:2::152:65]) by mx1.freebsd.org (Postfix) with ESMTP id CE894816E9 for ; Fri, 22 Sep 2017 07:18:45 +0000 (UTC) (envelope-from jornane@fyrkat.no) Received: from feniks.local (unknown [IPv6:2001:700:1:111:8102:3e3d:f7f0:14df]) by epost.ufisa.uninett.no (Postfix) with ESMTPSA id 17880D20302; Fri, 22 Sep 2017 09:18:35 +0200 (CEST) To: freebsd-questions@freebsd.org From: freebsd@jornane.me Subject: Using IP aliases on a VLAN interface Message-ID: Date: Fri, 22 Sep 2017 09:18:40 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2017 07:18:46 -0000 I'm trying to set up aliases on a VLAN interface. My rc.conf looks like this: # /etc/rc.conf vlans_igb0="vlan42" create_args_vlan42="vlan 42" ifconfig_igb0="up" ifconfig_vlan42="inet6 2001:db8::42 prefixlen 64 mtu 1500" ifconfig_vlan42_aliases="\ inet6 fd00::dead:beef prefixlen 64 \ inet6 2001:db8::babe:cafe prefixlen 128 \ " However, after a reboot, a vlan42 interface shows up with only 2001:db8::42 as IP address. The aliases do not show up, and any services I've explicitly configured to listen on them fail to start. After boot, I can run ipconfig to add the same aliases by hand, and then everything works fine. But I'd prefer a solution that works at boot. -- Jørn Åne