public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] vlan setup at time of host installation
@ 2023-07-15 20:25 Timo Veith
       [not found] ` <mailman.238.1689454293.232.pve-user@lists.proxmox.com>
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Timo Veith @ 2023-07-15 20:25 UTC (permalink / raw)
  To: pve-user

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] vlan setup at time of host installation
       [not found] ` <mailman.238.1689454293.232.pve-user@lists.proxmox.com>
@ 2023-07-16  4:44   ` Timo Veith
  2023-07-16  8:16     ` Michael Cooper
  0 siblings, 1 reply; 5+ messages in thread
From: Timo Veith @ 2023-07-16  4:44 UTC (permalink / raw)
  To: Proxmox VE user list

[-- Attachment #1: Type: text/plain, Size: 2111 bytes --]



> Am 15.07.2023 um 22:43 schrieb Arjen via pve-user <pve-user@lists.proxmox.com>:
> 
> 
> Von: Arjen <leesteken+proxmox@pm.me <mailto:leesteken+proxmox@pm.me>>
> Betreff: Aw: [PVE-User] vlan setup at time of host installation
> Datum: 15. Juli 2023 um 22:43:37 MESZ
> An: Proxmox VE user list <pve-user@lists.proxmox.com <mailto:pve-user@lists.proxmox.com>>
> 
> 
> ------- Original Message -------
> On Saturday, July 15th, 2023 at 22:25, Timo Veith <timo.veith@uni-tuebingen.de <mailto:timo.veith@uni-tuebingen.de>> wrote:
> 
>> 
>> 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
> 
> Don't panic; you did nothing wrong. The installer is rather simple and only does the basic installation. 
> It's common to setup more complex things (like vlan) after installation. If the Proxmox GUI does not support it, or is not (yet) reachable, you do those things on the Proxmox console. 
> The console welcome message probably takes the IP address from /etc/hosts, which you also need to manually adjust to match the new IP.
> 
> Best regards
> 


Hello Arjen,

thank you for your reply. 

I understand. Do you have some more common examples of cases where you can only configure that after the GUI installation and with the console?

Greetings
Timo






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] vlan setup at time of host installation
  2023-07-15 20:25 [PVE-User] vlan setup at time of host installation Timo Veith
       [not found] ` <mailman.238.1689454293.232.pve-user@lists.proxmox.com>
@ 2023-07-16  6:21 ` Rainer Krienke
       [not found] ` <mailman.241.1689520035.232.pve-user@lists.proxmox.com>
  2 siblings, 0 replies; 5+ messages in thread
From: Rainer Krienke @ 2023-07-16  6:21 UTC (permalink / raw)
  To: Proxmox VE user list, Timo Veith

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] vlan setup at time of host installation
  2023-07-16  4:44   ` Timo Veith
