[SOLVED] SDN Node IP

Apr 18, 2024
2
0
1
Birmingham, England
Is there a way to add an IP address on each node for a SDN Vnet?

I have two storage VLANs 20 and 30 that I share to both VM's and the physical nodes. I would like to move all my network config to SDN - VLANs but I can't find a way to add IP addresses to the nodes so they can also access those VLANs and the NFS or iSCSI resources presented.

If I manually add the ip to the create SDN interface:

# ip address add 192.168.20.21/24 dev vmbr0.20

it will work but has no persistence across reboots.
 
Last edited:
you can add in /etc/network/interfaces

Code:
iface <vnetname>
    address 192.168.20.21/24
Spirit,

I wasn't sure that would work and that it would get removed from file when editing the local network config through the GUI.

One point to note is that I had to use the name of the SDN VLAN in my case storage1 so i ended up with"

Code:
iface storage1
    address 192.168.20.21/24

and a reload of networking with
Code:
systemctl reload networking

has my network humming beautifully.

Thanks,
beyond990
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!