Network installation problems with network manager graphical interface

Asked by Massimo

Good morning everyone, I have recently started working on a machine with Ubuntu Server 22.04 LTS pre-installed with gmone desktop, and keeping in mind that I am definitely not an expert, I have a problem installing the network.

Moving on to the description: using the services/networks graphical interface, the section relating to the cable configuration does not appear (the system uses a static configuration).

Looking at some tutorials online I saw how to carry out the procedure "via text", so I edited the following file 00-installer-config.yaml as follows, commenting the part relating to dchp4: true initially present (the addresses are arbitrary)
......................
# This file describes the network interfaces available on your system
network:
version: 2
renderer: networkd
ethernets:
eno1:
  addresses:
    - XXX.XXX.XXX.XXX/24
  nameservers:
    addresses: [YYY.YYY.YYY.YYY,ZZZ.ZZZ.ZZZ.ZZZ]
  routes:
    - to: default
      via: RRR.RRR.RRR.RRR
 # dhcp4: true
eno2:
  addresses:
    - XXXX.XXX.XXX.XXX/24
  nameservers:
    addresses: [YYY.YYY.YYY.YYY,ZZZ.ZZZ.ZZZ.ZZZ]
  routes:
    - to: default
      via: RRR.RRR.RRR.RRR
 # dhcp4: true
...............................
the two cards (of which only one is connected) have the same IP (this is to be able to change the connection port without having to redefine the setting every time).

launched netplan apply

I get the following message cannot call open VSwitch: ovsdb-server.service is not running, however with ip to sh eno1 (to which the cable is connected) the WS is configured and is visible on the network.

After restarting the machine everything seems ok but the problem remains that in services/networks the section relating to the cable network which I would like to have does not appear. On the shutdown icon at the top right, eno1 appears and if I go to wired settings it takes me back to the networks graphic interface which does not have the previously mentioned section.

My questions:
1) is the script I created for 00-installer-config.yaml correct?
Is it legal to define two identical IPs (considering that only one eth will be used)?

2) How to ensure that the section relating to the network appears in the networks graphical front-end (now only VPN and Proxy).

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Massimo (maximo0003) said :
#2

Looking at some tutorials online I saw how to carry out the ontext network settings, so I edited the following file 00-installer-config.yaml as follows, commenting the part relating to dchp4: true initially present (the addresses are arbitrary)
......................
# This file describes the network interfaces available on your system
network:
version: 2
renderer: networkd
ethernets:
eno1:
  addresses:
    - XXX.XXX.XXX.XXX/24
  nameservers:
    addresses: [YYY.YYY.YYY.YYY,ZZZ.ZZZ.ZZZ.ZZZ]
  routes:
    - to: default
      via: RRR.RRR.RRR.RRR
 # dhcp4: true
eno2:
  addresses:
    - XXXX.XXX.XXX.XXX/24
  nameservers:
    addresses: [YYY.YYY.YYY.YYY,ZZZ.ZZZ.ZZZ.ZZZ]
  routes:
    - to: default
      via: RRR.RRR.RRR.RRR
 # dhcp4: true
...............................
the two cards (of which only one is connected) have the same IP (this is to be able to change the connection port without having to redefine the setting every time).

launched netplan apply

I get the following message cannot call open VSwitch: ovsdb-server.service is not running, however with ip to sh eno1 (to which the cable is connected) the WS is configured and is visible on the network.

After restarting the machine everything seems ok but the problem remains that in services/networks the section relating to the cable network which I would like to have does not appear. On the shutdown icon at the top right, eno1 appears and if I go to wired settings it takes me back to the networks graphic interface which does not have the previously mentioned section.

My questions:
1) is the script I created for 00-installer-config.yaml correct?

Can you help with this problem?

Provide an answer of your own, or ask Massimo for more information if necessary.

To post a message you must log in.