@ 2023-07-16  8:16     ` Michael Cooper
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Cooper @ 2023-07-16  8:16 UTC (permalink / raw)
  To: pve-user

Hello Guys,

I don't know if this is relevant but I thought I would chime in.

This is one is for Network Bonding in Proxmox -> Nic Bonding in Proxmox 
<https://www.youtube.com/watch?v=auMugO3zsKw>

This one is Bond Nics w/VLan Support in Proxmox 
<https://www.youtube.com/watch?v=nIip66Rzt4I>


I apologize if this is not what you were wanting.

Thanks,

Michael

On 7/16/23 12:44 AM, Timo Veith wrote:
>
>> Am 15.07.2023 um 22:43 schrieb Arjen via pve-user<pve-user@lists.proxmox.com>:
>>
>>
>> Von: Arjen <leesteken+proxmox@pm.me  <mailto:leesteken+proxmox@pm.me>>
>> Betreff: Aw: [PVE-User] vlan setup at time of host installation
>> Datum: 15. Juli 2023 um 22:43:37 MESZ
>> An: Proxmox VE user list <pve-user@lists.proxmox.com  <mailto:pve-user@lists.proxmox.com>>
>>
>>
>> ------- Original Message -------
>> On Saturday, July 15th, 2023 at 22:25, Timo Veith <timo.veith@uni-tuebingen.de  <mailto:timo.veith@uni-tuebingen.de>> wrote:
>>
>>> 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
>> Don't panic; you did nothing wrong. The installer is rather simple and only does the basic installation.
>> It's common to setup more complex things (like vlan) after installation. If the Proxmox GUI does not support it, or is not (yet) reachable, you do those things on the Proxmox console.
>> The console welcome message probably takes the IP address from /etc/hosts, which you also need to manually adjust to match the new IP.
>>
>> Best regards
>>
>
> Hello Arjen,
>
> thank you for your reply.
>
> I understand. Do you have some more common examples of cases where you can only configure that after the GUI installation and with the console?
>
> Greetings
> Timo
>
>
>
>
>
>
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
-- 
*Michael Cooper*
/Systems Engineer/
Coopfire Services <http://www.coopfire.com>
From stefan.radman@me.com  Sun Jul 16 17:07:15 2023
Return-Path: <stefan.radman@me.com>
X-Original-To: pve-user@lists.proxmox.com
Delivered-To: pve-user@lists.proxmox.com
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 9AF87D7D2
 for <pve-user@lists.proxmox.com>; Sun, 16 Jul 2023 17:07:15 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 843775BD7
 for <pve-user@lists.proxmox.com>; Sun, 16 Jul 2023 17:07:15 +0200 (CEST)
Received: from qs51p00im-qukt01071501.me.com (qs51p00im-qukt01071501.me.com
 [17.57.155.4])
 (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 <pve-user@lists.proxmox.com>; Sun, 16 Jul 2023 17:07:13 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai;
 t=1689519568; bh=QXLQZTsD7K8OmF35bgAQkja4ZA5zjs+9OAD9GTyP4rs=;
 h=From:Message-Id:Content-Type:Mime-Version:Date:Subject:To;
 b=vTgYDhxawsDDDUEUCA94X5MtwsXS11tE7/BEEPgivUHjoxsXfcazUdn7MQ5LIAbvH
 2xc90AvFF6I2jUAZ4GPkbuPVTKGh7aOEDV17DSaWq1XaN/4ppB3TgAnt0+SxEd2Zgi
 h06Ae0yw0KEWSxSp+MiFTRsS/5WlP+VlE4OnJFQvoqfArS/iidS+qw0ps9K62Wczjt
 wWV+vt11HSg8k1akgUWvaryZ3w1JMaJkxBGxE3rWPHVX8/8Dx4Xg9cHGYPYPn5N3f0
 tB9kYS9d+A6wPiMJ+kyHJC3qLF8I/KjfP4gnpiW2yKOqMGV7zAxiGcEUQ0j43bsp1f
 GGffJ1dcFzTpw==
Received: from [10.0.0.15] (qs51p00im-dlb-asmtp-mailmevip.me.com
 [17.57.155.28])
 by qs51p00im-qukt01071501.me.com (Postfix) with ESMTPSA id A0EF51C407C5;
 Sun, 16 Jul 2023 14:59:27 +0000 (UTC)
From: Stefan Radman <stefan.radman@me.com>
Message-Id: <B1922D26-F5A8-4394-AD2C-DE8BF1E5272A@me.com>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Sun, 16 Jul 2023 16:59:25 +0200
Subject: Re: [PVE-User] vlan setup at time of host installation
In-Reply-To: <A177D562-9D34-4C99-8FFC-FB2D774E1334@uni-tuebingen.de>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
References: <A177D562-9D34-4C99-8FFC-FB2D774E1334@uni-tuebingen.de>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
X-Proofpoint-ORIG-GUID: RfOtGXq0d97pjh-um9WTgbSNYUwgwduy
X-Proofpoint-GUID: RfOtGXq0d97pjh-um9WTgbSNYUwgwduy
X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?=
 =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.572,17.0.605.474.0000000_definitions?=
 =?UTF-8?Q?=3D2022-01-11=5F01:2022-01-11=5F01,2020-02-14=5F11,2020-01-23?=
 =?UTF-8?Q?=5F02_signatures=3D0?=
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0
 suspectscore=0 mlxscore=0
 spamscore=0 bulkscore=0 phishscore=0 clxscore=1015 mlxlogscore=999
 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2212070000 definitions=main-2307160141
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.132 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_PASS               -0.1 DMARC pass policy
 FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider
 HTML_MESSAGE            0.001 HTML included in message
 POISEN_SPAM_PILL_4        0.1 random spam to be learned in bayes
 RCVD_IN_DNSWL_LOW        -0.7 Sender listed at https://www.dnswl.org/,
 low trust RCVD_IN_MSPIKE_H4       0.001 Very Good reputation (+4)
 RCVD_IN_MSPIKE_WL       0.001 Mailspike good senders
 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 -
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-List-Received-Date: Sun, 16 Jul 2023 15:07:15 -0000

Hi Timo

See =
https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_default_configurat=
ion_using_a_bridge =
<https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_default_configura=
tion_using_a_bridge>
3.3.4. Default Configuration using a Bridge =
<https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_default_configura=
tion_using_a_bridge>
The installation program creates a single bridge named vmbr0, which is =
connected to the first Ethernet card.=20

The Proxmox VE installer does not support vlan tagging during the =
installation.
At time of installation all traffic is untagged.

Once you have access to the management GUI (through the management IP =
address provided during installation) you can complete the network =
configuration and configure VLAN tagging.
=
https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysadmin_network_vl=
an =
<https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysadmin_network_v=
lan>
Select node > Network > Create > Linux VLAN

Stefan

> On Jul 15, 2023, at 22:25, Timo Veith <timo.veith@uni-tuebingen.de> =
wrote:
>=20
> Dear pve users,
>=20
> 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=E2=80=99t 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=E2=80=99=
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 =E2=80=9Euse blabla =
ip and port 8006=E2=80=9C which is the ip I used during the =
installation.=20
>=20
> Cheers
> Timo_______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] vlan setup at time of host installation
       [not found] ` <mailman.241.1689520035.232.pve-user@lists.proxmox.com>
