Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

Proxmox: Temporary failure in name resolution
New on LowEndTalk? Please Register and read our Community Rules.

Proxmox: Temporary failure in name resolution

nodesecnodesec Member
edited March 2020 in Help

All virtual servers are running and they have internet connection. I can RDP, ssh into those vm.

I cannot ping or ssh my proxmox server. It does not have a internet connection.

I was able to ssh into the server by SSH-ing into the virtual server and using local network ssh [email protected]

[email protected]:~# ping ding.com
ping: bing.com: Temporary failure in name resolution

[email protected]:~# nano /etc/resolv.conf
nameserver 8.8.8.8
nameserver 1.1.1.1
nameserver 8.8.4.4
nameserver 213.186.33.99 #by default I had only this but added bunch of them and tried nothing worked.

/etc/network/interface

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

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

auto vmbr1
iface vmbr1 inet static
address 192.168.1.2/24
gateway 192.168.1.1
bridge-ports eno2
bridge-stp off
bridge-fd 0

====================================

What I am doing wrong here

should i change vmbr0 to static ?
will this help

auto vmbr0

iface vmbr0 inet static
address server_ip_by_ovh
netmask 255.255.255.255
gateway 213.186.33.99
bridge-ports eno1
bridge-stp off
bridge-fd 0

Comments

  • @nodesec said:
    All virtual servers are running and they have internet connection. I can RDP, ssh into those vm.

    I cannot ping or ssh my proxmox server. It does not have a internet connection.

    I was able to ssh into the server by SSH-ing into the virtual server and using local network ssh [email protected]

    [email protected]:~# ping ding.com
    ping: bing.com: Temporary failure in name resolution

    [email protected]:~# nano /etc/resolv.conf
    nameserver 8.8.8.8
    nameserver 1.1.1.1
    nameserver 8.8.4.4
    nameserver 213.186.33.99 #by default I had only this but added bunch of them and tried nothing worked.

    /etc/network/interface

    auto lo
    iface lo inet loopback

    iface eno1 inet manual

    iface eno2 inet manual

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

    auto vmbr1
    iface vmbr1 inet static
    address 192.168.1.2/24
    # gateway 192.168.1.1. #removed and its fixed
    bridge-ports eno2
    bridge-stp off
    bridge-fd 0

    ====================================

    got it fixed without a restart.
    Removed the gateway from vmbr1, everything working normally now :)

Sign In or Register to comment.