No internet access in Beaglbone AI

Hello,

I am having troubles with accessing the internet with a Beaglbone running debian 10:

debian@beaglebone:/var/lib/cloud9$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

For example when I try to apt update this appears for a minute:

Err:1 http://repos.rcn-ee.com/debian buster InRelease                                                     
  Could not connect to repos.rcn-ee.com:80 (45.33.2.10), connection timed out
Err:2 http://deb.debian.org/debian buster InRelease                                                       
  Could not connect to debian.map.fastlydns.net:80 (151.101.18.132), connection timed out Unable to connect to deb.debian.org:http:
Err:3 http://deb.debian.org/debian buster-updates InRelease 
  Unable to connect to deb.debian.org:http:
Err:4 http://deb.debian.org/debian-security buster/updates InRelease
  Unable to connect to deb.debian.org:http:

I have looking for similar mistakes and it is usually the DNS but this is not the case since it resolves the urls:

debian@beaglebone:/var/lib/cloud9$ ping google.com
PING google.com (142.250.200.110) 56(84) bytes of data.

Many other times it is the /etc/apt/sources.list but this is not the case because I cant access internet at all and it is not just those servers.
And some other issues are related to the router/network, but this shouldnt be the problem because if I have tried with another beaglebone that I have connected to the same port in the switch and this one works, so it is not the network.

I also tried to get information with things like this:

debian@beaglebone:/var/lib/cloud9$ curl -vvv http://deb.debian.org/
* Expire in 0 ms for 6 (transfer 0x1e45950)
Expire in 1 ms for 1 (transfer 0x1e45950) 


Expire in 50 ms for 1 (transfer 0x1e45950)
Trying 151.101.18.132...
TCP_NODELAY set
Expire in 149944 ms for 3 (transfer 0x1e45950)
Expire in 200 ms for 4 (transfer 0x1e45950)
Trying 2a04:4e42:4::644...


TCP_NODELAY set
Expire in 84453 ms for 3 (transfer 0x1e45950)
Immediate connect fail for 2a04:4e42:4::644: Network is unreachable
Failed to connect to deb.debian.org port 80: Connection timed out
Closing connection 0 curl: (7) Failed to connect to deb.debian.org port 80: Connection timed out

or maybe for default route missing:

debian@beaglebone:/var/lib/cloud9$ ip route
default via 10.62.16.1 dev eth0
10.62.5.45 via 10.62.16.1 dev eth0
10.62.5.46 via 10.62.16.1 dev eth0
10.62.16.0/23 dev eth0 proto kernel scope link src 10.62.16.63
10.62.16.1 dev eth0 scope link
192.168.6.0/24 dev usb1 proto kernel scope link src 192.168.6.2
192.168.7.0/24 dev usb0 proto kernel scope link src 192.168.7.2 192.168.8.0/24 dev SoftAp0 proto kernel scope link src 192.168.8.1

But seems to be fine, like my other working beaglebone.

So I am completely lost and I dont know what more to try. Thank you and help me please.