0

We recently bought a machine with Ubuntu 18.04 pre-installed. I configured the network interfaces in /etc/network/interfaces as previous installations but then I realised that is not working any more for /etc/resolv.conf. I then saw that we have netplan configured to work with NetworkManager

my .yaml file looks like this

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

So then I went and used the GUI to add the domain, the DNS nameserver and search domains etc. There is also a file in /etc/NetworkManager which as far as I can tell looks correct. The IP address, gateway, dns and dns-search fields look correct, I have edited the IPs with Xs for privacy.

[connection]
id=Wired connection 1
uuid=###deleted for privacy###
type=ethernet
autoconnect-priority=-999
permissions=
timestamp=1562090532

[ethernet]
mac-address=xx:xx:xx:xx:xx:xx
mac-address-blacklist=

[ipv4]
address1=x.x.x.x/25,x.x.x.x
dns=x.x.x.x;x.x.x.x;x.x.x.x;x.x.x.x;
dns-search=my.domain.edu;
method=manual
route1=x.x.x.x/25,x.x.x.x

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto

but this information is not propagated on reboot and I need to enter them all back in again using the GUI. Including my.domain.edu, before my LDAP will work properly (the ownership is messed up because the domain is wrong).

Is there something I am missing? Any help would be appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.