Reset all Networks inteface

wifi75

Well-Known Member
Nov 11, 2019
71
4
48
46
Hello, I have change with different motherboard and CPU to my proxmox server.
After that all my bond with 5 Networks inteface not working.
After ip a command ( see attachment)

what can I do for repair configuration?
If Is Better, I can reset all configuration.. but I don't know how to do!
 
Check what your NICs are called now using ip addr. Then edit your network config file with nano /etc/network/interfaces (CTRL+X to save and exit), replace the old NIC names with the new ones and restart networking with systemctl restart networking. If you changed the right NIC names your webUI should work again.
 
  • Like
Reactions: teracir
Hello, one think more now I have duplicate interface, ho I can delete ?
see below:

1663235610558.png
 
Assuming enp2s0f* is the new correct nic names and enp1s0f* is the old no longer valid Nic names, edit /etc/network/interfaces and erase sections using the old name. example of what to look for to delete below:

Code:
auto enp1s0f1
iface enp1s0f1 inet manual

To be sure you might want to post can post your /etc/network/interfaces file here first so you don't end up in a no-network spot again.
 
Last edited:
  • Like
Reactions: wifi75
hi i don't understand what happens, i added 4 more pci ethernet cards to my server, now i have in total 2 pci cards of 4 ethernet each.
currently my configuration is as follows:
1665330630452.png

with the command ip a looks like this:
1665330707126.png

i tried to delete the tabs enp1s0f0-1-2-3, but they always remain on the list.
I don't understand what the other 4 network cards are currently free ...

1665330824963.png

with your advice I tried to clean up.
but I'm not happy enough with the result. surely something wrong
Can you give me a hand?
 
Last edited:
What is the result you are not happy with?

From Proxmox What are you physically connecting enp8s0f* and enp9s0f* to? Is LACP configured and working on that other end of the connection?
 
Last edited:
what is
Code:
13: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr101i0 state UNKNOWN group default qlen 1000
    link/ether f6:66:bb:2f:90:5c brd ff:ff:ff:ff:ff:ff
14: fwbr101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c6:ea:54:5b:e8:52 brd ff:ff:ff:ff:ff:ff
15: fwpr101p0@fwln101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether ba:ea:46:d0:90:70 brd ff:ff:ff:ff:ff:ff
16: fwln101i0@fwpr101p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr101i0 state UP group default qlen 1000
    link/ether d2:53:e7:f3:be:4b brd ff:ff:ff:ff:ff:ff
17: tap103i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
    link/ether b6:18:56:1a:5e:c8 brd ff:ff:ff:ff:ff:ff
18: tap600i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
    link/ether 9e:42:f6:f2:4b:4d brd ff:ff:ff:ff:ff:ff
 
To be clear on this proxmox node you have two 4 port PCI ethernet cards (8 ports total by PCI) and I assume eno1 is the nic attached to the motherboard? I also guess that enp1s0f(0-3) are on one PCI card and enp(8&9)s0f(0&1) are on the other pci card.

If I understand you correctly, then the below seems correct from the ip a output
  1. enp1s0f0
  2. enp1s0f1
  3. enp1s0f2
  4. enp1s0f3
  5. enp8s0f0
  6. enp8s0f1
  7. enp9s0f0
  8. enp9s0f1
  9. eno1
 
Last edited:
  • Like
Reactions: wifi75
1665335976682.png
how can i find out which in this list are the 4 unused cards?
 

Attachments

  • 1665335947872.png
    1665335947872.png
    346.8 KB · Views: 53
From the command line what is the output from lspci | grep Ethernet
yes with this command I list the pci cards present, but I would like to understand which ones are currently configured in proxmox.
otherwise I would have to unmount the server to figure out which relays are connected.
 
Well looks like a realtek ethernet controller card at PCI 0000.04.00.0 is there, but not showing up with ip a. I would expect that realtek card to be enp4s0f(0-3) with ip a if a 4 port card. I will amend my earlier guess and state that

1. 4 port Intel i350 card at PCI 0000.01.00.(0-3) and available at enp1s0f(0-3).
2. realtek ethernet card at PCI 0000.04.00.0 not otherwise available in debian/proxmox
3. Intel Ethernet card 82571 at PCI 0000.08.00.(0-1) and available at enp8s0f(0-1). Is this a 2 port card?
4. Intel Ethernet card 82571 at PCI 0000.09.00.(0-1) and available at enp9s0f(0-1). Is this a 2 port card?
 
  • Like
Reactions: wifi75
Well looks like a realtek ethernet controller card at PCI 0000.04.00.0 is there, but not showing up with ip a. I would expect that realtek card to be enp4s0f(0-3) with ip a if a 4 port card. I will amend my earlier guess and state that

1. 4 port Intel i350 card at PCI 0000.01.00.(0-3) and available at enp1s0f(0-3).
2. realtek ethernet card at PCI 0000.04.00.0 not otherwise available in debian/proxmox
3. Intel Ethernet card 82571 at PCI 0000.08.00.(0-1) and available at enp8s0f(0-1). Is this a 2 port card?
4. Intel Ethernet card 82571 at PCI 0000.09.00.(0-1) and available at enp9s0f(0-1). Is this a 2 port card?
Thank you!
 
what is
Code:
13: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr101i0 state UNKNOWN group default qlen 1000
    link/ether f6:66:bb:2f:90:5c brd ff:ff:ff:ff:ff:ff
14: fwbr101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c6:ea:54:5b:e8:52 brd ff:ff:ff:ff:ff:ff
15: fwpr101p0@fwln101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether ba:ea:46:d0:90:70 brd ff:ff:ff:ff:ff:ff
16: fwln101i0@fwpr101p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr101i0 state UP group default qlen 1000
    link/ether d2:53:e7:f3:be:4b brd ff:ff:ff:ff:ff:ff
17: tap103i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
    link/ether b6:18:56:1a:5e:c8 brd ff:ff:ff:ff:ff:ff
18: tap600i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
    link/ether 9e:42:f6:f2:4b:4d brd ff:ff:ff:ff:ff:ff
Post in thread 'Unknown devices (ifconfig)'
https://forum.proxmox.com/threads/unknown-devices-ifconfig.42407/post-203988
 
Well looks like a realtek ethernet controller card at PCI 0000.04.00.0 is there, but not showing up with ip a. I would expect that realtek card to be enp4s0f(0-3) with ip a if a 4 port card. I will amend my earlier guess and state that

1. 4 port Intel i350 card at PCI 0000.01.00.(0-3) and available at enp1s0f(0-3).
2. realtek ethernet card at PCI 0000.04.00.0 not otherwise available in debian/proxmox
3. Intel Ethernet card 82571 at PCI 0000.08.00.(0-1) and available at enp8s0f(0-1). Is this a 2 port card?
4. Intel Ethernet card 82571 at PCI 0000.09.00.(0-1) and available at enp9s0f(0-1). Is this a 2 port card?
yes true!

for this
2. realtek ethernet card at PCI 0000.04.00.0 not otherwise available in debian/proxmox

as soon as i add it as pci card proxmox it freezes and i have to reset.

why?
 
Not sure. Could be several things a bad card, bad PCI slot on MB, the card firmware and/or the MB Bios need updating, the current proxmox kernel does not have working drivers for this card.

you could experiment and try the newer kernel below to see if that gets things working as expected.
https://forum.proxmox.com/threads/opt-in-linux-5-19-kernel-for-proxmox-ve-7-x-available.115090/
thank you very much for your valuable suggestions,
you are always very kind to answer!
In addition to being a great professional.
 

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!