From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id D07F9D73E for ; Sun, 16 Jul 2023 08:30:41 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A6C7335D0 for ; Sun, 16 Jul 2023 08:30:11 +0200 (CEST) Received: from nsmtp.uni-koblenz.de (nsmtp.uni-koblenz.de [141.26.64.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Sun, 16 Jul 2023 08:30:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id 643F91A0029; Sun, 16 Jul 2023 08:21:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uni-koblenz.de; h=content-transfer-encoding:content-type:content-type :in-reply-to:from:from:content-language:references:subject :subject:user-agent:mime-version:date:date:message-id:received :received:received; s=mail; t=1689488474; x=1691302875; bh=elrS/ xVHChckfsFFU4uLFjQYH8WjtjSXcPm7p4t/lqM=; b=PeOhiG08Pb2cEfDe2vsEy 6HsNWTHNgROoJHBbnwHbJTHEMUPUqJqQ5zps5NlA7z19TdkdTW9pPZFcmX4zDnWx u5WXkBLHKAo0HxXDWN/tAVjPF7wZsMSpsxoIn/pp3sJ7UifZE+o8ziodLJR0mE6k 3b16axBhcO6HsLoGX50Wx0= X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RWqM_KC_npkW; Sun, 16 Jul 2023 08:21:14 +0200 (CEST) Received: from mailproxy.uni-koblenz.de (mailproxy.uni-koblenz.de [141.26.64.230]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS; Sun, 16 Jul 2023 08:21:14 +0200 (CEST) Received: from [IPV6:2001:4c80:50:127::506] (unknown [IPv6:2001:4c80:50:127::506]) by mailproxy.uni-koblenz.de (Postfix) with ESMTPSA id 3D2FD1003E2; Sun, 16 Jul 2023 08:21:14 +0200 (CEST) Message-ID: Date: Sun, 16 Jul 2023 08:21:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 To: Proxmox VE user list , Timo Veith References: Content-Language: de-DE From: Rainer Krienke In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.000 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_MISSING 0.1 Missing DMARC policy JMQ_SPF_NEUTRAL 0.5 SPF set to ?all NICE_REPLY_A -0.091 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: Re: [PVE-User] vlan setup at time of host installation X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2023 06:30:41 -0000 Hi Timo, I never searched if the installer offers a way to configure vlans. I just used the installer to get a basic system installed so I can access the system by some ip:8006. Then I manually configured /etc/network/interfaces adding bonds and vlans as needed (see man5 interfaces, "ifupdown2" pkg): Add a interface bond: iface bond0 inet manual bond-slaves enp33s0f0 enp33s0f2 # network interfaces bond-miimon 100 bond-mode 802.3ad bond-xmit-hash-policy layer3+4 bond-miiomon 100 bond-lacp-rate 1 bond-min-links 1 and then vlans with or without ips based on the bond usable to reach the host itself as well as usable for vms auto vmbr3 # vlan3 iface vmbr3 inet manual bridge-ports bond0.3 bridge-stp off bridge-fd 0 iface vmbr2 inet static vlan2 address a.b.c.d/n gateway a.b.c.e bridge-ports bond0.2 bridge-stp off bridge-fd 0 Have a nice day Rainer Am 15.07.23 um 22:25 schrieb Timo Veith: > Dear pve users, > > I am totally new to pve. Is there a recommended way to setup vlans during the installation of a host? I have found some notes about vlans in the documentation but it only describes some sections in /etc/network/interfaces but it doesn’t say when this should be done. In fact I did one of the proposed methods and I can connect to the management ip address in that vlan but I wonder if it was right how I did it. I installed from the iso, configured some ip because I didn’t find any option for using vlans in the installer and then searched through the documentation. I changed the /etc/network/interfaces and did a reboot. Where after I was able to connect to the ip address that I configured. However in the console I can still read „use blabla ip and port 8006“ which is the ip I used during the installation. > > Cheers > Timo > > > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user -- Rainer Krienke, Universität Koblenz Zentrum für Informations- und Medientechnologien (ZIMT), Raum A022 Universitaetsstrasse 1 56070 Koblenz Briefanschrift: Postfach 201602, D-56016 Koblenz Tel: +49 261 287 1312, Fax +49 261 287 100 1312 PGP: http://userpages.uni-koblenz.de/~krienke/mypgp.html