@ 2023-07-17  8:17   ` Timo Veith
  0 siblings, 0 replies; 5+ messages in thread
From: Timo Veith @ 2023-07-17  8:17 UTC (permalink / raw)
  To: Proxmox VE user list

[-- Attachment #1: Type: text/plain, Size: 2919 bytes --]

Hi everyone, 

great replies! Thanks to anybody who answered! With that in my „pocket“ I will surely get further with my test installation. 

I already learned something new, because I never heard of a „vlan aware bridge“. 

Cheers and have nice day
Timo



> Am 16.07.2023 um 16:59 schrieb Stefan Radman via pve-user <pve-user@lists.proxmox.com>:
> 
> 
> Von: Stefan Radman <stefan.radman@me.com>
> Betreff: Aw: [PVE-User] vlan setup at time of host installation
> Datum: 16. Juli 2023 um 16:59:25 MESZ
> An: Proxmox VE user list <pve-user@lists.proxmox.com>
> 
> 
> Hi Timo
> 
> See https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_default_configuration_using_a_bridge <https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_default_configuration_using_a_bridge>
> 3.3.4. Default Configuration using a Bridge <https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_default_configuration_using_a_bridge>
> The installation program creates a single bridge named vmbr0, which is connected to the first Ethernet card. 
> 
> The Proxmox VE installer does not support vlan tagging during the installation.
> At time of installation all traffic is untagged.
> 
> Once you have access to the management GUI (through the management IP address provided during installation) you can complete the network configuration and configure VLAN tagging.
> https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysadmin_network_vlan <https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysadmin_network_vlan>
> Select node > Network > Create > Linux VLAN
> 
> Stefan
> 
>> On Jul 15, 2023, at 22:25, Timo Veith <timo.veith@uni-tuebingen.de> wrote:
>> 
>> 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
> 
> 
> 
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-17  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-15 20:25 [PVE-User] vlan setup at time of host installation Timo Veith
     [not found] ` <mailman.238.1689454293.232.pve-user@lists.proxmox.com>
2023-07-16  4:44   ` Timo Veith
2023-07-16  8:16     ` Michael Cooper
2023-07-16  6:21 ` Rainer Krienke
     [not found] ` <mailman.241.1689520035.232.pve-user@lists.proxmox.com>
2023-07-17  8:17   ` Timo Veith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal