Categories

Category cover

Automation
155 posts

Category cover

Learning paths
119 posts

Category cover

CISO
22 posts

Category cover

Security
20 posts

Category cover

Notes
19 posts

Category cover

Personal Security
18 posts

Category cover

Infrastructure
12 posts

Category cover

OT/ICS
5 posts

Category cover

Books
3 posts

Category cover

UNetLab
3 posts

Category cover

Write-up
3 posts

Category cover

OSInt
2 posts

Category cover

My life
1 posts

Simulating an L1 link in Proxmox

Andrea Dainese
July 26, 2024
Post cover

We now have all the elements needed to simulate an L1 link. Let’s create a simple lab with two interconnected VyOS nodes. 1. Create an L1 n

We now have all the elements needed to simulate an L1 link. Let’s create a simple lab with two interconnected VyOS nodes.

1. Create an L1 network bridge

First, create a network bridge that will simulate the L1 link. We will start by defining a naming convention for our network components:

pvesh create /nodes/proxmox1/network -iface unlbr1 -type bridge -autostart 1
pvesh set /nodes/proxmox1/network

2. Clone VyOS nodes from template

Next, clone two VyOS nodes from the template and connect a second network interface to the newly created bridge:

pvesh create /nodes/proxmox1/qemu/9001/clone -newid 10001 -full 0 -name node-vyos1
pvesh create /nodes/proxmox1/qemu/9001/clone -newid 10002 -full 0 -name node-vyos2
pvesh set /nodes/proxmox1/qemu/10001/config -tags unl,root
pvesh set /nodes/proxmox1/qemu/10002/config -tags unl,root
pvesh set /nodes/proxmox1/qemu/10001/config -net1 virtio,bridge=unlbr1
pvesh set /nodes/proxmox1/qemu/10002/config -net1 virtio,bridge=unlbr1

Continue reading the post on Patreon .