From owner-freebsd-questions@FreeBSD.ORG Sat Aug 2 02:24:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2C811B5 for ; Sat, 2 Aug 2014 02:24:38 +0000 (UTC) Received: from frv197.fwdcdn.com (frv197.fwdcdn.com [212.42.77.197]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 99C84284D for ; Sat, 2 Aug 2014 02:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Cc:To:Subject:From:Date; bh=KoEWvNrOWm6M8OVmShQCQtHKrkBh5ZblsD6TYFp0W1M=; b=qKBLrlwVsdP9G2bq3Ljd/gAAbqJTZoy3ySxgvYaLFJmUbg1iaC2y57tWzJOzSUbNRvnjthQBHmeSO20dE622IgRNGLfZQo5A404IPX11DjhwiOYNaTYAJsfT6Dss0XZUJ1Qavx5uByREBaTtX4dbam+no2CLHAiJ5vefhwN4ukg=; Received: from [10.10.10.35] (helo=frv35.fwdcdn.com) by frv197.fwdcdn.com with smtp ID 1XDOzi-0007Cd-7R for freebsd-questions@freebsd.org; Sat, 02 Aug 2014 05:24:26 +0300 Date: Sat, 02 Aug 2014 05:24:25 +0300 From: Vladislav Prodan Subject: Re[2]: vlan address-aliassing not working To: wp1160256-paul X-Mailer: mail.ukr.net 5.0 Message-Id: <1406945831.474791275.vbuuf04w@frv35.fwdcdn.com> In-Reply-To: <1634671217.97151.1406826685276.open-xchange@app02.ox.hosteurope.de> References: <20140731123414.388112e1@paul-pc.mbnet.de> <1406825080.567617631.8yxkvawh@frv35.fwdcdn.com> <1634671217.97151.1406826685276.open-xchange@app02.ox.hosteurope.de> MIME-Version: 1.0 Received: from universite@ukr.net by frv35.fwdcdn.com; Sat, 02 Aug 2014 05:24:25 +0300 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary Content-Disposition: inline Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2014 02:24:39 -0000 Reread your first letter. Show the output of: uname -a. One of the options - you forgot to describe vlan tag: #create_args_vlan0="vlan 102" # vlan tag for vlan0 device create_args_50="vlan 50" create_args_150="vlan 150" The second option - you would use the interfaces form em0.50 or em0_150? Then, just after cloned_interfaces: cloned_interfaces="em0.50 em0.150" ifconfig_em0_100="up" ... --- Original message --- From: "wp1160256-paul" Date: 31 July 2014, 20:11:26 > > Thanks, > I read, it works with other names of the vlans, but why not with these? > Isn't this the new default of the vlannames? > > Greetings Paul > > > Vladislav Prodan hat am 31. Juli 2014 um 18:48 geschrieben: > > > > > > > > > > > > --- Original message --- > > From: "Paul Blockhaus" > > Date: 31 July 2014, 13:35:18 > > > > > > > > > Hello Guys, > > > > > > recently I set up ezjail on my UTM and made aliasses for my vlan, so > > > far no problems, but after reboot the aliases for the vlans hasn't been > > > recreated, only for the physical non-vlan NICs. > > > Any Ideas why the aliases weren't created, is it my mistake? > > > > > > Greetings Paul > > > > > > my /etc/rc.conf: > > ... > > > ifconfig_em0="inet 192.168.1.1 netmask 255.255.255.0" > > > vlans_em0="50 150" > > > ifconfig_em0_50="inet 192.168.2.1 netmask 255.255.255.0" > > > ifconfig_em0_150="inet 192.168.6.1 netmask 255.255.255.0" > > ... > > > ifconfig_em0_alias0="inet 192.168.1.2 netmask 255.255.255.0" > > > ifconfig_em0.50_alias0="inet 192.168.2.3 netmask 255.255.255.0" > > > ifconfig_em0_150_alias0="inet 192.168.6.2 netmask 255.255.255.0" > > > > > > Use the following settings: > > cloned_interfaces="vlan50 vlan150" > > > > ifconfig_vlan50="inet 192.168.2.1/24 vlan 50 vlandev em0 mtu 1500 up" > > ifconfig_vlan150="inet 192.168.6.1/24 vlan 150 vlandev em0 mtu 1500 up" > > > > ifconfig_em0_alias0="inet 192.168.1.2/24" > > ifconfig_vlan50_alias0="inet 192.168.2.3/24" > > ifconfig_vlan150_alias0="inet 192.168.6.2/24" > > > > > > > > -- > > Vladislav V. Prodan > > System & Network Administrator > > support.od.ua > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- Vladislav V. Prodan System & Network Administrator support.od.ua