Results 1 to 3 of 3

Thread: Jammy Jellyfish network problems

  1. #1
    Join Date
    May 2022
    Beans
    6

    Jammy Jellyfish network problems

    Hi there. The update to jammy jellyfish was a bit problematic for me. 3 out of 15 ubuntu servers got networkproblems afterwards.
    They got the network adapter reset to disabled and the configuration deleted.
    I got them all manually configured, back online and installed netplan to manage the network configuration. The problem ive got now is that i cant get the DNS settings to persist over a reboot.

    Netplan config:
    Code:
    network:
      version: 2
      renderer: networkd
      ethernets:
        ens160:
          dhcp4: true
          nameservers:
            addresses: [192.168.2.128, 192.168.2.129]
    I dont know if netplan needs the resolv.conf file to set the DNS?
    Anyways, it does not. The resolv.conf is blank until i run
    Code:
    dhclient -r; dhclient
    After which the resolv.conf is created with the correct configuration, and i can verify that the correct DNS server is being queueried.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Jammy Jellyfish network problems

    If you enable DHCP, then the DNS settings should be provided by the DHCP server. Remove the last 2 lines.

    And you might want to add a
    Code:
       dhcp6: false
    line.
    Then run
    Code:
    sudo netplan generate
    sudo netplan apply --debug
    to force the changes to be seen.

  3. #3
    Join Date
    May 2022
    Beans
    6

    Re: Jammy Jellyfish network problems

    Thank you so much. It works now. Amazing community.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •