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

hat

New Member
Jun 16, 2019
2
2
1
33
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:
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.
 
Glad you found the issue!
Please mark the thread as 'SOLVED' so that others know what to expect.

Thanks!
 
I'm suddenly running into this problem and when I restart the LXC's/nodes I need to run this manually?
 
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.
You help me a lot BIG thanks :)
 
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.
Funcionou
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!