I have a Ubuntu virtual machine running on your local Windows system. When i try to connect to any server from the Ubuntu , it says "Network is unreachable" even when i try to ping google. Additionally, im unable to clone or push to GitHub from the Ubuntu VM.almost i
sudo chmod 600 /etc/netplan/01-netcfg.yamlmunaelmetwally@Muna:~$ sudo netplan applyWARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.munaelmetwally@Muna:~$ sudo systemctl restart NetworkManagerFailed to restart NetworkManager.service: Unit NetworkManager.service not found.munaelmetwally@Muna:~$ ip a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host lovalid_lft forever preferred_lft foreverinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever
i Restarted Network Services, Checked Systemd Network Services by start it and restart it , Verifying DNS Resolution, Reviewed /etc/resolv.conf and Review the system logs to check for any related errors:
systemctl list-unit-files | grep networknetworkd-dispatcher.service enabled enabledsystemd-network-generator.service disabled enabledsystemd-networkd-wait-online.service enabled-runtime disabledsystemd-networkd.service enabled-runtime enabledsystemd-networkd.socket disabled enablednetwork-online.target static -network-pre.target static -network.target static -
sudo journalctl -u systemd-networkd.serviceJul 15 08:05:59 Muna systemd[1]: Starting Network Configuration...Jul 15 08:06:00 Muna systemd-networkd[5566]: lo: Link UPJul 15 08:06:00 Muna systemd-networkd[5566]: lo: Gained carrierJul 15 08:06:00 Muna systemd-networkd[5566]: Enumeration completedJul 15 08:06:00 Muna systemd[1]: Started Network Configuration.Jul 15 08:11:41 Muna systemd[1]: Stopping Network Configuration...Jul 15 08:11:41 Muna systemd[1]: systemd-networkd.service: Deactivated successfully.Jul 15 08:11:41 Muna systemd[1]: Stopped Network Configuration.Jul 15 08:11:41 Muna systemd[1]: Starting Network Configuration...Jul 15 08:11:41 Muna systemd-networkd[6988]: lo: Link UPJul 15 08:11:41 Muna systemd-networkd[6988]: lo: Gained carrierJul 15 08:11:41 Muna systemd-networkd[6988]: Enumeration completedJul 15 08:11:41 Muna systemd[1]: Started Network Configuration.Jul 15 08:14:41 Muna systemd[1]: Stopping Network Configuration...Jul 15 08:14:41 Muna systemd[1]: systemd-networkd.service: Deactivated successfully.Jul 15 08:14:41 Muna systemd[1]: Stopped Network Configuration.Jul 15 08:14:41 Muna systemd[1]: Starting Network Configuration...
now i honestly dont know what to do to fix this issue