[SOLVED] SDN Node IP

Apr 18, 2024
3
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