connect: networking is unreachable. (Cannot access internet but can access LAN)

hat

New Member
Jun 16, 2019
2
0
1
30
Hello everyone. Thanks in advance to anyone that can assist me in this I am somewhat stumped. I just installed PVE 6 and re-setup my LACP connection with ovs-switch and I am able to reach destinations within my LAN but outside of the LAN I am unable to reach it and it actually doesn't even make an attempt:
Code:
root@stompr:~# ping 1.1.1.1
connect: Network is unreachable
 
Last edited:

hat

New Member
Jun 16, 2019
2
0
1
30
Solved: I needed to add a default route outside of the network.
Code:
root@stompr:~# ip route show
192.168.10.0/24 dev vlan10 proto kernel scope link src 192.168.10.10
Whoops
Code:
root@stompr:~# ip route add default via 192.168.10.1 dev vlan10
root@stompr:~# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=58 time=20.7 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=58 time=21.9 ms
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 20.681/21.298/21.916/0.634 ms

In case anyone encounters the same problem.
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
5,196
684
118
Glad you found the issue!
Please mark the thread as 'SOLVED' so that others know what to expect.

Thanks!
 

voarsh

Member
Nov 20, 2020
156
6
18
24
I'm suddenly running into this problem and when I restart the LXC's/nodes I need to run this manually?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!