reconfigure network

OzMoosis

New Member
Jun 29, 2013
4
0
1
Hi,

I've had to change the motherboard on my Proxmox 2 server. Networking no longer works: the NIC on the board has been defined as eth1, while the interface settings still refer to eth0. eth0 doesn't exist anymore... How do I reconfigure the server to use eth1?

Interfaces looks like this:

auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.2.10
netmask 255.255.255.0
gateway 192.168.2.254
bridge_ports eth0
bridge_stp off
bridge_fd 0

The NIC is a Realtek PHY RTL8201EL, same as on the previous board. I haven't done anything to configure eth1, I'm not very familiar with command line configuring of devices. I like eth1 to have IP 192.168.2.100.

Help would be appreciated,

Marcel
 
You have 2 ways to solve the problem
a) log with ssh into proxmox, and delete the file /etc/udev/rules.d/70-persistent-net.rules then reboot proxmox. The nic wil become eth0 again
b) change interfaces file replacing eth0 with eth1, reboot, so networking will work again but using eth1

Of course a) solution is far better :)
regards