Can't connect ProxMox to Internet or view in Router

cheezburger

Member
Sep 20, 2020
22
0
6
32
Hi All,

Really struggling, everyone else's youtube tutorials seem to be able to automatically connect to the internet without furhter setting up or changing values for networking, but mine won't even show up in my router(DSL-5300) in the list of connected devices, but I can access the GUI still from another PC no issue.

Any help would be greatly appreciated, I am a networking noob. Going to pull my hair out if I have to flash the OS one more time hoping it will fix it.

Code:
root@proxmox:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
    link/ether 38:d5:47:75:72:01 brd ff:ff:ff:ff:ff:ff
3: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 38:d5:47:75:72:02 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 38:d5:47:75:72:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.168/24 brd 192.168.1.255 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::3ad5:47ff:fe75:7201/64 scope link
       valid_lft forever preferred_lft forever

Code:
root@proxmox:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface eno2 inet manual

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.168/24
        gateway 192.168.1.169
        bridge-ports eno2
        bridge-stp off
        bridge-fd 0

Code:
root@proxmox:~# ip route show
default via 192.168.1.169 dev vmbr0 onlink
192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.168

Code:
root@proxmox:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.1.168 icmp_seq=1 Destination Host Unreachable
From 192.168.1.168 icmp_seq=2 Destination Host Unreachable
From 192.168.1.168 icmp_seq=3 Destination Host Unreachable
From 192.168.1.168 icmp_seq=4 Destination Host Unreachable
From 192.168.1.168 icmp_seq=5 Destination Host Unreachable
From 192.168.1.168 icmp_seq=6 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 174ms
pipe 4

Code:
root@proxmox:~# ping 192.168.1.168
PING 192.168.1.168 (192.168.1.168) 56(84) bytes of data.
64 bytes from 192.168.1.168: icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from 192.168.1.168: icmp_seq=2 ttl=64 time=0.054 ms
64 bytes from 192.168.1.168: icmp_seq=3 ttl=64 time=0.025 ms
64 bytes from 192.168.1.168: icmp_seq=4 ttl=64 time=0.025 ms
64 bytes from 192.168.1.168: icmp_seq=5 ttl=64 time=0.037 ms
64 bytes from 192.168.1.168: icmp_seq=6 ttl=64 time=0.022 ms
^C
--- 192.168.1.168 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 80ms
rtt min/avg/max/mdev = 0.019/0.030/0.054/0.012 ms
 
your router address is 192.168.1.169?
Nope, IP Router is 192.168.1.1, I actually made sure that the IP address was used previously by a different device before assigning it. It is not currently in use so it should be okay.

Also make sure you set a valid nameserver and use the right ehternet port.
Not really sure what you mean about nameserver, here are my DNS settings in ProxMox:
Search Domain: local
DNS Server 1: 8.8.8.8
DNS Server 2: 8.8.4.4

There are two ethernet ports on my PC, but when I use the other one I can't even connect to the GUI so I assume it's the wrong one and I am using the right one?
 
Use gateway 192.168.1.1 if that is your router or Proxmox can't connect to IPs outside your local network.
OF COURSE! Shows you why I dropped out of my IT Networking subjects at uni.

That worked, thank you SO SO much Dunuin!!!!!
 

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!