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
[email protected]
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

_______________________________________________
pve-user mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to