Configuring VLAN Interface in Warewulf

A quick note about configuring an HPC compute node using Warewulf that needs to get external network access using a tagged VLAN:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
node000.hpc.local:
profiles:
- default
- compute
network devices:
default:
hwaddr: ef:ef:ef:ef:ef:ef
ipaddr: 192.168.0.100
netmask: 255.255.254.0
vlan1860:
type: vlan
device: ens1f0np0.2
ipaddr: 10.0.0.100
netmask: 255.255.255.0
gateway: 10.0.0.1
tags:
parent_device: ens1f0np0
vlan_id: "2"