Ethernet interface number changed, and old one does not exist, but does not leave IP address
- by Sagar
I have a virtual machine with Mandriva 2007.0 (yes, old - unfortunately we do not have a choice here). Anyway, the problem:
Before reboot: active network interface = eth0. No other interfaces present, and network manager confirms this. Static IP address set to 172.31.2.22. No issues, everything working properly, routing et al.
-------Reboot---------
After reboot: active network interface = eth1, with a DHCP address. Network manager shows eth0 as disconnected, and not connectable. When I try to set eth1 up with the static IP address (same one), it says "In Use". I then tried ifconfig eth0 172.31.2.29 just to free it up from the eth0 interface so I could use it with eth1 (since this is connected).
Result:
ifconfig eth0 172.31.2.29
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
Nothing else changed. Any ideas what could be happening, or at least how I can get my IP address back?