Need help resetting network

DavidSz

Member
May 9, 2020
12
0
6
26
Hallo,

We just changed internet provider (=new router, router ip,..) from the moment we changed I wasn't able to go on my server via the web interface.
If googled it, if tried multiple things like :

- Pinging 8.8.8.8 - got host unreachable
- Pinging other stuff - same output
- Updating host - unable to connect to the websites..

- Changing : /etc/network/interfaces
- Changing : /etc/network/interfaces

Both to what I could find in CMD:
1604334862453.png

- Changing : the ip I used to get in the gui to the ipv4 (it was 192.168.0.232)
- Tried : /etc/init.d/networking restart

etc..

To be fair I don't understand what i'm doing or what I did.. So I think I fucked it up a bit.

My question know can I reset the full network things so the machine can detect the correct things himself? I have never had to change anything on my machine.
I would like it to do it himself the same way he does it in a fresh install.

Thnx,
David
 
Hi,

Check the resolve file and provide your network config please

Hi thanks for responding! Beneath you will find both files

/etc/resolv.conf
Code:
search home
    nameserver 1.1.1.1
    nameserver 8.8.8.8
    nameserver 192.168.1.1
    nameserver 192.168.0.232

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

auto eno1 iface eno1 inet manual

auto vmbr0
face vmbr0 inet static
    address 192.168.1.4
    netmask 255.255.255.0
    gateway 192.168.1.1
    bridge_ports eno1
    bridge_stp off
    bridge_fd 0

What I (remember) I did

resolv.conf
  • added the 1.1.1.1
  • think I changed/added both IP's (192.168.1.1 & 192.168.0.232)
192.168.0.232 = the IP I used to go on the interface via webbrowser

network/interfaces
  • added the "auto eno1"
  • think I changed the adress

If you need anything else please let me know!

Thnx
David
 
Hi again,

Please provide output of the following commands:
Bash:
ip a
ifreload -a
ip r
 
Hi again,

Please provide output of the following commands:
Bash:
ip a
ifreload -a
ip r
Hi here you go, sorry if it's wrong I'm noob.

Code:
root@pve:~# ip a
    lo: <LOOPBACK,UP ,LOWER_UP> mtu 65536 qdisc noqueue state UNKOWN 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
    eno1: <BROADCAST,MULTICAST?UP?LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
     link/ether a0:d3:c1:21:ca:bc brd ff:ff:ff:ff:ff:ff
     inet 192.168.1.4/24 brd 192.168.1.255 scope global vmbr0
         valid_lft forever preferred_lft forever
     inet6 fe80:::a2d3:c1ff:fe21:cabc/64 scope link
         valid_lft forever preferred_lft forever

Code:
root@pve:~# ifreload -a
bash: ifreload: command not found

Code:
root@pve:~# ip r
default via 192.168.1.1 dev vmbr0 onlink
192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.4
 

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!