Score:0

Ubuntu Server 20.04.2 LTS Virtual Machine Networking stops working over time after a reboot

cn flag

I have two Ubuntu Server 20.04.2 LTS VM's running and both work after a reboot but eventually the networking stops responding so you can't ping them nor access them over SSH so I have to console in via VMware.

Below is the output of ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever

2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state
UP group default qlen 1000
    link/ether 00:50:56:ac:d9:76 brd ff:ff:ff:ff:ff:ff
    inet 10.20.30.142/23 brd 10.20.31.255 scope global ens160
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:feac:d976/64 scope link
       valid_lft forever preferred_lft forever

Below is the output of 00-installer-config.yaml

This is the network config written by 'subiquity' 
network:   
  ethernets:
   ens160:
     addresses:
     - 10.20.30.142/23
     gateway4: 10.20.30.1
     nameservers:
       addresses:
       - 10.20.30.141
      search:
      - domain.local
  version: 2

Edit: Attempted to fix quoting formatting which breaks when you copy and paste with spaces.

Edit 2: Attempted "sudo journalctl -b 0 -u NetworkManager" but there doesn't seem to be anything logged for NetworkManager

-- Logs begin at Mon 2021-06-28 05:59:53 UTC, end at Thu 2021-07-22 17:26:37 UTC. --
-- No entries --
waltinator avatar
it flag
Look at the logs! `sudo journalctl -b 0 -u NetworkManager`. Read `man journalctl`.
Jezter458 avatar
cn flag
@waltinator see my edit above there's nothing in the logs
waltinator avatar
it flag
If you had read `man journalctl` you should have found out about `-b -1`, `-b -2`, ..., and `--list-boots`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.