Bug en debian 7 con interfaz de red, rename
Hola buenas, tenía configurado un bonding con 2 tarjetas de red, eth0
y eth1. He reiniciado varias veces esa máquina y nunca he tenido
problema.
Hará unos 2 meses, actualicé el sistema y hoy que he reiniciado me
encuentro con que eth1 ha sido renombrado a rename3 por udev...BUG?
[ 1.007832] r8169 0000:0a:00.0: eth1: RTL8168e/8111e at
0xffffc90000652000, 90:2b:34:c3:95:90, XID 0c200000 IRQ 47
[ 1.007837] r8169 0000:0a:00.0: eth1: jumbo features [frames: 9200
bytes, tx checksumming: ko]
[ 11.268549] udevd[518]: renamed network interface eth1 to rename3
[ 540.879654] bonding: bond0: Interface eth1 does not exist!
root@server:# lshw -businfo -C network
Bus info Device Class Description
=======================================================
pci@0000:09:00.0 eth0 network RTL8111/8168B PCI Express
Gigabit Ethernet controller
pci@0000:0a:00.0 rename3 network RTL8111/8168B PCI Express
Gigabit Ethernet controller
Parece que sí:
https://bugs.launchpad.net/ubuntu/+source/biosdevname/+bug/1284043
Como comentan, he añadido estas lineas al grub:
net.ifnames=1 biosdevname=0
/etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=1 biosdevname=0"
Y luego un update-grub.
No sé si puede deberse al bonding o un bug en sí de udev...
Las tarjetas están bien configuradas en udev:
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="90:2b:34:c3:95:90", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="a0:f3:c1:00:43:31", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
Tengo que reiniciar más tarde, probaré si con esto se ha resuelto...
Saludos.
Reply to: