udev: renamed network interface

cjvt <[email protected]>
Newsgroups gmane.linux.gentoo.user.hungarian
Message-ID <[email protected]>
udv,

ujabban - vagy lehet nem is annyira, de eleg ritkan inditom ujra a gepemet - 
ezt a szokast vette fel az udev:

eth0: RTL8168b/8111b at 0xffffc2000002e000, 00:16:e6:81:2e:3c, XID 38000000 
IRQ 1276
udev: renamed network interface eth0 to eth2
eth0: RealTek RTL8139 at 0xffffc20000036000, 00:50:bf:50:e8:34, IRQ 20
eth0:  Identified 8139 chip type 'RTL-8139C'
udev: renamed network interface eth0 to eth1
eth1: link up, 10Mbps, half-duplex, lpa 0x0000
eth1: no IPv6 routers present
eth1: link up, 10Mbps, half-duplex, lpa 0x0000
eth1: no IPv6 routers present
eth1: link up, 10Mbps, half-duplex, lpa 0x0000


ebbol a renamed resz az erdekes, vagy inkabb az idegesito, technikailag 
(anelkul, hogy a hw vagy a bios akarmiben is valtozna) az eth eszkozok 
elnevezesei vandorol, ha beallok eth2-re, nehany ujraindulast kovetoen 
mondjuk eth3 vagy ujra eth0 lesz belole, stb.

valojaban 2 kartya van, az egyik az intranet fele/felol route-ol, a masik az 
internet fele nez, idealis esetben igy:

/etc/conf.d/net

mac_eth0="00:24:BA:D1:E2:01"
dhcp_eth0="release"

config_eth1=("172.16.1.1 netmask 255.255.255.0 brd 172.16.1.255")
dhcp_eth1="release nodns"


A mac addr a net fele nezo eseteben - lenne - fontos, erre a mac-ra kap IP-t, 
ezert kell atirni a mac cimet a kartyanak.

mivel a megosztast az iptables csinalja, a kartya nevek csereje azt is 
szetrombolja, es persze magat a kijutast is.

Hogy lehetne megakadalyozni, hogy az udev rename-ljen?

vt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.