I try to configure a Xen server based on the latest Ubuntu server. The server will be connected to a network trunk using vlan's.
I hoped this was relatively simple, however it is not. When installing ubuntu-22.04.1-live-server-amd64.iso, I did not manage to setup the network, so I did start digging into the problem. I did open lots of config files searching for the network configuration ........ a crime ..... and discovered that there are tons of (conflicting) tools and related ways to do that.
After many hours I discovered that part of the network config was stored in the file "/etc/network/00-installer-config.yaml" and that file was generated by an application called 'subiquity'.
By the way subiquity'. is using vconfig is which seems to be deprecated and not ip(route2).
I could not find a decent specification of the yami file. I noted that AFTER changing the config an "sudo netplan apply" is needed.
I also noted that the classic method via "/etc/network/interfaces" does not work anymore and
that "systemd.network - Network configuration" is not used. All files in "/etc/systemd" are at their defaults.
My feeling is that systend is the most modern way to config the network (I do not have any experience), but that that does not match the way Ubuntu is setup and that all those network setup methods are conflicting with each other.
And that is only Ubuntu itself. After that there is the interaction between the XEN-hypervisor network and Ubuntu. So some will understand that I have a headache.
What I would like to archive is:
- to manage the XEN-server from a (home compiled) XEN Orchestra instance
- that XEN Orchestra is in first instance running in a windows10 hosted VM and later on perhaps on the XEN-server itself
- the server wil host some vm's most of them connected to one of the vlan's provided by the trunk
- some vm's will share the same vlan
- each vlan will (or course) have >> its own gatgeway and related its own routing table <<
- I will also use a second nic for managment purposes (dom0 / ubuntu itself)
- I am also using IPV6
So it is clear that I need some advice and examples. Of course a decent gui would help very much ….
Louis