[SOLVED] Ethernet port not functioning after install

Kanas

New Member
Dec 20, 2023
2
0
1
Hi everybody,
I just installed Proxmox and tryed to ping www.google.com because the web interface didn't worked. It showed:
"ping: www.google.com: Temporary failure in name resolution"
I am sure that the Ethernet Ports work just fine and I don't know what to do about it.
I let Proxmox run on a "System x3500 M5".

Help would be nice.

Good Day,
Kanas
 
Hi,
sometimes the name of the ethernet port can differ from what was detected at installation.
Using ip link show, you can list all ethernet devices that are known to the system and their names.
Compare those with what is defined in /etc/network/interfaces and adjust accordingly.

For example:

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

iface ens18 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.10/20
    gateway 192.168.1.1
    bridge-ports ens18
    bridge-stp off
    bridge-fd 0

iface wlo1 inet manual

But ip link doesn't show ens18, only enp4s0:
Bash:
root@proxmox:~# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP mode DEFAULT group default qlen 1000
    link/ether 04:7c:16:ed:99:0d brd ff:ff:ff:ff:ff:ff

Then you would replace the instances of ens18, with enp4s0:
Code:
# /etc/network/interfaces after
auto lo
iface lo inet loopback

iface enp4s0 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.10/20
    gateway 192.168.1.1
    bridge-ports enp4s0
    bridge-stp off
    bridge-fd 0

iface wlo1 inet manual
 

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!