[SOLVED] No network on host after ip change

D0cR3d

New Member
Jul 13, 2021
3
1
3
34
After moving my physical server w/ proxmox host on it to a datacenter and an IP change, I'm not able to get any internet.

I've gone in and edited /etc/network/interfaces and replaced the new /27 block I have:

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual
#iface eno2 inet manual
#iface eno3 inet manual
#iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
    address 46.246.x.99
    gateway 46.246.x.97
    netmask 255.255.255.224
    bridge_ports eno1
    bridge_stp off
    bridge_fd 0

/etc/resolv.conf
Code:
nameserver 79.99.x.100
nameserver 79.99.x.101

A traceroute to 8.8.8.8 fails
1626189222266.png

The CIDR info I was provided:
Code:
CIDR: 46.246.x.96/27
Gateway IP: 46.246.x.97
Subnet Mask: 255.255.255.224

I know NIC 1 (eno1) should be the interface to use. From the iDRAC:
1626189365006.png

From an ip a:
1626189495094.png

Any help would be greatly appreciated, as externally I can't access the web interface, or ping the .99 ip, but I can ping the gateway (.97). From the server I can't ping anything.

Thanks.
 
Last edited:
Why do you use 46.241 in the code when the CIDR info says 46.246? And why does your code say 241 when ip a says 246 for vmbr0?

Also, please try iface eno1 inet manual as described in the PVE administration guide.
 
The CIDR is correct at 46.246, and I had that correct in the interfaces config, just made a typo when writing the post here. The eno* interfaces were also set to manual, that was also a typo. I've edited the original post.

Could it be something on the datacenters end, not configured correctly?

/interfaces
1626251852376.png

resolve & hosts
1626251871741.png
 
If
Code:
hostname --ip-address
returns your IP address then you should be fine. And in this case it looks like this should happen to me.

You could try to see where your pings get lost using tcpdump
Code:
tcpdump -envi vmbr0 "icmp"
 
Thank you for the help Dominic. It was very helpful to validate that it wasn't something on my end with proxmox.

Just wanted to update that the issue was a misconfigured switch in the datacenter the server resides in.
 
  • Like
Reactions: Dominic

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!