[SOLVED] Proxmox an network connections

nosaj.seveer

New Member
Aug 14, 2024
7
0
1
i have a new proxmox install. i have setup several vm's which all get internet access. I can connect to the proxmox web interface but from the shell(for proxmox) I have no internet., using a wired connection.I tried to apt install -y wireless tools.
Any help would be greatly appreciated.
jason
 
Last edited:
Can you SSH in?

Can you post outputs of ip a , ip route , cat /etc/network/interfaces?



Are you trying to install wireless-tools because you are using WiFi for PVE?
I wanted to use the wireless so I wasn't as restricted to where I put the proxmox box in my house. I can log into the web interface. It's just for a home lab nothing production.


ip a
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Aug 14 16:37:40 CDT 2024 on pts/0
root@labs:~# ip a
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 noprefixroute
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 8c:dc:d4:43:e7:62 brd ff:ff:ff:ff:ff:ff
altname enp0s25
3: wlxa047d70071f7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether a0:47:d7:00:71:f7 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 8c:dc:d4:43:e7:62 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.245/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::8edc:d4ff:fe43:e762/64 scope link
valid_lft forever preferred_lft forever
5: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i0 state UNKNOWN group default qlen 1000
link/ether 66:64:92:dd:15:74 brd ff:ff:ff:ff:ff:ff
6: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 36:16:8f:ea:13:21 brd ff:ff:ff:ff:ff:ff
7: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
link/ether a6:59:88:2c:64:57 brd ff:ff:ff:ff:ff:ff
8: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP group default qlen 1000


ip route
default via 192.168.1.1 dev vmbr0 proto kernel onlink
192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.245

cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.245/24
gateway 192.168.1.1
bridge-ports eno1
bridge-stp off
bridge-fd 0

iface wlxa047d70071f7 inet manual


source /etc/network/interfaces.d/*


hosts.pngdns.jpgnetwork.jpg
 
I wanted to use the wireless so I wasn't as restricted to where I put the proxmox box in my house. I can log into the web interface. It's just for a home lab nothing production.


Code:
ip a
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 noprefixroute
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
    link/ether 8c:dc:d4:43:e7:62 brd ff:ff:ff:ff:ff:ff
    altname enp0s25
3: wlxa047d70071f7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a0:47:d7:00:71:f7 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 8c:dc:d4:43:e7:62 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.245/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::8edc:d4ff:fe43:e762/64 scope link
       valid_lft forever preferred_lft forever
5: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i0 state UNKNOWN group default qlen 1000
    link/ether 66:64:92:dd:15:74 brd ff:ff:ff:ff:ff:ff
6: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 36:16:8f:ea:13:21 brd ff:ff:ff:ff:ff:ff
7: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether a6:59:88:2c:64:57 brd ff:ff:ff:ff:ff:ff
8: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP group default qlen 1000


Code:
ip route
default via 192.168.1.1 dev vmbr0 proto kernel onlink
192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.245

Code:
cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.245/24
        gateway 192.168.1.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

iface wlxa047d70071f7 inet manual


source /etc/network/interfaces.d/*

Alright, so are you unable to e.g. ping 1.1.1.1 or why do you think you have no access outside?

(Please use the [ CODE ] ... [ /CODE ] enclosing tags.)
 
I think OP means to say he wants to ADD wireless Wi-Fi capability to his setup. I believe his wired setup works as expected (incl. Public internet) - but he wants to add WLAN.

I don't need to point out that this is a very bad idea. See here.
 
ok it's working now after a reboot. Will skip wireless and just mound server next to ATT box headless.

Thanks,
Jason
 
Good. Looks like you got it working. Maybe tag prefix the thread-title with [SOLVED], (upper right hand corner under title).
 
now trying to update pveam template images and get this.
Any help would be greatly appreciated/
Thanks,
Jason

root@labs:~# pveam download local debian-12-standard_12.2-1_amd64.tar.zst
unable to open file '/var/lib/pve-manager/apl-info/releases.turnkeylinux.org' - No such file or directory
downloading http://download.proxmox.com/images/system/debian-12-standard_12.2-1_amd64.tar.zst to /var/lib/vz/template/cache/debian-12-standard_12.2-1_amd64.tar.zst
--2024-08-16 13:32:08-- http://download.proxmox.com/images/system/debian-12-standard_12.2-1_amd64.tar.zst
Resolving download.proxmox.com (download.proxmox.com)... 144.217.225.162, 2607:5300:203:7dc2::162
Connecting to download.proxmox.com (download.proxmox.com)|144.217.225.162|:80... failed: No route to host.
download failed: Connecting to download.proxmox.com (download.proxmox.com)|2607:5300:203:7dc2::162|:80... failed: Network is unreachable.
 
now trying to update pveam template images and get this.
Any help would be greatly appreciated/
Thanks,
Jason

root@labs:~# pveam download local debian-12-standard_12.2-1_amd64.tar.zst
unable to open file '/var/lib/pve-manager/apl-info/releases.turnkeylinux.org' - No such file or directory
downloading http://download.proxmox.com/images/system/debian-12-standard_12.2-1_amd64.tar.zst to /var/lib/vz/template/cache/debian-12-standard_12.2-1_amd64.tar.zst
--2024-08-16 13:32:08-- http://download.proxmox.com/images/system/debian-12-standard_12.2-1_amd64.tar.zst
Resolving download.proxmox.com (download.proxmox.com)... 144.217.225.162, 2607:5300:203:7dc2::162
Connecting to download.proxmox.com (download.proxmox.com)|144.217.225.162|:80... failed: No route to host.
download failed: Connecting to download.proxmox.com (download.proxmox.com)|2607:5300:203:7dc2::162|:80... failed: Network is unreachable.

Can you ping 1.1.1.1 from the same machine (please test when the conditions are the same, e.g. confirm you still cannot get your image returning "No route to host" and immediately then do the ping and post the result).
 
Also, can you provide more information about your gateway sitting at 192.168.1.1? What kind of equipment is this and did you ensure it does not include the static IP of your PVE host in the DHCP pool for a giveway to e.g. a random VM?

Can you check DHCP leases on your gateway?
 
Last edited:
It's an ATT box and the gateway should be 192.168.1.254

I changed that rebooted server and now its downloading. I still can't figure out how to make proxmox box get a dhcp address so i can just allocate a dhcp reservation to it.

nosaj

Thanks again
 
It's an ATT box and the gateway should be 192.168.1.254

That was your problem then.

Because here you have/had your gateway fixed as .1.1:

Code:
# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.245/24
        gateway 192.168.1.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

iface wlxa047d70071f7 inet manual


source /etc/network/interfaces.d/*

You need to fix that and then systemctl restart networking (or reboot).

I changed that rebooted server and now its downloading. I still can't figure out how to make proxmox box get a dhcp address so i can just allocate a dhcp reservation to it.

This would not be recommended the way PVE was designed, but especially if you do not plan to have a cluster, you could just do away with the static and have:

Code:
iface vmbr0 inet dhcp
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

If you have static assignment, you need to ensure that on the DHCP server (in your case the gateway), it will not give away that address as a lease, so exclude it from DHCP pool (e.g. limit it to 192.168.1.1 - 192.168.1.199 range only).
 

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!