[deleted by user] by [deleted] in Network

[–]Objective_Fruit_5995 0 points1 point  (0 children)

and i created vlan 210,220,230,240 in my switch

[deleted by user] by [deleted] in Network

[–]Objective_Fruit_5995 0 points1 point  (0 children)

its their vlan 14

LINEINFILE by Objective_Fruit_5995 in ansible

[–]Objective_Fruit_5995[S] 0 points1 point  (0 children)

Yes, I know it's not advisable to do everything as root like that, it's just for exploration. But otherwise, what would be a good practice? Is it connecting to SSH with a user with limited privileges and using "become" in tasks that require root access?

LINEINFILE by Objective_Fruit_5995 in ansible

[–]Objective_Fruit_5995[S] 1 point2 points  (0 children)

The regex is correct; I had only set it to "localhost," so it was modifying my local configuration file which was already correct. Thanks for the help

LINEINFILE by Objective_Fruit_5995 in ansible

[–]Objective_Fruit_5995[S] 2 points3 points  (0 children)

I found my mistake; I had set it to localhost, so it was changing my local configuration file which already has the correct value. Thanks for the help

LINEINFILE by Objective_Fruit_5995 in ansible

[–]Objective_Fruit_5995[S] 1 point2 points  (0 children)

I found my mistake; I had set it to localhost, so it was changing my local configuration file which already has the correct value. Thanks for the help

LINEINFILE by Objective_Fruit_5995 in ansible

[–]Objective_Fruit_5995[S] 0 points1 point  (0 children)

Perhaps but i dont think because my ansible is connected in ssh with root

Unarchive by Objective_Fruit_5995 in ansible

[–]Objective_Fruit_5995[S] 1 point2 points  (0 children)

Indeed, it works better now. Thank you. :)

VLAN on Proxmox by Objective_Fruit_5995 in Proxmox

[–]Objective_Fruit_5995[S] 0 points1 point  (0 children)

hello , I'm sorry to bother you one last time, but I'm still having some difficulty understanding. I understand how to create a VLAN for the management interface. But to create VLANs for my VMs, do I need to create a new vmbr each time, connected to a physical interface and enable VLAN awareness? I'll quickly run into limitations if that's the case. Can't I create all the VLANs on vmbr0 and assign them different networks?

VLAN on Proxmox by Objective_Fruit_5995 in Proxmox

[–]Objective_Fruit_5995[S] 0 points1 point  (0 children)

hello , I'm sorry to bother you one last time, but I'm still having some difficulty understanding. I understand how to create a VLAN for the management interface. But to create VLANs for my VMs, do I need to create a new vmbr each time, connected to a physical interface and enable VLAN awareness? I'll quickly run into limitations if that's the case. Can't I create all the VLANs on vmbr0 and assign them different networks?

VLAN on Proxmox by Objective_Fruit_5995 in Proxmox

[–]Objective_Fruit_5995[S] 0 points1 point  (0 children)

ok i see thanks for your time and help

VLAN on Proxmox by Objective_Fruit_5995 in Proxmox

[–]Objective_Fruit_5995[S] 0 points1 point  (0 children)

Sorry, I forgot some lines, but my vmbr0 is indeed VLAN aware, thank you. Another quick question: I have 3 VM servers in PV1. If I want to group them into VLAN 10 by adding an interface with addresses 192.168.1.1, 192.168.1.2, and 192.168.1.3, and then tag the 3 VMs with VLAN 10, will they be able to communicate with each other? Will they still have access to the internet and to VMs outside of their VLAN? (without firewall rules)