# Ubuntu 22.04 network error

**URL:** <https://deeptalk.lambda.ai/t/ubuntu-22-04-network-error/3247>\
**Category:** Technical Help\
**Created:** [October 5, 2022, 1:51am UTC](https://deeptalk.lambda.ai/t/ubuntu-22-04-network-error/3247 "2022-10-05T01:51:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![markd](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@markd](https://deeptalk.lambda.ai/u/markd)\
**Post date:** [October 15, 2022, 4:29am UTC](https://deeptalk.lambda.ai/t/ubuntu-22-04-network-error/3247/2 "2022-10-15T04:29:40Z")

</div>

You can see if a IP address is assigned with:

```auto
$ ip address show

```

And you can see the links and routing with:

```auto
$ ip link
and
$ ip route

```

To test the network you can ping a IP address directly example (googles DNS):

```auto
   $ ping -c 3 8.8.8.8

```

And you can see the name resolution in:

```auto
   $ cat /etc/resolv.conf

```

If ping works, it is likely the network configuration is no longer working.  
It could be old settings or other issues. (some formats have changed).

```auto
  $ cat /etc/netplan/*

```

For example in the netplan ‘gateway4’ is deprecated and you should use ‘routes’ now.  
For that specific example there is a write up:  
[netplan generate: `gateway4` has been deprecated, use default routes instead - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/681220/netplan-generate-gateway4-has-been-deprecated-use-default-routes-instead)

Well that should give you a start of a few things to look for.

Mark

---

_[View the full topic](https://deeptalk.lambda.ai/t/ubuntu-22-04-network-error/3247)._
