From: Rainer Krienke <krienke@uni-koblenz.de>
To: Proxmox VE user list <pve-user@lists.proxmox.com>,
Timo Veith <timo.veith@uni-tuebingen.de>
Subject: Re: [PVE-User] vlan setup at time of host installation
Date: Sun, 16 Jul 2023 08:21:13 +0200 [thread overview]
Message-ID: <cc678ca1-e68f-78c9-f77d-c77820752915@uni-koblenz.de> (raw)
In-Reply-To: <A177D562-9D34-4C99-8FFC-FB2D774E1334@uni-tuebingen.de>
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
next prev parent reply other threads:[~2023-07-16 6:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-15 20:25 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 [this message]
[not found] ` <mailman.241.1689520035.232.pve-user@lists.proxmox.com>
2023-07-17 8:17 ` Timo Veith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc678ca1-e68f-78c9-f77d-c77820752915@uni-koblenz.de \
--to=krienke@uni-koblenz.de \
--cc=pve-user@lists.proxmox.com \
--cc=timo.veith@uni-tuebingen.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.