quarta-feira, 4 de novembro de 2009

Dicas Debian (lenny) REDE Ethx


Corrigindo Problema com Placa de rede no Debian 5.0 (lenny).

Suponhamos que exista Eth1, Eth2, Eth3 e Eth4

e o linux insite dizer que aquela placa x é sempre eth3 mais vc quer eth1

então edite esses arquivo de parametros para as placas.

em: /etc/udev/rules.d/70-persistent-net.rules


Ex:

# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x10ec:0x8169 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:1g:07:ab:6t", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0g:7f:90:33:05", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x10b7:0x9055 (3c59x)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:12:5a:2b:02:57", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"


# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:f0:4c:de:0b:22", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

Nenhum comentário: