how to get internet access for the host machine?

mr_2023user

New Member
Jun 22, 2023
9
2
3
how to get internet access for the host machine?

I want to do some update upgrade but seems that I can not get connection with internet. As a new kid on the block I'm a bit lost where to put the right credentials.. Looking at some settings it seems fine. But I must be missing something. Is it the Gateway or dns setting? I'm not sure. Any help would be appreciated. I have a static ip

Scherm­afbeelding 2023-06-23 om 14.19.17.png
 

Attachments

  • Scherm­afbeelding 2023-06-23 om 10.08.00.png
    Scherm­afbeelding 2023-06-23 om 10.08.00.png
    327.8 KB · Views: 96
Your ip for the proxmox host seems to be 192.168.0.6 and the gateway 192.168.0.1. That suggests your router (normally the one from your ISP) is that 192.168.0.1. If that is not correct, then you change there in the gateway the correct IP of the router. It needs to be in the same network. That means you can not have proxmox 192.168.0.6 and your router on 192.168.5.1 (for example).
 
192.168.0.1 is my router so this is ok then? Or do I need the gateway setting, which is in the router itself? That is more or less like you mentioned something 192.168.57.1
So to me it is not clear why Proxmox can not access internet using the gateway 192.168.0.1 ?

Code:
root@hp630:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface enp1s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.0.6/24
        gateway 192.168.0.1
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0
root@hp630:~#

Code:
/etc/resolv.conf                                 
search poxmox.lan
nameserver 127.0.0.1

Code:
127.0.0.1 localhost.localdomain localhost
192.168.0.6 hp630.poxmox.lan hp630

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
Last edited: